emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* feature request: changing the way numeric priorities are calculated
@ 2011-06-05  3:51 Filippo A. Salustri
  2011-06-05  4:26 ` Samuel Wales
  0 siblings, 1 reply; 6+ messages in thread
From: Filippo A. Salustri @ 2011-06-05  3:51 UTC (permalink / raw)
  To: emacs-orgmode mailing list

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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-06-05 20:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-05  3:51 feature request: changing the way numeric priorities are calculated Filippo A. Salustri
2011-06-05  4:26 ` 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

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).