* org-sort-agenda-notime-is-late is mishandled in org-cmp-ts
@ 2013-12-01 17:12 Michael Crouch
2014-01-02 16:58 ` Michael Hoffman
0 siblings, 1 reply; 3+ messages in thread
From: Michael Crouch @ 2013-12-01 17:12 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 783 bytes --]
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 am using org-mode version 8.2.3c / 20131125 from elpa on GNU Emacs 24.3.1
(x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00) of 2013-10-27
Please let me know if there are any other details I can provide.
Thanks,
Michael Crouch
[-- Attachment #2: Type: text/html, Size: 954 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-sort-agenda-notime-is-late is mishandled in org-cmp-ts
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
0 siblings, 1 reply; 3+ messages in thread
From: Michael Hoffman @ 2014-01-02 16:58 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-sort-agenda-notime-is-late is mishandled in org-cmp-ts
2014-01-02 16:58 ` Michael Hoffman
@ 2014-01-03 15:02 ` Bastien
0 siblings, 0 replies; 3+ messages in thread
From: Bastien @ 2014-01-03 15:02 UTC (permalink / raw)
To: Michael Hoffman; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-03 15:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).