emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Gary Cheng <garycheng12@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [bug] org-agenda-sorting-strategy sorting incorrectly?
Date: Thu, 16 Jan 2020 20:34:27 -0500	[thread overview]
Message-ID: <CABkDr=N9XPsq-8anpudPsr6imGHz9oZyJKPN4ZYk8EK9RfH2Ug@mail.gmail.com> (raw)

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

With the following:

    (setq org-agenda-sorting-strategy '((agenda time-up deadline-down
scheduled-down habit-down priority-down category-keep)
     (todo priority-down category-keep)
     (tags priority-down category-keep)
     (search category-keep)))

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).

Also, it is unfortunate that there is no symbol for upcoming deadline items
to differentiate them from past deadline items. Since they are considered
"earliest", the sorting goes from "In 5 days... -> In 3 days... -> 2 days
ago --> 4 days ago", which is rarely useful. There is no way to sort just
items past due date "2 days ago --> 4 days ago --> 5 days ago", which is a
much more common workflow (e.g. looking down the agenda, the more
salvageable recent deadline items are at the top). It is more sensible to
just limit deadline items to items due today or the past, and have a
separate symbol for upcoming deadlines (i.e. "upcoming-deadline-down" and
"upcoming-deadline-up"). Then, one can e.g. put all upcoming deadline items
at the bottom of the agenda because he wants to deal with items that are
more relevant now.

Currently on lorg-mode 9.3.1 (latest version of org-mode available as of
this submission).

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

                 reply	other threads:[~2020-01-17  1:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CABkDr=N9XPsq-8anpudPsr6imGHz9oZyJKPN4ZYk8EK9RfH2Ug@mail.gmail.com' \
    --to=garycheng12@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).