emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Michael Hoffman <gmane3-hoffman@sneakemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-sort-agenda-notime-is-late is mishandled in org-cmp-ts
Date: Fri, 03 Jan 2014 16:02:12 +0100	[thread overview]
Message-ID: <87iou1cdmz.fsf@bzg.ath.cx> (raw)
In-Reply-To: <la45rc$8u6$1@ger.gmane.org> (Michael Hoffman's message of "Thu, 02 Jan 2014 11:58:32 -0500")

Hi,

Michael Hoffman <gmane3-hoffman@sneakemail.com> writes:

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

This is now fixed in maint.  Thanks for reporting this and for
providing the fix.

-- 
 Bastien

      reply	other threads:[~2014-01-03 15:02 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
2014-01-03 15:02   ` Bastien [this message]

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=87iou1cdmz.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=gmane3-hoffman@sneakemail.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).