emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Filippo A. Salustri" <salustri@ryerson.ca>
To: emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: feature request: changing the way numeric priorities are calculated
Date: Sat, 4 Jun 2011 23:51:08 -0400	[thread overview]
Message-ID: <BANLkTikimZ+d+1VzhSED_EqnG7Jebka4ag@mail.gmail.com> (raw)

As I understand org - at least as of v7.4, the numeric values of
priorities as calculated in org-get-priority, are variable and based
on multiplying things by 1000.
I can understand why this is done this way, but it is a little restrictive.

I would like to suggest that the numeric values of priorities be fixed
between 0 and some value that can be user-defined, and that
org-get-priority be tweaked to return a value between 0 and the max
value, based on the range of priorities (i.e. from org-lowest-priority
to org-highest-priority).

So, for instance if you set the max numeric priority to 10, it
wouldn't matter if you had 3 priority levels or 100, they'd all range
between 0 and 10.

In my case, I'm asking for this because I'm writing a user-defined
comparator function that combines a number of features into a single
measure of 'importance' (toodledo does something similar), and having
the ability to essentially 'weight' the priority with respect to other
values would be very useful.

I'd try to do the changes myself, but I'm just not up to the task these days.

Thoughts?
Cheers.
Fil Salustri

--
\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/

             reply	other threads:[~2011-06-05  3:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-05  3:51 Filippo A. Salustri [this message]
2011-06-05  4:26 ` feature request: changing the way numeric priorities are calculated Samuel Wales
2011-06-05 11:11   ` [OT] " Jambunathan K
2011-06-05 11:26     ` Jambunathan K
2011-06-05 20:36     ` Carsten Dominik
2011-06-05 17:23   ` Filippo A. Salustri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTikimZ+d+1VzhSED_EqnG7Jebka4ag@mail.gmail.com \
    --to=salustri@ryerson.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).