[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-today broken
From: |
Marcin Borkowski |
Subject: |
Re: [O] org-today broken |
Date: |
Fri, 01 Feb 2019 14:23:03 +0100 |
User-agent: |
mu4e 1.1.0; emacs 27.0.50 |
On 2019-02-01, at 13:55, Marco Wahl <address@hidden> wrote:
> Kyle Meyer <address@hidden> writes:
>
>> Samuel Wales <address@hidden> writes:
>>
>>> recent versions of maint and probably master have nil instead of
>>> current time in org-today.
>>>
>>> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>>> time-subtract(nil (0 0 0))
>>> org-today()
>>> (message "org today is %s" (org-today))
>>
>> Thanks for the report. I introduced this and a handful of other related
>> incompatibilities with my port of Emacs's c75f505de. I've reverted the
>> problematic spots.
>
> Thanks for the revert!
>
> Occasionally I like to bend time to see what the agenda would look like
> if another day was current. This can be achieved conveniently when
> solely function "current-time" is the source for the current time.
>
> So I'm all for using the explicit calls to current-time instead of using
> alternatve sources for the current time.
You are aware that datefudge exists, aren't you?
http://manpages.ubuntu.com/manpages/trusty/man1/datefudge.1.html
My 2 cents,
--
Marcin Borkowski
http://mbork.pl