emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: stardiviner <numbchild@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: org-agenda-sorting-strategy's sorting of deadline and schedule is opposed
Date: Sun, 24 May 2020 13:53:05 +0200	[thread overview]
Message-ID: <87pnatsg66.fsf@gnu.org> (raw)
In-Reply-To: <87eeu4b6a1.fsf@gmail.com> (stardiviner's message of "Sat, 07 Mar 2020 22:15:18 +0800")

Hi,

stardiviner <numbchild@gmail.com> writes:

> org-agenda-sorting-strategy bug? Cannot list deadline items before scheduled items.
>
> With the following:
>
> #+begin_src emacs-lisp
> (setq org-agenda-sorting-strategy
>       '((agenda time-up deadline-up scheduled-down ts-up habit-down priority-down category-keep)
>         (todo priority-down category-keep)
>         (tags priority-down category-keep)
>         (search category-keep))
>       org-agenda-sorting-strategy-selected
>       '(time-up priority-down deadline-up scheduled-down ts-up habit-down category-keep))
> #+end_src
>
> The time-up is correctly shown first; however, all scheduled items are shown
> next as opposed to all deadline items (the order should be the other way
> around).

Can you provide a more minimal configuration example, with the order
expected and the order you get?

As said in the reddit thread, the output of complex sorting strategies
can be confusing, so being minimal here is the way to go.

Thanks,

-- 
 Bastien


  reply	other threads:[~2020-05-24 11:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-07 14:15 org-agenda-sorting-strategy's sorting of deadline and schedule is opposed stardiviner
2020-05-24 11:53 ` Bastien [this message]
2022-02-04  5:33   ` [CLOSED] TEC fixed this problem Christopher M. Miles
2022-02-07  8:00     ` Bastien

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=87pnatsg66.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=numbchild@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).