|
From: | Carsten Dominik |
Subject: | Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.) |
Date: | Wed, 11 Feb 2009 13:29:55 +0100 |
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-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 could understand only a little. So I tried to followyour tutorial but I am getting stuck at switching the `choosenness' ofitems. I get following error when I try to switch to any state from "no state". OnceI assign a state by typing it out manually (as opposed to using stateswitching commands), I can then switch between states but the error repeats when I try to switch to "MAYBE" state. ,---- | save-excursion: Symbol's function definition is void: outline-up-heading-all `----Hmm, not sure if I messed up there - so I fixed this bug. Tom, please check if I did this right.This issue is gone for me. Thanks.So far, my understaning is that only one item can be in "YES" state. IfI tryto switch another item to "YES" then the existing "YES" will be demotedto "MAYBE". So for a two-state choosenness only one item can be in CHOOSE state while all others will switch to NOT_CHOOSEN state.. is that understanding correct?With three choices for choosenness, it works as I expected (only one itemin 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?Having fetched and set up 6.22b, I can now reproduce it.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 thatquote, it "evaluated" a quoted form and did nothing. I'd send a patch,but ISTM it's easier to just press backspace once. It's here: (eval-after-load 'org '(progn ;;^--HERE. (add-to-list 'org-todo-setup-filter-hook #'org-choose-setup-filter) (add-to-list 'org-todo-get-default-hook #'org-choose-get-default-mark) (add-to-list 'org-trigger-hook #'org-choose-keep-sensible) (add-to-list 'org-todo-interpretation-widgets '(:tag "Choose (to record decisions)" choose) 'append) ))
Hi Tom, maybe you can educate me: I have never understood what the "#" doesin code like the one you have here. You are using it, so maybe you know?
- Carsten
[Prev in Thread] | Current Thread | [Next in Thread] |