emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: [BUG] Upcoming deadlines sorted in reverse order
Date: Tue, 29 Nov 2016 14:17:02 -0600	[thread overview]
Message-ID: <8760n6oxc1.fsf@fastmail.fm> (raw)

With commit 9299efa3519b3ef3191e8dc06a4466696c720f6c, upcoming deadlines
in the agenda are sorted in reverse order, with more distant deadlines
appearing first and imminent and overdue deadlines appearing last.

Running emacs -Q and using the following org file...

* An overdue deadline 
  DEADLINE: <2016-11-27 Sun 17:00>
* A close deadline 
  DEADLINE: <2016-11-30 Wed 17:00>
* A more distant deadline 
  DEADLINE: <2016-12-06 Tue 17:00>

...I find that the agenda produces this...

Day-agenda (W48):
Tuesday    29 November 2016
  test:       In   7 d.:  A more distant deadline
  test:       In   1 d.:  A close deadline
  test:        2 d. ago:  An overdue deadline

The expected (and traditional) behavior is this...

Day-agenda (W48):
Tuesday    29 November 2016
  test:        2 d. ago:  An overdue deadline
  test:       In   1 d.:  A close deadline
  test:       In   7 d.:  A more distant deadline

Thanks,
Matt

             reply	other threads:[~2016-11-29 20:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-29 20:17 Matt Lundin [this message]
2016-11-29 23:26 ` [BUG] Upcoming deadlines sorted in reverse order Nicolas Goaziou

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=8760n6oxc1.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --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).