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'

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 f

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

2009-02-12 Thread Nick Dokos
Tom Breton (Tehom) 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 load-history

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 Tom Breton (Tehom)
> Tom Breton (Tehom) 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

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-

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

2009-02-12 Thread Nick Dokos
Tom Breton (Tehom) 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) > >

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 allo

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!??? >

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) 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 thi

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 direc

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 f

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

2009-02-11 Thread Nick Dokos
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 a

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

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'

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 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 ha

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

2009-02-11 Thread Daniel Clemente
Carsten Dominik 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 :-) http://www.em

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 org-c

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 d

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 org-c

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 standal

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 wor

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 th

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 exc

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. B

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

2009-02-10 Thread Carsten Dominik
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 attached. This is very intriguing functionality. I tried to foll

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 co

[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