emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Gendre" <seb@k-7.ch>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-agenda todos list sorted by earliest deadline first
Date: Tue, 05 Apr 2022 08:47:16 +0200	[thread overview]
Message-ID: <C099D665-EC08-414B-BB48-B43C6D3136E6@k-7.ch> (raw)
In-Reply-To: <87h778f5ja.fsf@localhost>

[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]

If I evaluate the same setq and define the same tasks, my result withe org-agenda tasks list are:

Global list of TODO items of type: ALL
Press ‘N r’ (e.g. ‘0 r’) to search again: (0)[A$
                      (1)TODO (2)DONE
  test:       TODO test1
  test:       TODO test2
  test:       TODO test3
  test:       TODO test4

I tested at this moment with Org version 9.5.2 on Emacs version 27.2

Le 5 avril 2022 07:44:25 GMT+02:00, Ihor Radchenko <yantar92@gmail.com> a écrit :
>Sébastien Gendre <seb@k-7.ch> writes:
>
>> I've tested it, but the tasks with no deadlines are still on top of the list.
>
>I am unable to reproduce on my side using latest stable Org.
>I used the following example org file:
>
>----
>* TODO test1
>* TODO test2
>* TODO test3
>DEADLINE: <2022-04-04 Mon>
>* TODO test4
>DEADLINE: <2022-04-06 Wed>
>------
>
>(setq org-agenda-sorting-strategy '((agenda deadline-down time-up habit-up priority-down timestamp-down category-keep)
>				    (todo deadline-up priority-down category-keep)
>				    (tags priority-down category-keep)
>				    (search category-keep)))
>
>The todo agenda buffer looks like:
>
>Global list of TODO items of type: ALL
>Press ‘N r’ (e.g. ‘0 r’) to search again: (0)[ALL] (1)TODO (2)DONE
>  bug:        TODO test3
>  bug:        TODO test4
>  bug:        TODO test1
>  bug:        TODO test2
>
>
>Best,
>Ihor

[-- Attachment #2: Type: text/html, Size: 1855 bytes --]

  reply	other threads:[~2022-04-05  6:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-02 16:24 org-agenda todos list sorted by earliest deadline first Sébastien Gendre
2022-04-02 21:16 ` Samuel Wales
2022-04-02 23:02   ` Sébastien Gendre
2022-04-04 11:42     ` Ihor Radchenko
2022-04-04 16:02       ` Sébastien Gendre
2022-04-04 16:07       ` Sébastien Gendre
2022-04-05  5:44         ` Ihor Radchenko
2022-04-05  6:47           ` Sébastien Gendre [this message]
2022-04-05  7:14             ` Ihor Radchenko
2022-04-05  7:20               ` Sébastien Gendre
2022-05-10 23:00               ` Sébastien Gendre
2022-05-11 13:24                 ` Ihor Radchenko

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=C099D665-EC08-414B-BB48-B43C6D3136E6@k-7.ch \
    --to=seb@k-7.ch \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    /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).