emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: "Sébastien Gendre" <seb@k-7.ch>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-agenda todos list sorted by earliest deadline first
Date: Tue, 05 Apr 2022 13:44:25 +0800	[thread overview]
Message-ID: <87h778f5ja.fsf@localhost> (raw)
In-Reply-To: <D82B2E70-7373-4C2B-B4CF-317AA9EBFF56@k-7.ch>

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


  reply	other threads:[~2022-04-05  5:52 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 [this message]
2022-04-05  6:47           ` Sébastien Gendre
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=87h778f5ja.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=seb@k-7.ch \
    /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).