From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Advice sought on managing decision alternatives. Date: Sun, 8 Feb 2009 14:06:49 +0100 Message-ID: <6444D654-9B7B-415D-A6DB-F3BADCB1EE2A@uva.nl> References: <20090101170227.C707734803@mail2.panix.com> <1131.66.30.178.137.1230850437.squirrel@mail.panix.com> <1371.66.30.178.137.1232336005.squirrel@mail.panix.com> <1057.24.63.22.246.1233375672.squirrel@mail.panix.com> <1036.24.63.0.170.1233950825.squirrel@mail.panix.com> <60BDFE6D-6B8C-4A23-A737-67DC1F523C79@uva.nl> <1044.66.30.185.29.1234039592.squirrel@mail.panix.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LW9NB-00067w-F6 for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 08:06:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LW9NA-00066c-7L for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 08:06:56 -0500 Received: from [199.232.76.173] (port=43256 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LW9NA-00066Z-3e for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 08:06:56 -0500 Received: from nf-out-0910.google.com ([64.233.182.187]:14468) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LW9N9-0004pH-L6 for emacs-orgmode@gnu.org; Sun, 08 Feb 2009 08:06:55 -0500 Received: by nf-out-0910.google.com with SMTP id c7so326551nfi.26 for ; Sun, 08 Feb 2009 05:06:52 -0800 (PST) In-Reply-To: <1044.66.30.185.29.1234039592.squirrel@mail.panix.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Tom Breton (Tehom)" Cc: emacs-orgmode@gnu.org Hi Tom, I have now added org-choose.el, it is part of the current git status. A few comments: On Feb 7, 2009, at 9:46 PM, Tom Breton (Tehom) wrote: > > Hi, Carsten. Here is the new patch to org.el and the new > org-choose.el > > A couple of notes: > > * As we talked about, "decisions" and "chosenness" are now called > "choose" everywhere. Great. > > * I was able to add the library-aware customization we talked about. This is nice, I earned something new! :convert-widget..... > > * I also added new variable `org-todo-normal-interpretations' - see > explanation below. See my comments below > > * New test file. Essentially the same, with name replacement. I have not run the tests myself yet. > > * Didn't append the example files; they are all unchanged from before. > > ******* About `org-todo-normal-interpretations' > > You said your idea was to make a generally useful system. I noticed > that one thing was still hard-coded. It's the part of org-todo that > finds the next entry: > > (memq interpret '(sequence choose)) > ... > (memq interpret '(type priority)) Yes, this is correct. I appreciate you noticing this additional point where changes have to be made. However, for now I have opted for a different solution: I made the sequence interpretation the last test in the cond chain, so that all interpretations that are not `type' will fall back to this mechanism. I envision that we can add another hook if someone wants an additional way of handling this. I would like to minimize the number of variables where an add-on has to insert itself. I have commented the corresponding line which tries to add to the non-existing variable org-todo-normal-interpretations' in org-choose.el I hope you agree with this solution, if not let me know. I think what is missing now is documentation. It seems to me that there should be some minimal documentation in org-choose.el, and it would be great to get a tutorial on Worg which describes this in more detail. Thanks a lot for this contribution, and for your precision and attention to detail. - Carsten