emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Hoffman <gmane3-hoffman@sneakemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-sort-agenda-notime-is-late is mishandled in org-cmp-ts
Date: Thu, 02 Jan 2014 11:58:32 -0500	[thread overview]
Message-ID: <la45rc$8u6$1@ger.gmane.org> (raw)
In-Reply-To: <CANMOoG=O45Wv9QjPpg9v8jf3ERCWFeAzYThmdWAazSPs31tFKA@mail.gmail.com>

On 12/01/2013 12:12 PM, Michael Crouch wrote:
> Bug report for 8.2.3c:
>
> When org-agenda-sorting-strategy is set to deadline-up (or similar
> values), the Global Todo list always places non-timestamped entries at
> the beginning, even when org-sort-agenda-notime-is-late is true.  This
> is inconsistent with the behavior when org-agenda-sorting-strategy is
> time-up.
>
> I believe the problem is that the org-cmp-ts function copied a line from
> the older org-cmp-time function:
> (def (if org-sort-agenda-notime-is-late 9901 -1))
>
> 9901 is later than all times of day, but not later than all date/time
> stamps.

I get this too on org 8.2.4. Replacing 9901 with most-positive-fixnum 
fixes the problem.

Michael Hoffman

  reply	other threads:[~2014-01-02 17:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-01 17:12 org-sort-agenda-notime-is-late is mishandled in org-cmp-ts Michael Crouch
2014-01-02 16:58 ` Michael Hoffman [this message]
2014-01-03 15:02   ` 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='la45rc$8u6$1@ger.gmane.org' \
    --to=gmane3-hoffman@sneakemail.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).