Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-12 Thread Manish
On Wed, Feb 11, 2009 at 4:18 AM, Tom Breton (Tehom) wrote: With three choices for choosenness, it works as I expected (only one item in CHOSEN state at a time) but for more choices like: #+CHOOSE_TODO: REJECTED(r) NOT_CHOSEN(n,-) MAYBE(,0) LEANING_TOWARDS(l) CHOSEN(c,+) it allows multiple

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-12 Thread Nick Dokos
Tom Breton (Tehom) te...@panix.com wrote: On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote: (let* ((x 1)) (eval-after-load 'simple (setq x 2)) x) =3D 2 (let* ((x 1)) (eval-after-load 'simple '(setq x 2)) x) =3D 1 In fact, I am getting 2

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-12 Thread Tom Breton (Tehom)
On Wed, Feb 11, 2009 at 4:18 AM, Tom Breton (Tehom) wrote: [...] I couldn't reproduce this. Is this on the same test file as before? Sorry for the delay in reply, Tom. I reproduce the situation below: First the test file. --8---cut here---start-8---

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-12 Thread Tom Breton (Tehom)
Tom Breton (Tehom) te...@panix.com wrote: On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote: (let* ((x 1)) (eval-after-load 'simple (setq x 2)) x) =3D 2 (let* ((x 1)) (eval-after-load 'simple '(setq x 2)) x) =3D 1 In fact, I am getting 2

Patch Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-12 Thread Tom Breton (Tehom)
Here is a patch that I hope will solve the problems people are having with org-choose.el. It contains two intended fixes: * `eval-after-load' gets a string argument. Apparently some emacsen can accept a symbol, but older ones can't. * org-agenda is required before `org-map-entries' is called.

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-12 Thread Nick Dokos
Tom Breton (Tehom) te...@panix.com wrote: What version is this? Because that's clearly not what it does on emacs 21.3.1. Here simple.el does not have (provide 'simple) in it. I see no provision for accepting a symbol in eval-after-load. The test it uses is just: (assoc file

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-12 Thread Manish
On Fri, Feb 13, 2009 at 1:43 AM, Tom Breton (Tehom) wrote: On Wed, Feb 11, 2009 at 4:18 AM, Tom Breton (Tehom) wrote: [...] I couldn't reproduce this. Is this on the same test file as before? Sorry for the delay in reply, Tom. I reproduce the situation below: First the test file.

Re: Patch Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-12 Thread Manish
On Fri, Feb 13, 2009 at 2:25 AM, Tom Breton (Tehom) wrote: Here is a patch that I hope will solve the problems people are having with org-choose.el. It contains two intended fixes: * `eval-after-load' gets a string argument. Apparently some emacsen can accept a symbol, but older ones can't.

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-11 Thread Carsten Dominik
On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote: On Tue, Feb 10, 2009 at 2:42 PM, Carsten Dominik wrote: On Feb 10, 2009, at 9:46 AM, Manish wrote: On Tue, Feb 10, 2009 at 8:44 AM, Tom Breton (Tehom) wrote: [...] OK, I've add comments, keywords, and some docstrings I forgot to

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-11 Thread Carsten Dominik
On Feb 11, 2009, at 12:19 AM, Tom Breton (Tehom) wrote: Hmm, not sure if I messed up there - so I fixed this bug. Tom, please check if I did this right. - Carsten Hi, Carsten. I just looked at org-6.22b You caught a problem, but I think it's a different bug. I think there are these

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-11 Thread Carsten Dominik
On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote: On Tue, Feb 10, 2009 at 2:42 PM, Carsten Dominik wrote: On Feb 10, 2009, at 9:46 AM, Manish wrote: On Tue, Feb 10, 2009 at 8:44 AM, Tom Breton (Tehom) wrote: [...] OK, I've add comments, keywords, and some docstrings I forgot to

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-11 Thread Daniel Clemente
Carsten Dominik domi...@science.uva.nl writes: Hi Tom, maybe you can educate me: I have never understood what the # does in code like the one you have here. You are using it, so maybe you know? Since I am always having questions like that, I keep writing here each new notation I find

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-11 Thread Carsten Dominik
Useful resource! Thanks. - Carsten On Feb 11, 2009, at 4:38 PM, Daniel Clemente wrote: Carsten Dominik domi...@science.uva.nl writes: Hi Tom, maybe you can educate me: I have never understood what the # does in code like the one you have here. You are using it, so maybe you know?

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-11 Thread Tom Breton (Tehom)
Hi Tom, maybe you can educate me: I have never understood what the # does in code like the one you have here. You are using it, so maybe you know? - Carsten Here, it's #' that it of interest, not # alone. At the most direct level, it quotes the symbol with `function' instead of

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-11 Thread Tom Breton (Tehom)
On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote: This bug is simple. In Setting it all up at the end of org- choose.el, in 6.22b a quote got introduced before progn. That's all. With that quote, it evaluated a quoted form and did nothing. I'd send a patch, but ISTM it's easier

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-11 Thread Carsten Dominik
On Feb 11, 2009, at 10:41 PM, Tom Breton (Tehom) wrote: On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote: This bug is simple. In Setting it all up at the end of org- choose.el, in 6.22b a quote got introduced before progn. That's all. With that quote, it evaluated a quoted form

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-11 Thread Carsten Dominik
On Feb 11, 2009, at 9:02 PM, Tom Breton (Tehom) wrote: Hi Tom, maybe you can educate me: I have never understood what the # does in code like the one you have here. You are using it, so maybe you know? - Carsten Here, it's #' that it of interest, not # alone. At the most direct

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-11 Thread Tom Breton (Tehom)
nicholas.do...@hp.com wrote: Tom Breton (Tehom) te...@panix.com wrote: (let* ((x 1)) (eval-after-load 'simple (setq x 2)) x) =3D 2 (let* ((x 1)) (eval-after-load 'simple '(setq x 2)) x) =3D 1 Are you sure about this? My understanding of this differs from

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-11 Thread Tom Breton (Tehom)
On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote: (let* ((x 1)) (eval-after-load 'simple (setq x 2)) x) = 2 (let* ((x 1)) (eval-after-load 'simple '(setq x 2)) x) = 1 In fact, I am getting 2 in both cases!??? Do you really get 1 for the second??? Yes

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-10 Thread Manish
On Tue, Feb 10, 2009 at 8:44 AM, Tom Breton (Tehom) wrote: [...] OK, I've add comments, keywords, and some docstrings I forgot to org-choose.el, and I wrote a standalone doc. Both are attached. This is very intriguing functionality. I tried to follow your and Casten's earlier exchanges but

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-10 Thread Manish
On Tue, Feb 10, 2009 at 2:42 PM, Carsten Dominik wrote: On Feb 10, 2009, at 9:46 AM, Manish wrote: On Tue, Feb 10, 2009 at 8:44 AM, Tom Breton (Tehom) wrote: [...] OK, I've add comments, keywords, and some docstrings I forgot to org-choose.el, and I wrote a standalone doc. Both are

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-10 Thread Tom Breton (Tehom)
On Tue, Feb 10, 2009 at 8:44 AM, Tom Breton (Tehom) wrote: [...] OK, I've add comments, keywords, and some docstrings I forgot to org-choose.el, and I wrote a standalone doc. Both are attached. This is very intriguing functionality. I tried to follow your and Casten's earlier exchanges

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-10 Thread Tom Breton (Tehom)
With three choices for choosenness, it works as I expected (only one item in CHOSEN state at a time) but for more choices like: #+CHOOSE_TODO: REJECTED(r) NOT_CHOSEN(n,-) MAYBE(,0) LEANING_TOWARDS(l) CHOSEN(c,+) it allows multiple items to be in CHOSEN state. How do we interpret that? I

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-10 Thread Tom Breton (Tehom)
Hmm, not sure if I messed up there - so I fixed this bug. Tom, please check if I did this right. - Carsten Hi, Carsten. I just looked at org-6.22b You caught a problem, but I think it's a different bug. I think there are these different things: * What you saw, that it doesn't work at

Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-10 Thread Tom Breton (Tehom)
On Tue, Feb 10, 2009 at 2:42 PM, Carsten Dominik wrote: On Feb 10, 2009, at 9:46 AM, Manish wrote: On Tue, Feb 10, 2009 at 8:44 AM, Tom Breton (Tehom) wrote: [...] OK, I've add comments, keywords, and some docstrings I forgot to org-choose.el, and I wrote a standalone doc. Both are

[Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)

2009-02-09 Thread Tom Breton (Tehom)
Hi, Carsten. Well, some ASCII documentation could be inserted into org-choose.el as a file commentary. If you use a standard header with keywords for the finder (M-x finder-commentary and friends), that would be useful. Tutorials on Worg are usually written in Org, but you can upload any