emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer Stengele <rainer.stengele@diplan.de>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: bug? org does not seem to sort by prioritiy #A, #B, #C, #D
Date: Thu, 21 Oct 2010 09:12:25 +0200	[thread overview]
Message-ID: <4CBFE7D9.7060406@diplan.de> (raw)
In-Reply-To: <5018244D-6882-44E3-BE5A-F7ADFD68CA78@gmail.com>

Am 21.10.2010 09:07, schrieb Carsten Dominik:
>
> On Oct 21, 2010, at 9:01 AM, Rainer Stengele wrote:
>
>> Hi all,
>>
>> maybe this is a bug: (Org-mode version 7.01trans (release_7.01h.605.gc540)
>>
>> Having set
>>
>> ==============================================================================
>> Org Enable Priority Commands: Hide Value Toggle  on (non-nil)
>>   State: STANDARD.
>>   Non-nil means priority commands are active. Hide Rest
>>   When nil, these commands will be disabled, so that you never accidentally
>>   set a priority.
>>
>> Org Highest Priority: Hide Value A
>>   State: STANDARD.
>>   The highest priority of TODO items.  A character like ?A, ?B etc. More
>>
>> Org Lowest Priority: Hide Value D
>>   State: SAVED and set.
>>   The lowest priority of TODO items.  A character like ?A, ?B etc. More
>>
>> Org Default Priority: Hide Value D
>>   State: SAVED and set.
>>   The default priority of TODO items. More
>>
>> resulting correctly in
>>
>> (custom-set-variables
>> ...
>> '(org-highest-priority 65)
>> '(org-default-priority 68)
>> '(org-lowest-priority 68)
>> ...
>> ==============================================================================
>>
>> the custom agenda command
>>
>>     ("Tp" "all todos sorted by prio"
>>      (
>>       (alltodo "all todos" ))
>>      ((org-agenda-sorting-strategy '(priority-down))))
>>
>> will sort correctly by priorities #A, #B, #C, descending,
>> but will then mix up the rest of the todos with "#D" or without priority.
>> "#D" does not seem to be included in the sorting.
>
> The meaning of the default priority is that tasks without a priority do have
> the default priority.  If you need 4 priorities all higher than "normal tasks",
> make E your lowest and default priority
>
> - Carsten
>
Yes, works now. A bit counterintuitive, isn't it?
Thanks!

- Rainer

  reply	other threads:[~2010-10-21  7:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21  7:01 bug? org does not seem to sort by prioritiy #A,#B,#C,#D Rainer Stengele
2010-10-21  7:07 ` bug? org does not seem to sort by prioritiy #A, #B, #C, #D Carsten Dominik
2010-10-21  7:12   ` Rainer Stengele [this message]
2010-10-21  7:21     ` Carsten Dominik
2010-10-21  7:30       ` Rainer Stengele
2010-10-21  7:39         ` Carsten Dominik
2010-10-21  8:52           ` Rainer Stengele
2010-10-21  9:01             ` Carsten Dominik
2010-10-21  9:38               ` Rainer Stengele
2010-10-21 18:07                 ` Samuel Wales
2010-10-21 20:26                   ` Carsten Dominik
2010-10-21 12:41               ` Greg Troxel
2010-10-21 17:38                 ` Carsten Dominik

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=4CBFE7D9.7060406@diplan.de \
    --to=rainer.stengele@diplan.de \
    --cc=carsten.dominik@gmail.com \
    --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).