emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric J Haywiser <ejh1@MIT.EDU>
To: emacs-orgmode@gnu.org
Subject: Behavior Change/Bug: Agenda sorting of deadline items v > 4.73
Date: Thu, 31 Jan 2008 10:33:51 -0500 (EST)	[thread overview]
Message-ID: <Pine.GSO.4.64L.0801310917440.14401@mint-square.mit.edu> (raw)
In-Reply-To: <ED894BDE-FE15-494F-B13A-DD3CEE2C0294@science.uva.nl>

I've noticed a change in the way org displays deadlines in the agenda starting
sometime after v4.73.  Before that time deadlines were displayed in 
chronological order.  This is the behavior I expect.  In the current org-5.16a 
and a number of versions before that the agenda items are in somewhat random 
order.  Order seems to depend on both the date and the order of the deadlines in 
the org file.

Apologies if this was an intended design change and I missed the announcement.
It has been difficult to keep up with all the wonderful advancements in org.
Perhaps I need to configure some variable to get back to the original behavior?

Behavior in 5.16a

Thursday  31 January 2008
   deadline-order-bug:In -730 d.:  Jan One DEADLINE: <2006-01-31 Thu>
   deadline-order-bug:In -365 d.:  Jan Two DEADLINE: <2007-01-31 Thu>
   deadline-order-bug:Deadline:   Jan Three DEADLINE: <2008-01-31 Thu>
   deadline-order-bug:In -715 d.:  Feb One DEADLINE: <2006-02-15 Thu>
   deadline-order-bug:In -350 d.:  Feb Two DEADLINE: <2007-02-15 Thu>
   deadline-order-bug:In  15 d.:  Feb Three DEADLINE: <2008-02-15 Thu>
   deadline-order-bug:In 366 d.:  Jan Four DEADLINE: <2009-01-31 Thu>
   deadline-order-bug:In 381 d.:  Feb Four DEADLINE: <2009-02-15 Thu>

Behavior in 4.67c

Thursday  31 January 2008
   deadline-order-bug:In -730 d.:  Jan One DEADLINE: <2006-01-31 Thu>
   deadline-order-bug:In -715 d.:  Feb One DEADLINE: <2006-02-15 Thu>
   deadline-order-bug:In -365 d.:  Jan Two DEADLINE: <2007-01-31 Thu>
   deadline-order-bug:In -350 d.:  Feb Two DEADLINE: <2007-02-15 Thu>
   deadline-order-bug:Deadline:   Jan Three DEADLINE: <2008-01-31 Thu>
   deadline-order-bug:In  15 d.:  Feb Three DEADLINE: <2008-02-15 Thu>
   deadline-order-bug:In 366 d.:  Jan Four DEADLINE: <2009-01-31 Thu>
   deadline-order-bug:In 381 d.:  Feb Four DEADLINE: <2009-02-15 Thu>

Also note that something like the <= v4.73 behavior can be achieved by inserting
the older org-agenda-get-deadlines function into 5.16a, but it seems to have 
some side effects.  Note the missing Deadline item for TODAY aka "Jan Three"
below.  Regardless I believe the bug, if present, may lie in that 
function.  I don't yet understand the internals.

Behavior in 5.16a with o-a-g-d from 4.67c overlayed

Thursday  31 January 2008
   deadline-order-bug:In -730 d.:  Jan One DEADLINE: <2006-01-31 Thu>
   deadline-order-bug:In -715 d.:  Feb One DEADLINE: <2006-02-15 Thu>
   deadline-order-bug:In -365 d.:  Jan Two DEADLINE: <2007-01-31 Thu>
   deadline-order-bug:In -350 d.:  Feb Two DEADLINE: <2007-02-15 Thu>
   deadline-order-bug:In  15 d.:  Feb Three DEADLINE: <2008-02-15 Thu>
   deadline-order-bug:In 366 d.:  Jan Four DEADLINE: <2009-01-31 Thu>
   deadline-order-bug:In 381 d.:  Feb Four DEADLINE: <2009-02-15 Thu>

The following is the example org file to generate this behavior.
Also, You will need to (set-variable org-deadline-warning-days 1000)
to test this.

* Jan One DEADLINE: <2006-01-31 Thu>
* Jan Two DEADLINE: <2007-01-31 Thu>
* Jan Three DEADLINE: <2008-01-31 Thu>
* Jan Four DEADLINE: <2009-01-31 Thu>

* Feb Three DEADLINE: <2008-02-15 Thu>
* Feb One DEADLINE: <2006-02-15 Thu>
* Feb Two DEADLINE: <2007-02-15 Thu>
* Feb Four DEADLINE: <2009-02-15 Thu>

Thanks.

P.S. Examples from emacs22, but similar problems in e21.

  reply	other threads:[~2008-01-31 15:34 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31  8:37 Strange bug, request for more info Carsten Dominik
2008-01-31 10:32 ` Adam Spiers
2008-01-31 10:59   ` Hugo Schmitt
2008-01-31 11:54     ` Adam Spiers
     [not found]       ` <orgmode@adamspiers.org>
2008-01-31 16:19         ` Nick Dokos
2008-01-31 16:52           ` Adam Spiers
2008-01-31 17:35         ` Nick Dokos
2009-11-09 15:23         ` BUG: org-annotation-helper.el uses caddr without requiring cl Nick Dokos
2009-11-09 21:10           ` Sebastian Rose
2009-11-09 21:34             ` Carsten Dominik
2009-11-09 22:28               ` Sebastian Rose
2009-12-18 15:06         ` Beamer support in Org-mode Nick Dokos
2009-12-18 21:01           ` Daniel Martins
2009-12-19 22:33             ` Thomas S. Dye
2009-12-20 15:08               ` Darlan Cavalcante Moreira
2010-01-03 19:07                 ` Carsten Dominik
2010-01-03 23:22                   ` Russell Adams
2010-01-04  9:07                     ` Carsten Dominik
2010-01-04 14:49                       ` Darlan Cavalcante Moreira
2010-01-04 15:30                         ` Carsten Dominik
2010-01-05 17:21                         ` Carsten Dominik
2008-01-31 11:25   ` Strange bug, request for more info Carsten Dominik
2008-01-31 12:03     ` Adam Spiers
2008-01-31 14:09       ` Carsten Dominik
2008-01-31 15:33         ` Eric J Haywiser [this message]
2008-01-31 15:43           ` Behavior Change/Bug: Agenda sorting of deadline items v > 4.73 Carsten Dominik
2008-01-31 23:20             ` Eric J Haywiser
2008-02-01  8:28               ` Behavior Change/Bug: Agenda sorting of deadline itemsv " Egli Christian (KIRO 41)
2008-02-01 16:57                 ` Eric J Haywiser
2008-02-03  8:21                   ` Carsten Dominik
2008-01-31 13:59 ` Strange bug, request for more info Bernt Hansen
2008-01-31 19:59 ` Philip Rooke
2008-01-31 20:43   ` Jost Burkardt
2008-02-04 17:59 ` Ivan Kanis
2008-02-06 18:08 ` Jost Burkardt
2008-02-07  9:41   ` Carsten Dominik
2010-05-26  2:44 ` Bernt Hansen
2010-05-26  3:21   ` Samuel Wales
2010-05-26 11:35   ` Carsten Dominik
2010-05-27 11:39     ` Bernt Hansen
2010-05-27 17:32       ` John Wiegley
  -- strict thread matches above, loose matches on Subject: below --
2009-11-09 13:07 BUG: org-annotation-helper.el uses caddr without requiring cl Adam Spiers
2009-11-26 11:17 Beamer support in Org-mode Carsten Dominik
2009-11-26 11:26 ` Friedrich Delgado Friedrichs
2009-11-26 14:01 ` Sébastien Vauban
2009-11-26 14:54   ` Carsten Dominik
2009-11-26 17:53     ` Sébastien Vauban
2009-11-26 16:30 ` Nick Dokos
2009-11-26 16:47   ` Carsten Dominik
2009-11-26 18:29     ` Darlan Cavalcante Moreira
2009-12-10 16:09       ` Carsten Dominik
2009-12-10 16:50         ` Darlan Cavalcante Moreira
2009-12-10 17:28           ` Nick Dokos
2009-12-10 20:49             ` Mark Elston
2009-12-10 21:00               ` Thomas S. Dye
2009-12-10 22:02                 ` Mark Elston
2009-12-10 23:31                   ` Nick Dokos
2009-12-10 23:49                     ` Mark Elston
2009-12-11  8:05                       ` Carsten Dominik
2009-12-21 15:50                         ` Thomas S. Dye
2009-12-21 22:28                           ` Carsten Dominik
2009-12-10 21:05               ` Scot Becker
2009-12-15 15:51         ` Eric S Fraga
2009-12-15 19:07           ` Daniel Martins
2009-12-15 19:49             ` Darlan Cavalcante Moreira
2009-12-18 11:06               ` Adam Spiers
2009-11-26 16:49 ` Dan Davison
2009-11-26 16:57   ` Carsten Dominik
2009-11-27  8:02     ` Eric S Fraga
2009-11-27  9:09       ` Sébastien Vauban
2009-11-27 13:48         ` Carsten Dominik
2009-11-27 15:04           ` Sébastien Vauban
2009-11-27 18:40           ` Eric S Fraga
2009-11-27  8:01   ` Eric S Fraga
2009-11-26 17:04 ` Thomas S. Dye
2009-11-26 18:40   ` Dan Davison
2009-11-26 21:38     ` Sébastien Vauban
2009-11-26 21:47       ` Russell Adams
2009-11-27  8:15         ` Eric S Fraga
2009-12-04 10:23           ` Carsten Dominik
2009-11-26 23:51     ` Carsten Dominik
2009-11-27  9:13       ` Sébastien Vauban
2009-11-27 14:26       ` Stephan Schmitt
2009-12-02 16:27       ` Christian Egli
2009-11-27 14:21     ` Magnus Henoch
2009-11-27 15:31       ` Dan Davison
2009-11-27 16:43         ` S5 Slideschows / Presentations - was " Sebastian Rose
2009-11-26 17:10 ` Christoph Groth
2009-11-26 21:25   ` Sébastien Vauban
2009-11-26 18:26 ` Eric S Fraga
2009-11-29 18:03 ` Gray Calhoun
2009-11-29 20:19   ` Carsten Dominik
2009-11-30 23:21     ` Gray Calhoun

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=Pine.GSO.4.64L.0801310917440.14401@mint-square.mit.edu \
    --to=ejh1@mit.edu \
    --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).