emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: outline-agenda sorting consistency
Date: Fri, 13 Mar 2009 20:18:42 -0700	[thread overview]
Message-ID: <20524da70903132018y458215b4yac4604ed3afb146d@mail.gmail.com> (raw)
In-Reply-To: <E8185852-EB04-429C-8992-DA3837DA6229@uva.nl>

On Wed, Mar 4, 2009 at 04:53, Carsten Dominik <dominik@science.uva.nl> wrote:
> you can now et faces for each priority, using the variable
> org-priority-faces, in a way similar to the todo-keyword faces,
> and the tag faces.  Just note that the car in this alist must be
> a character, not a string.

This is much better, thanks.  Makes it easier to distinguish
and I can use C now.

>> Here is how I might do it, were the facility to exist:
>>
>>  - done-ish and unimportant stuff at the bottom, important
>>   stuff at the top, and uncategorized nodes (i.e. blank
>>   todo state, no priority, no urgency) in the middle.
>>  - alphabetical order for nodes with the same weight
>>  - to calculate the weight of a node:
>>   1) priority a is worth +1000
>>   2) urgent tag gets +1000
>>   3) now tag gets +500
>>   4) todo-ish states (todo, next) get +100
>>   5) /blank todo state/ gets 0
>>   6) zombie states (wait etc.) get -100
>>   7) someday tag gets -500
>>   8) priority c gets -1000
>>   9) done-ish states (done, moot) get -3000
>>  - example: an urgent todo would have a weight of 1100.
>>   when it is marked done, it would have a weight of -2000.
>
> Outline sorting can be done using a user-defined function,
> so in principle this should be possible.....  It is on my list,
> but not with high priority....

OK.  Thanks for thinking about it.

-- 
Myalgic encephalomyelitis denialism is causing death (decades early;
Jason et al. 2006) and severe suffering (worse than nearly all other
diseases studied; e.g. Schweitzer et al. 1995) and *grossly*
corrupting science.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm

      reply	other threads:[~2009-03-14  3:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-11  5:36 Samuel Wales
2009-02-19 19:22 ` Carsten Dominik
2009-03-03  4:09   ` Samuel Wales
2009-03-04 11:53     ` Carsten Dominik
2009-03-14  3:18       ` Samuel Wales [this message]

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=20524da70903132018y458215b4yac4604ed3afb146d@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=dominik@science.uva.nl \
    --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).