[Orgmode] Args out of range when creating TODOs

2007-10-25 Thread Tassilo Horn
Hi, I didn't follow the org development for the last few weeks, so maybe this is no bug but a misconfiguration by me. Anyway, I've set org-use-fast-todo-selection t org-todo-keywords '((sequence TODO(t) STARTED(s) WAITING(w) | DONE(d) DEFERRED(f) CANCELLED(c)))

Re: [Orgmode] Args out of range when creating TODOs

2007-10-25 Thread Bastien
Hi Tassilo, Tassilo Horn [EMAIL PROTECTED] writes: I didn't follow the org development for the last few weeks, so maybe this is no bug but a misconfiguration by me. What version of Org are you using? I cannot reproduce your problem here with latest Org 5.13e. When I want to create a new

[Orgmode] Re: Args out of range when creating TODOs

2007-10-25 Thread Tassilo Horn
Carsten Dominik [EMAIL PROTECTED] writes: Hi Carsten, I cannot reproduce this. Hm, I use a Emacs checkout from this morning which comes with org 5.13e, but I noticed that behavior earlier. I can reproduce the problem like this: 1. emacs -Q 2. Switch to *scratch* and eval (setq

[Orgmode] Re: Args out of range when creating TODOs

2007-10-25 Thread Tassilo Horn
Bastien [EMAIL PROTECTED] writes: Hi Bastien, I didn't follow the org development for the last few weeks, so maybe this is no bug but a misconfiguration by me. What version of Org are you using? I cannot reproduce your problem here with latest Org 5.13e. Same here. When I want to create

Re: [Orgmode] Re: Args out of range when creating TODOs

2007-10-25 Thread Bastien
Tassilo Horn [EMAIL PROTECTED] writes: Yes. I even get it with emacs -Q and only the two settings (setq org-use-fast-todo-selection t org-todo-keywords '((sequence TODO(t) STARTED(s) WAITING(w) | DONE(d) DEFERRED(f) CANCELLED(c Mhh...

[Orgmode] Electric insert of headline stars

2007-10-25 Thread Piotr Zielinski
Hi, Here's a small piece of elisp code that might be useful to some of you. Pressing '*' now inserts '*' as before, but if there are only spaces between the beginning of the current line and the point, then all of them are converted to stars. Useful for inserting new headlines. Longer

Re: [Orgmode] Electric insert of headline stars

2007-10-25 Thread Bastien
Hi Piotr, Piotr Zielinski [EMAIL PROTECTED] writes: (defun local-org-insert-stars () (interactive) (when (looking-back ^ * (point-at-bol)) ^ ^ This should be +, otherwise you get a message saying Replaced 0 occurrence when you insert

Re: [Orgmode] Re: Args out of range when creating TODOs

2007-10-25 Thread Carsten Dominik
There is a lot of code happening between the moment of the match, and the replacement. So far none of this code seems to have had the effect of changing the match data, I have been careful to avoid this. However, in your case it seems that some internal code does change it. I believe the

Re: [Orgmode] Electric insert of headline stars

2007-10-25 Thread Carsten Dominik
On Oct 25, 2007, at 12:15 PM, Piotr Zielinski wrote: Hi, Here's a small piece of elisp code that might be useful to some of you. Pressing '*' now inserts '*' as before, but if there are only spaces between the beginning of the current line and the point, then all of them are converted to

Re: [Orgmode] Org-mode version 5.13

2007-10-25 Thread Dmitri Minaev
On 10/24/07, Carsten Dominik [EMAIL PROTECTED] wrote: So, does everybody agree that I should remove the class from the divs again? Wouldn't classes make formatting more flexible? If I understand correctly, Mike Newman's proposal will require all formatting to be hardcoded into org.el? I'd

[Orgmode] Re: Args out of range when creating TODOs

2007-10-25 Thread Tassilo Horn
Carsten Dominik [EMAIL PROTECTED] writes: Hi Carsten, There is a lot of code happening between the moment of the match, and the replacement. So far none of this code seems to have had the effect of changing the match data, I have been careful to avoid this. However, in your case it seems

[Orgmode] Re: Electric insert of headline stars

2007-10-25 Thread Seweryn Kokot
Piotr Zielinski [EMAIL PROTECTED] writes: which of course doesn't normally work, hence this elisp code. (defun local-org-insert-stars () (interactive) (when (looking-back ^ * (point-at-bol)) (replace-string * nil (point-at-bol) (point))) (insert *)) (define-key org-mode-map *

[Orgmode] Re: Org-mode version 5.13

2007-10-25 Thread Nuutti Kotivuori
Carsten Dominik wrote: So, does everybody agree that I should remove the class from the divs again? Not at all. I think there should definitely be classes on the divs signifying the level. Also, toc should have a class - possibly only in addition an id, that tells that this is the main front

Re: [Orgmode] Re: Electric insert of headline stars

2007-10-25 Thread Carsten Dominik
On Oct 25, 2007, at 1:53 PM, Seweryn Kokot wrote: Piotr Zielinski [EMAIL PROTECTED] writes: which of course doesn't normally work, hence this elisp code. (defun local-org-insert-stars () (interactive) (when (looking-back ^ * (point-at-bol)) (replace-string * nil (point-at-bol)

Re: [Orgmode] Re: Electric insert of headline stars

2007-10-25 Thread Bastien
Piotr Zielinski [EMAIL PROTECTED] writes: This is what I came up with after following the suggestion from the manual, but it looks complicated to me, so I don't really like it: (defun local-org-insert-stars () (interactive) (when (looking-back ^ + (point-at-bol)) (save-excursion

Re: [Orgmode] Re: Electric insert of headline stars

2007-10-25 Thread Carsten Dominik
On Oct 25, 2007, at 2:11 PM, Piotr Zielinski wrote: On 25/10/2007, Seweryn Kokot [EMAIL PROTECTED] wrote: A minor inconvenience is a warning when compiling the code First, here's the version after Bastien's and Carsten's comments: (defun local-org-insert-stars () (interactive) (when

[Orgmode] Re: Electric insert of headline stars

2007-10-25 Thread Seweryn Kokot
Piotr Zielinski [EMAIL PROTECTED] writes: On 25/10/2007, Seweryn Kokot [EMAIL PROTECTED] wrote: A minor inconvenience is a warning when compiling the code First, here's the version after Bastien's and Carsten's comments: (defun local-org-insert-stars () (interactive) (when

[Orgmode] Re: PocketMod for org-mode

2007-10-25 Thread Christian Egli
Hi Carsten Carsten Dominik carsten.dominik at gmail.com writes: Hi Christian, do you have a link to the updated version of your Makefile? Cannot find one in the tread... I haven't sent out a updated version. I have some updates sitting on my hard drive at home. On top of that I'd like

[Orgmode] Bug in org-remember-templates handling

2007-10-25 Thread Rainer Stengele
It looks like it is not possible to use a destination headline with blanks between words in org-remember-templates. Example below: This one will fail to find the headline Eingang - TODOS. It will instead find Eingang which is an earlier headline. '(org-remember-templates '(

Re: [Orgmode] Bug in org-remember-templates handling

2007-10-25 Thread Carsten Dominik
This works just fine for me. Are you sure you have the exact same kind of space? same number of space characters, check for tabulators etc? - Carsten On Oct 25, 2007, at 2:59 PM, Rainer Stengele wrote: It looks like it is not possible to use a destination headline with blanks between

[Orgmode] Re: PocketMod for org-mode

2007-10-25 Thread Christian Egli
Christian Egli [EMAIL PROTECTED] writes: I haven't sent out a updated version. I have some updates sitting on my hard drive at home. On top of that I'd like to get some nice LaTeX export of the agenda included in the printout. I sent a proposal for the LaTeX to Bastien and hope that he'll

Re: [Orgmode] Re: PocketMod for org-mode

2007-10-25 Thread Bastien
Christian Egli [EMAIL PROTECTED] writes: Attached is an updated version of org2pocketMod. As before you need to have the pdfjam tools installed. Also you might want to add (setq cal-tex-diary t) to your .emacs, so diary entries actually show up in your printout. Works fine -- great stuff!