From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: proposal for enhanced org-get-priority function Date: Wed, 17 Nov 2010 09:16:52 +0100 Message-ID: <4F8DC134-334A-4208-AFC2-EDF85E8E98BC@gmail.com> References: <4CBF237F.1080602@gmail.com> <87aam34cy0.wl%dmaus@ictsoc.de> <4CC814B6.3070603@gmail.com> <4CCAB3D8.5010505@gmail.com> <4CCAB5C1.1080002@gmail.com> <5536343D-8741-46A9-8A81-849E141414A2@gmail.com> <20101115120753.GE2450@soloJazz.com> <4CE17663.9090004@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=45014 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIdCK-0000m3-Mh for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 03:16:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIdCJ-0008JR-E6 for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 03:16:56 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:33351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIdCJ-0008JK-8J for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 03:16:55 -0500 Received: by eydd26 with SMTP id d26so941388eyd.0 for ; Wed, 17 Nov 2010 00:16:54 -0800 (PST) In-Reply-To: <4CE17663.9090004@gmail.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: "I.S." Cc: David Maus , Juan Pechiar , emacs-orgmode@gnu.org Hi I.S. I have not added you patch as it is, because in some ways the syntax it adds is questionable, and, as others have pointed out, sorting can be done in different ways, too. However, instead, I have introduced a variable that can be set to a user-defined function to compute the base priority of a node. So you can simply put your function into that variable and continue to use your special syntax, with us making it an official Org syntax. The name of the variable is org-get-priority-function. I hope this helps. - Carsten On Nov 15, 2010, at 7:05 PM, I.S. wrote: > On 11/15/2010 7:07 AM, Juan Pechiar wrote: >> I'm against feature-itis. >> >> Orgmode has been losing some of its elegance to feature requests. And >> by 'elegance' I mean ease of learning and using and maintaining, and >> not having to decide between N different ways of achieving something >> just because so many border-case features exist. >> >> The agenda is for things you have to do today. Just do them. >> >> If you need ordering, you have outlines and lists, properties, LISP, >> hooks, column view, custom agenda views, etc. >> >> Regards, >> .j. >> >> On Mon, Nov 15, 2010 at 11:25:30AM +0100, Carsten Dominik wrote: >>> I would like to have a show of hands who is interested in this >>> treatment of finer priorities. > That may be a fair point (although I tend to think that most of the > features in orgmode are really useful). I'd like to point out, > however, that the proposed change is completely backward compatible. > If you don't want finer grained priorities, just don't add -. > > Personally, I vote yes because I find the priorities in TODO lists > very useful. In addition, I often find that I want to insert a new > item between two existing ones and therefore having fine-grained > priorities makes this easy to do. > > -- > Thanks, > -I.S. > - Carsten