From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: proposal for enhanced org-get-priority function Date: Wed, 17 Nov 2010 14:21:44 -0500 Message-ID: <87bp5nbvsn.fsf@fastmail.fm> 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> <4F8DC134-334A-4208-AFC2-EDF85E8E98BC@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=35842 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PInZm-0008UC-Bu for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 14:21:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PInZj-0002V8-Cq for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 14:21:48 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:51464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PInZj-0002V2-Ac for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 14:21:47 -0500 In-Reply-To: <4F8DC134-334A-4208-AFC2-EDF85E8E98BC@gmail.com> (Carsten Dominik's message of "Wed, 17 Nov 2010 09:16:52 +0100") 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: Carsten Dominik Cc: David Maus , Juan Pechiar , emacs-orgmode@gnu.org, "I.S." Carsten Dominik writes: > 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. Thanks, Carsten, as always, for coming up with an elegant solution that keeps Org nice and simple for new users, while nonetheless allowing us power users to keep refining our ~/.emacs. :) Best, Matt