Re: [O] orgtbl-mode and markdown

2012-12-20 Thread Carsten Dominik
On 18.12.2012, at 18:56, Achim Gratz wrote: > Carsten Dominik writes: >> Well this is very safe - but if you have to assume that every elisp >> command does change match data behind your back, you would have to >> create a lot of extra code. > > Stefan Monnier advises the opposite (quote from >

[O] Adding tags when capturing?

2012-12-20 Thread Alan Schmitt
Hello, Is there a shortcut to add tags when doing a capture? C-c C-c obviously does not work. If one could specify a list of tags from which to complete, it would be great as well. Thanks a lot, Alan

Re: [O] export_file_name problem with new exporter

2012-12-20 Thread Achim Gratz
Alan Schmitt writes: > I'll commit as soon as I can find the magic git incantations to get rid > of the "merge" commits that happened as I was pulling changes from the > repository. Just cherry-pick your changes on top of the new master or use the rewrite facility in magit. If you want to avoid t

Re: [O] export_file_name problem with new exporter

2012-12-20 Thread Bastien
Hi Alan, Achim Gratz writes: > Alan Schmitt writes: >> I'll commit as soon as I can find the magic git incantations to get rid >> of the "merge" commits that happened as I was pulling changes from the >> repository. > > Just cherry-pick your changes on top of the new master or use the > rewrite

Re: [O] Adding tags when capturing?

2012-12-20 Thread Bastien
Hi Alan, Alan Schmitt writes: > Is there a shortcut to add tags when doing a capture? C-c C-c obviously > does not work. C-c C-q HTH, -- Bastien

Re: [O] Adding tags when capturing?

2012-12-20 Thread Alan Schmitt
Bastien writes: > Hi Alan, > > Alan Schmitt writes: > >> Is there a shortcut to add tags when doing a capture? C-c C-c obviously >> does not work. > > C-c C-q Thanks a lot! Is there a way to set-up the capture buffer so that tags may be completed according to the ones present in another file?

Re: [O] [PATCH] Fix uncaught error when trying to open a link at point

2012-12-20 Thread Bastien
Hi Samuel and Nicolas, I allowed myself to fix this, with a somewhat smaller patch: http://orgmode.org/cgit.cgi/org-mode.git/commit/?h=maint&id=14ffe2 Thanks Samuel for the patch and for reporting this problem! -- Bastien

Re: [O] Adding tags when capturing?

2012-12-20 Thread Carsten Dominik
On 20.12.2012, at 09:30, Alan Schmitt wrote: > Bastien writes: > >> Hi Alan, >> >> Alan Schmitt writes: >> >>> Is there a shortcut to add tags when doing a capture? C-c C-c obviously >>> does not work. >> >> C-c C-q > > Thanks a lot! > > Is there a way to set-up the capture buffer so that

Re: [O] export_file_name problem with new exporter

2012-12-20 Thread Alan Schmitt
Achim Gratz writes: > Alan Schmitt writes: >> I'll commit as soon as I can find the magic git incantations to get rid >> of the "merge" commits that happened as I was pulling changes from the >> repository. > > Just cherry-pick your changes on top of the new master or use the > rewrite facility in

Re: [O] Adding tags when capturing?

2012-12-20 Thread Alan Schmitt
Carsten Dominik writes: > On 20.12.2012, at 09:30, Alan Schmitt wrote: >> Is there a way to set-up the capture buffer so that tags may be >> completed according to the ones present in another file? > > You will be able to complete based on what is present in the target > file, is that not good en

Re: [O] Compilation warnings and a test failure

2012-12-20 Thread Achim Gratz
Bastien writes: >> | In org-get-location: >> | org.el:6989:10:Warning: `special-display-function' is an obsolete variable >> (as >> | of 24.3); use `display-buffer-alist' instead. >> | org.el:6988:10:Warning: `special-display-regexps' is an obsolete variable >> (as >> | of 24.3); use `dis

Re: [O] Bibtex export

2012-12-20 Thread mohamed
Myles, Thank you for this answer. I tried it with --- (add-to-list 'org-export-preprocess-hook 'my-export-delete-headlines-tagged-noheading) --- But I got some errors when exporting ---

[O] Interesting folding bug

2012-12-20 Thread Alan Schmitt
I'm documenting a crontab file, and I have an interesting folding bug. Here is what is in my file: *** crontab -l #+BEGIN_SRC crontab * * * * * do something 0 16 * * * do something else 0 10 * * * do another thing #+END_SRC The problem is that the initial '*' in the crontab confuses org mode. Is

Re: [O] Adding tags when capturing?

2012-12-20 Thread Bastien
Hi Alan, Alan Schmitt writes: > So is there a way to tell capture to search for the tags in todo.org > instead of refile.org (which does not contain any)? If refile.org does not contain any tags, the simple fix is to add the tags in todo.org to refile.org. Or am I missing something? -- Bast

[O] [PATCH] Use (point-marker) instead of (move-marker (make-marker) (point))

2012-12-20 Thread Dmitry Antipov
Since (point-marker) is shorter and a bit faster than (move-marker (make-marker) (point)), why not use it? Dmitry commit 1988bf0f4a5e486030e6c03b6ec172ede609d491 Author: Dmitry Antipov Date: Thu Dec 20 08:46:41 2012 +0400 Use (point-marker) instead of (move-marker (make-marker) (point))

Re: [O] Compilation warnings and a test failure

2012-12-20 Thread Bastien
Achim Gratz writes: > Something like this maybe? Yes, exactly. Thanks for this patch. Can you just rename `org-suppress-popups' to `org-no-popups' and add a docstring to the macro? Then feel free to commit and push. -- Bastien

Re: [O] [PATCH] Use (point-marker) instead of (move-marker (make-marker) (point))

2012-12-20 Thread Bastien
Dmitry Antipov writes: > Since (point-marker) is shorter and a bit faster than > (move-marker (make-marker) (point)), why not use it? Indeed. I cannot apply the patch, git am returns "patch format detection faild." Can you resubmit it using git format-patch? Thanks! -- Bastien

Re: [O] Adding tags when capturing?

2012-12-20 Thread Alan Schmitt
Bastien writes: > Hi Alan, > > Alan Schmitt writes: > >> So is there a way to tell capture to search for the tags in todo.org >> instead of refile.org (which does not contain any)? > > If refile.org does not contain any tags, the simple fix is to add the > tags in todo.org to refile.org. Or am I

Re: [O] Interesting folding bug

2012-12-20 Thread Alan Schmitt
Bastien writes: > Hi Alan, > > Alan Schmitt writes: > >> The problem is that the initial '*' in the crontab confuses org mode. Is >> there a way around it, or is it a bug? > > You need to TAB once in such block so that the ambiguous characters like > "* " are comma-escaped. I see. Tabing folds t

Re: [O] export of #+INCLUDE appears broken with :exports results

2012-12-20 Thread Bastien
Nicolas Goaziou writes: > I cannot reproduce this with the new exporter. Me neither.. I must have been using the wrong exporter. Thanks for double-checking, and glad there is no bug here for the new exporter! -- Bastien

Re: [O] Interesting folding bug

2012-12-20 Thread Bastien
Hi Alan, Alan Schmitt writes: > The problem is that the initial '*' in the crontab confuses org mode. Is > there a way around it, or is it a bug? You need to TAB once in such block so that the ambiguous characters like "* " are comma-escaped. -- Bastien

Re: [O] Adding tags when capturing?

2012-12-20 Thread Richard Riley
Alan Schmitt writes: > Carsten Dominik writes: > >> On 20.12.2012, at 09:30, Alan Schmitt wrote: >>> Is there a way to set-up the capture buffer so that tags may be >>> completed according to the ones present in another file? >> >> You will be able to complete based on what is present in the tar

Re: [O] [PATCH] Use (point-marker) instead of (move-marker (make-marker) (point))

2012-12-20 Thread Achim Gratz
Bastien writes: > Indeed. I cannot apply the patch, git am returns "patch format > detection faild." Can you resubmit it using git format-patch? You want to use 'git apply' on that patch, 'git am' is for applying patches produced by 'git format-patch' only. In a pinch however, you can relativel

Re: [O] [PATCH] Use (point-marker) instead of (move-marker (make-marker) (point))

2012-12-20 Thread Bastien
Achim Gratz writes: > Bastien writes: >> Indeed. I cannot apply the patch, git am returns "patch format >> detection faild." Can you resubmit it using git format-patch? > > You want to use 'git apply' on that patch, 'git am' is for applying > patches produced by 'git format-patch' only. Well

Re: [O] [PATCH] Use (point-marker) instead of (move-marker (make-marker) (point))

2012-12-20 Thread Achim Gratz
Bastien writes: > Well, I'm trying to encourage people to submit patches that I can apply > easily with git am without having to edit the patch or to use git commit > --author=""... to credit the patch correctly. I wasn't trying to distract from that, just remind that you can at least test the pat

Re: [O] [PATCH] Use (point-marker) instead of (move-marker (make-marker) (point))

2012-12-20 Thread Dmitry Antipov
On 12/20/2012 02:57 PM, Bastien wrote: Indeed. I cannot apply the patch, git am returns "patch format detection faild." Can you resubmit it using git format-patch? OK. Dmitry From 1988bf0f4a5e486030e6c03b6ec172ede609d491 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Thu, 20 Dec 2012

Re: [O] [PATCH] Use (point-marker) instead of (move-marker (make-marker) (point))

2012-12-20 Thread Bastien
Dmitry Antipov writes: > OK. Applied, thanks! -- Bastien

Re: [O] [PATCH] Use (point-marker) instead of (move-marker (make-marker) (point))

2012-12-20 Thread Bastien
Achim Gratz writes: > Bastien writes: >> Well, I'm trying to encourage people to submit patches that I can apply >> easily with git am without having to edit the patch or to use git commit >> --author=""... to credit the patch correctly. > > I wasn't trying to distract from that, just remind that

Re: [O] Bibtex export

2012-12-20 Thread Myles English
mohamed writes: > Myles, > Thank you for this answer. > I tried it with > --- > (add-to-list 'org-export-preprocess-hook > 'my-export-delete-headlines-tagged-noheading) > --- Sorry, I should have said: add it to org-export-before-processi

Re: [O] org bingo

2012-12-20 Thread Myles English
Tony Day writes: > I have exactly 386 TODO entries and may as well introduce some > randomness to get to them. > > org-random-entry: select and goto a random todo entry. Prefix allows you > to select which todo keyword. > > https://gist.github.com/4343164 Thanks, I'm using this already. One les

Re: [O] org bingo

2012-12-20 Thread Bastien
Hi Tony, Tony Day writes: > I have exactly 386 TODO entries and may as well introduce some > randomness to get to them. > > org-random-entry: select and goto a random todo entry. Prefix allows you > to select which todo keyword. I added an entry in org-hacks.org: http://orgmode.org/worg/org-hac

Re: [O] Bibtex export

2012-12-20 Thread Mohamed HIBTI
Thanks Myles, This is realy what I want. I have just to fix something (may be my org-version). The variable org-export-before-processing-hook seems missing. I have org-version 7.8.10 (with emacs 24.2.1) Regards, Mohame 2012/12/20 Myles English > > mohamed writes: > > > Myles, > > Thank you for t

[O] 27bcf9a70b Backport revno 111277 from Emacs trunk.

2012-12-20 Thread Achim Gratz
This commit breaks essentially all Babel tests, like this: Test ob-C/simple-program condition: (file-already-exists "File already exists" "/tmp/tmp-orgtest/scor-22752K82") FAILED4/378 ob-C/simple-program Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Bl

Re: [O] Adding tags when capturing?

2012-12-20 Thread Brian van den Broek
On 20 Dec 2012 06:56, "Richard Riley" wrote: > What would be nice would for org-tag-alist to allow org files to be > included so all tags in those were enabled too. Oh, yes please! Brian vdB

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Michael Albinus
Michael Albinus writes: Hi, > Looks, like nobody did take the ball :-( > > Maybe I'll check it again over XMas days, and maybe I can propose a > concrete patch then. The following patch I've committed to Emacs' trunk, it fixes the problem as far as I could test. Maybe somebody from the org main

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Bastien
Hi Michael, Michael Albinus writes: > The following patch I've committed to Emacs' trunk, it fixes the problem > as far as I could test. Maybe somebody from the org maintainers could > merge it into the org repository. I've already merged it in maint and master. Thanks a lot! -- Bastien

Re: [O] Bibtex export

2012-12-20 Thread Bastien
Hi Mohamed, Mohamed HIBTI writes: > The variable org-export-before-processing-hook seems missing. > I have org-version 7.8.10 (with emacs 24.2.1) This variable is available in the contrib/ directory of latest "unstable" Org -- from the git master branch. -- Bastien

Re: [O] Bibtex export

2012-12-20 Thread Myles English
Mohamed HIBTI writes: > Thanks Myles, > This is realy what I want. I have just to fix something (may be my > org-version). > The variable org-export-before-processing-hook seems missing. > I have org-version 7.8.10 (with emacs 24.2.1) > Regards, > Mohame Sorry again, I should have said that I am

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Achim Gratz
Bastien writes: > Michael Albinus writes: > >> The following patch I've committed to Emacs' trunk, it fixes the problem >> as far as I could test. Maybe somebody from the org maintainers could >> merge it into the org repository. > > I've already merged it in maint and master. Unfortunately it br

Re: [O] Adding tags when capturing?

2012-12-20 Thread John Hendy
On Thu, Dec 20, 2012 at 2:11 AM, Alan Schmitt < alan.schm...@polytechnique.org> wrote: > Hello, > > Is there a shortcut to add tags when doing a capture? C-c C-c obviously > does not work. > > If one could specify a list of tags from which to complete, it would be > great as well. > > Are you usin

Re: [O] Bibtex export

2012-12-20 Thread Mohamed HIBTI
I got it thank you guys !! 2012/12/20 Myles English > > Mohamed HIBTI writes: > > > Thanks Myles, > > This is realy what I want. I have just to fix something (may be my > > org-version). > > The variable org-export-before-processing-hook seems missing. > > I have org-version 7.8.10 (with emacs

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Nick Dokos
Achim Gratz wrote: > Bastien writes: > > Michael Albinus writes: > > > >> The following patch I've committed to Emacs' trunk, it fixes the problem > >> as far as I could test. Maybe somebody from the org maintainers could > >> merge it into the org repository. > > > > I've already merged it in m

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Bastien
Achim Gratz writes: > Unfortunately it breaks testing, at least in batch mode. See my other > posting about it. Not sure what other posting I should read -- sorry, I can't read and process on the threads at once. If you know how to fix the tests, please go ahead. Thanks! -- Bastien

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Bastien
Nick Dokos writes: > Isn't ``make test'' standard procedure before a commit? If not, it should be. > Otherwise, why have a test suite? "Errare humanum est... " Yes, I should have tested. But note that this is already committed in Emacs trunk. My assumption by looking at the code was that if te

Re: [O] org-store-link and org-link-to-org-use-id issue

2012-12-20 Thread John Hendy
On Sat, Dec 15, 2012 at 2:21 AM, Bastien wrote: > Hi John, > > John Hendy writes: > > > (setq org-link-to-org-use-id "create-if-interactive") > > This should be > > (setq org-link-to-org-use-id 'create-if-interactive) > > Grrr. I bet I know what happened -- I used =M-x customize-variable= to

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Michael Albinus
Achim Gratz writes: >>> The following patch I've committed to Emacs' trunk, it fixes the problem >>> as far as I could test. Maybe somebody from the org maintainers could >>> merge it into the org repository. >> >> I've already merged it in maint and master. > > Unfortunately it breaks testing, a

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Bastien
Hi Michael, thanks for offering your help! The first step is to clone the repository: ~$ git clone git://orgmode.org/org-mode.git You are in the master branch, the one we use for latest developments. The other branch is "maint", the one we use for bug fixing. The next version of Org, 7.9.3 wil

Re: [O] [bug] Parts of code blocks are highlighted as Org comments

2012-12-20 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: > If you have such a Sh code block in any Org document, you'll see that the 4th > line will be highlighted as an Org comment from the "# != 2"... This is now fixed, thanks. -- Bastien

Re: [O] Bug in publishing to LaTeX

2012-12-20 Thread Bastien
Hi all, Giovanni Ridolfi writes: > thanks for catching, however > > org-export-as-latex is an interactive autoloaded Lisp function in > `org-latex.el'. > > This export engine will be dropped and replaced by the new exporter, > so I don't think it will be fixed. I fixed this -- we still don't kn

Re: [O] Bug in publishing to LaTeX

2012-12-20 Thread Bastien
Achim Gratz writes: > Still, reverting 7a9d3457073 should solve that problem. The alternative > would be to remove that argument in all other org-export-as- > functions. PS: that's what I did, except for the DocBook exporter, which I will certainly move to contrib/ for 8.0 anyway. -- Bastien

[O] Checklist navigation

2012-12-20 Thread Dave Abrahams
I have a checklist in an org item that I fill out every day. It would be wonderful to have a simple keybinding (maybe even TAB) to jump to the next checkbox. Does such a function already exist somewhere? -- Dave Abrahams BoostPro Computing Software DevelopmentTraining

Re: [O] Checklist navigation

2012-12-20 Thread Bastien
Hi Dave, Dave Abrahams writes: > I have a checklist in an org item that I fill out every day. It would > be wonderful to have a simple keybinding (maybe even TAB) to jump to the > next checkbox. Does such a function already exist somewhere? There is `org-next-item' which comes close. You can

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread Achim Gratz
Bastien writes: >> Unfortunately it breaks testing, at least in batch mode. See my other >> posting about it. > > Not sure what other posting I should read -- sorry, I can't read and > process on the threads at once. The other posting is "27bcf9a70b Backport revno 111277 from Emacs trunk." > If

Re: [O] org bingo

2012-12-20 Thread Tony Day
> > I added an entry in org-hacks.org: > http://orgmode.org/worg/org-hacks.html#sec-1-1-1 I never knew about the org-hacks section. *adds a TODO*

Re: [O] Adding tags when capturing?

2012-12-20 Thread Alan Schmitt
John Hendy writes: > On Thu, Dec 20, 2012 at 2:11 AM, Alan Schmitt < > alan.schm...@polytechnique.org> wrote: > >> Hello, >> >> Is there a shortcut to add tags when doing a capture? C-c C-c obviously >> does not work. >> >> If one could specify a list of tags from which to complete, it would be >>

Re: [O] 27bcf9a70b Backport revno 111277 from Emacs trunk.

2012-12-20 Thread Nick Dokos
Achim Gratz wrote: > This commit breaks essentially all Babel tests, like this: > > Test ob-C/simple-program condition: > (file-already-exists "File already exists" > "/tmp/tmp-orgtest/scor-22752K82") >FAILED4/378 ob-C/simple-program > > We basically have the inverse of Loris Be

Re: [O] remote execution in heterogeneous environment

2012-12-20 Thread George Jones
Hi. Patch seems to work. Tested on fresh emacs-snapshot (24.3.50.1) install on ubuntu with org-mode freshly pulled from git (7.9.2). #+NAME: hobbits | bilbo | frodo | #+name: execOnExample.com #+BEGIN_SRC sh :var foo=hobbits :dir /g...@example.com: :results output hostname echo executed on `h