From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Filippo A. Salustri" Subject: Re: feature request: changing the way numeric priorities are calculated Date: Sun, 5 Jun 2011 13:23:28 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTH2w-00024Z-JQ for emacs-orgmode@gnu.org; Sun, 05 Jun 2011 13:23:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTH2v-0006Ol-7f for emacs-orgmode@gnu.org; Sun, 05 Jun 2011 13:23:30 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:62968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTH2u-0006Og-W1 for emacs-orgmode@gnu.org; Sun, 05 Jun 2011 13:23:29 -0400 Received: by wwb39 with SMTP id 39so2536415wwb.30 for ; Sun, 05 Jun 2011 10:23:28 -0700 (PDT) In-Reply-To: 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: Samuel Wales Cc: emacs-orgmode mailing list Could you explain (alpha-org-entry-priority-letter sg), and where you would use alpha-org-priority-score. Also, while I see what you're doing in the code, I would prefer something not so rigid (i.e. expecting only 3 levels of priority and having the values for those priorities hardwired into the code). Cheers. Fil On 5 June 2011 00:26, Samuel Wales wrote: > I do > > (defun alpha-org-priority-score (&optional sg) > =A0(case (alpha-org-entry-priority-letter sg) > =A0 =A0(?A 2) > =A0 =A0(?B 0) > =A0 =A0(?C -1) > =A0 =A0(t (error "Case exhausted for priority")))) > > -- > The Kafka Pandemic: http://thekafkapandemic.blogspot.com > I support the Whittemore-Peterson Institute (WPI) > =3D=3D=3D > Extreme bigotry against people with deadly serious diseases is still > extreme bigotry. > --=20 \V/_ Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salustri@ryerson.ca http://deseng.ryerson.ca/~fil/