[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-sort-agenda-notime-is-late is mishandled in org-cmp-ts
From: |
Bastien |
Subject: |
Re: [O] org-sort-agenda-notime-is-late is mishandled in org-cmp-ts |
Date: |
Fri, 03 Jan 2014 16:02:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Hi,
Michael Hoffman <address@hidden> 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