Re: [Orgmode] Useful utility function: org-sort-multi

2009-08-30 Thread Carsten Dominik
On Aug 29, 2009, at 3:38 AM, Ryan C. Thompson wrote: I found myself having to sort by multiple criteria, and I was doing it with multiple calls to org-sort-entries-or-items. Then I decided to abstract the repetition into a function. Here it is: (defun org-sort-multi (&rest sort-types) "So

Re: [Orgmode] [PATCH] Open single link immediately

2009-08-30 Thread Carsten Dominik
This will be in the next push, when our repository is online again. Thanks! - Carsten On Aug 28, 2009, at 7:23 PM, Bernt Hansen wrote: C-c C-o on a headline or in the agenda displays a menu of links to choose from. If there is only a single link then go there directly skipping the menu. ---

[Orgmode] Re: Useful utility function: org-sort-multi

2009-08-30 Thread Benjamin Andresen
Hey Carsten, Carsten Dominik writes: > On Aug 29, 2009, at 3:38 AM, Ryan C. Thompson wrote: > > Hi Ryan, > > this looks interesting, but I am not sure I understand how it works. > It looks to me that each sorting step will completely re-sort the entire > list of items, so the final sorting will

[Orgmode] Format for a note

2009-08-30 Thread Nick Bell
I have just started to use 'z' to add a note from agenda. I'd like to change the format of the added note to [the_date] the_note (i.e. remove the \\newline after the date which currently appears. I've looked everywhere but can't find out how to do this. Is it possible? Many thanks Nick

[Orgmode] Re: Format for a note

2009-08-30 Thread Matt Lundin
Nick Bell writes: > I have just started to use 'z' to add a note from agenda. I'd like to > change the format of the added note to [the_date] the_note (i.e. > remove the \\newline after the date which currently appears. > > I've looked everywhere but can't find out how to do this. Is it > possibl

Re: [Orgmode] [PATCH] Open single link immediately

2009-08-30 Thread Tim O'Callaghan
FWIW it should be back up on monday. http://article.gmane.org/gmane.comp.version-control.git/85019 Tim. 2009/8/30 Carsten Dominik : > This will be in the next push, when our repository is online again. > > Thanks! > > - Carsten > > On Aug 28, 2009, at 7:23 PM, Bernt Hansen wrote: > >> C-c C-o on

[Orgmode] export (as latex) a large number of org files in a directory

2009-08-30 Thread Stephen Tucker
Hi, I am trying to export a bunch of .org files stored in a directory as latex files. I have tried two methods: (1) --- At the bash prompt (I am using OS X): bash$ emacs --batch --load=/Applications/Emacs.ap

Re: [Orgmode] export (as latex) a large number of org files in a directory

2009-08-30 Thread Nick Dokos
Stephen Tucker wrote: > Hi, I am trying to export a bunch of .org files stored in a directory as > latex files. I have tried two methods: > > (1) > --- > At the bash prompt (I am using OS X): > > bash$ ema

[Orgmode] org-agenda-custom-commands - what's wrong with my setup

2009-08-30 Thread aldrin d'souza
hello org-mode users, for some reason, my agenda export isn't working as it used to in the past. (setq org-agenda-custom-commands '(("x" agenda "export to html" nil ("~/agenda.html" with this in my org configuration, i get 'x' as an accepted keystroke in the agenda command selection buffer.

[Orgmode] Re: org-agenda-custom-commands - what's wrong with my setup

2009-08-30 Thread Matt Lundin
"aldrin d'souza" writes: > hello org-mode users, > > for some reason, my agenda export isn't working as it used to in the > past. > > (setq org-agenda-custom-commands  '(("x" agenda "export to html" nil > ("~/agenda.html" If you want the agenda to show up when you select "x", then you need t

[Orgmode] Setting timestamp format to English

2009-08-30 Thread bar tomas
Hi, First of all I'd like to say that I find orgmode great. I'd been looking for a tool like this for years. I have a french version of windows so when I set a timestamp on an item with C-c >, I get the timestamp in french. I'd like to get it in english. I've tried setting the language environment

[Orgmode] Can't export to LaTeX/PDF.

2009-08-30 Thread Mueen Nawaz
Hi, Apologies if this has been addressed earlier. I can't seem to export to PDF/LaTeX. When I try to do so, I get the following error: Loading org-latex...done Exporting to LaTeX... Loading latexenc...done Loading tex-mode...done org-export-as-latex: Wrong type argument: inte

[Orgmode] Re: Can't export to LaTeX/PDF.

2009-08-30 Thread Bernt Hansen
Mueen Nawaz writes: > Hi, > > Apologies if this has been addressed earlier. > > I can't seem to export to PDF/LaTeX. When I try to do so, I > get the following error: > > org-export-as-latex: Wrong type argument: integer-or-marker-p, nil I can confirm this. It seems the latest

[Orgmode] Re: Can't export to LaTeX/PDF.

2009-08-30 Thread Mueen Nawaz
On 08/30/09 15:33, Bernt Hansen wrote: I can confirm this. It seems the latest version requires at least one headline while 6.29a did not. Yep - that solved it. Would that be a bug or a requirement? Mueen ___ Emacs-orgmode mailin

[Orgmode] Re: Useful utility function: org-sort-multi

2009-08-30 Thread Ryan C. Thompson
Benjamin Andresen wrote: if you have the following list * Test Sorting ** TODO Charlie ** WAITING Beta ** TODO Alpha ** STARTED Beta ** STARTED Charlie ** TODO Beta ** STARTED Alpha ** WAITING Charlie ** WAITING Alpha calling org-multi-sort with ?o ?a will sort it like this * Test Sorting **

Re: [Orgmode] export (as latex) a large number of org files in a directory

2009-08-30 Thread Stephen Tucker
Hi Nick, thanks for the response! Actually in the code that I had pasted, the emacs --batch call is all on one line (so no need to escape newlines there). I tried your code with both orglib=/Applications/Emacs.app/Contents/Resources/lisp/org and orglib=$HOME/elisp/org-mode/lisp but got Cannot op

Re: [Orgmode] export (as latex) a large number of org files in a directory

2009-08-30 Thread Nick Dokos
Stephen Tucker wrote: > Hi Nick, > thanks for the response! Actually in the code that I had pasted, the > emacs --batch call is all on one line (so no need to escape newlines > there). I tried your code with both > orglib=/Applications/Emacs.app/Contents/Resources/lisp/org > and > orglib=$HOME

Re: [Orgmode] export (as latex) a large number of org files in a directory

2009-08-30 Thread Nick Dokos
Nick Dokos wrote: > Stephen Tucker wrote: > > > Hi Nick, > > > thanks for the response! Actually in the code that I had pasted, the > > emacs --batch call is all on one line (so no need to escape newlines > > there). I tried your code with both > > > orglib=/Applications/Emacs.app/Contents/R

Re: [Orgmode] Re: Can't export to LaTeX/PDF.

2009-08-30 Thread Bastien
Mueen Nawaz writes: > On 08/30/09 15:33, Bernt Hansen wrote: >> I can confirm this. It seems the latest version requires at least one >> headline while 6.29a did not. > > Yep - that solved it. > > Would that be a bug or a requirement? Definitely a bug. I've just pushed a fix for th

Re: [Orgmode] export (as latex) a large number of org files in a directory

2009-08-30 Thread Stephen Tucker
Thanks yet again! That makes sense... works now!! > I tried your code with both > > > orglib=/Applications/Emacs.app/Contents/Resources/lisp/org > > and > > orglib=$HOME/elisp/org-mode/lisp > > You need the former - the latter is where I keep my org.el[c] (sorry, forgot to mention that I crea

Re: [Orgmode] Can effort be edited conveniently outside column view?

2009-08-30 Thread Carsten Dominik
On Aug 29, 2009, at 3:24 AM, Michael Gilbert wrote: Hi -- Still working on developing my use of effort estimates. Is there a way to conveniently enter an effort estimate without entering column mode? I have gotten used to the easy ways to add deadlines and priorities in outline view and

Re: [Orgmode] latex wrap

2009-08-30 Thread Carsten Dominik
I guess Samuel is right, filladapt really is the solution here.. - Carsten On Aug 28, 2009, at 6:29 PM, Samuel Wales wrote: Hi Patrick, I use filladapt. I just tried your example and it works. It also works if you indent the comment lines to the same depth as the text. See the thread, "Com

Re: [Orgmode] Re: Useful utility function: org-sort-multi

2009-08-30 Thread Carsten Dominik
Hi Ryan, hi Benjamin Yes, I think I was mistaken, I firth though this would not work correctly with more that 2 criteria, but I think now that it does in fact work. While I think about the if and how to add this, you might just want to go ahead and add it to the org-hacks.org file on Worg...

Re: [Orgmode] Re: agenda cycling

2009-08-30 Thread Carsten Dominik
Hi Samuel, I have now made his command more consistent with normal cycling. However, I have also made it in such a way that you can bind this to the SPACE key and keep the normal function of the space key. I.e. when called for the first time, it will show the entry in the standard way, as config

Re: [Orgmode] Re: Can't export to LaTeX/PDF.

2009-08-30 Thread Carsten Dominik
Thank you! - Carsten On Aug 30, 2009, at 1:16 PM, Bastien wrote: Mueen Nawaz writes: On 08/30/09 15:33, Bernt Hansen wrote: I can confirm this. It seems the latest version requires at least one headline while 6.29a did not. Yep - that solved it. Would that be a bug or