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: Wed, 11 May 2022 01:00:33 +0200	[thread overview]
Message-ID: <875ymd9efn.fsf@k-7.ch> (raw)
In-Reply-To: <875ynof1cs.fsf@localhost>


So, I updated to Org-mode 9.5.3 from ELPA and the problem is gone.

Now, I get the tasks in the agenda in the correct order: Earliest
deadlines firsts, on top of the tasks list, then the tasks without
deadlines.

The only option I have to set is:
```
(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)))
```

Do the `deadline-up` option will apply to all todo lists in the agenda ?
Even the ones in custom views ?





Ihor Radchenko <yantar92@gmail.com> writes:

> Sébastien Gendre <seb@k-7.ch> writes:
>
>> 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
>
> I am unable to reproduce using Emacs 27.2 + latest Org main or bugfix.
> Can you try to reproduce starting from emacs -Q?
> See https://orgmode.org/manual/Feedback.html or
> https://open.tube/videos/watch/4d819114-43bf-42df-af94-f94fc53dd0d9 for
> detailed instructions.
>
> Best,
> Ihor



  parent reply	other threads:[~2022-05-10 23:06 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
2022-04-05  7:14             ` Ihor Radchenko
2022-04-05  7:20               ` Sébastien Gendre
2022-05-10 23:00               ` Sébastien Gendre [this message]
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=875ymd9efn.fsf@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).