From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] New org-depend trigger for finding next highest priority/effort item Date: Wed, 27 Jul 2011 13:33:16 +0200 Message-ID: <87mxfzwzaq.fsf@altern.org> References: <87k4b7fqu3.wl%max@openchat.com> <874o29tg8h.fsf@gnu.org> <878vrk66zs.wl%max@openchat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm5TV-0006wf-5Y for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 10:52:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qm5TT-0002b9-NA for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 10:52:41 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:51320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm5TT-0002Zt-Ih for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 10:52:39 -0400 Received: by mail-ww0-f49.google.com with SMTP id 22so1165513wwf.30 for ; Wed, 27 Jul 2011 07:52:39 -0700 (PDT) In-Reply-To: <878vrk66zs.wl%max@openchat.com> (Max Mikhanosha's message of "Tue, 26 Jul 2011 17:56:39 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Max Mikhanosha Cc: emacs-orgmode@gnu.org Hi Max, Max Mikhanosha writes: >> Can you give an example? > > * Parent > ** TODO Item 1 > ** TODO Item 2 > ** TODO Item 3 > ** TODO Item 4 > ** NEXT Item 5 Current (the one with TRIGGER property) > ** TODO Item 6 > ** Item 7 > ** TODO Item 8 > ** DONE Item 9 > > Below are example list of candidates depending on option > > from-top => 1,2,3,4,6,7,8 > from-bottom => 8,7,6,4,3,2,1 > from-current => 6,7,8,1,2,3,4 > from-current,no-wrap => 6,7,8 > > Adding todo-only will eliminate item 7 from all of above, adding > include-done will include item 9. > > After inital candidate list is established as above, its sorted by priority > or effort, then 1st item is made NEXT. Cristal-clear, thanks! > I grepped *.el and saw other file using it without eval-when-compile > (it was htmlize.el i think), so I thought it was ok in contrib. To be clear: it *is* okay in contrib/ as files in contrib/ will not go to Emacs core. But the more we can avoid this the better. > Attached is a test file you can use for all the situation that you > asked clarification for. After testing this file I'm thinking maybe > from-current should be a default instead of from-top. Yes, I also think from-current should be the default. Also, it would be really nice to update this tutorial on Worg and to show how to use the new feature you introduced: http://orgmode.org/worg/org-contrib/org-depend.html Thanks! -- Bastien