emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Question about org-agenda-goto-today (bug?)


From: Bastien
Subject: Re: [O] Question about org-agenda-goto-today (bug?)
Date: Fri, 26 Apr 2013 18:09:00 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Robert,

Robert Goldman <address@hidden> writes:

> I am finding that when I use this command (bound to "." in the org
> agenda), I often do NOT go to today.
>
> Looking at the code, it seems like org-mode may be guessing today based
> on text markup:
>
> (let ((tdpos (text-property-any (point-min) (point-max) 'org-today t)))
>
> We jump to this position, instead of checking the clock, if we can find it.
>
> If it helps, I often leave emacs running for days at a time, which I
> suspect could be confusing it about what today is.  

Indeed.

I suggest to simply refresh the agenda before jumping to today's date.

> Perhaps it would be an improvement to look at what we find at TDPOS and
> check to verify that it corresponds somehow to org-today?

We could do that, but it would solve only half of the problem, as you
would still need to jump to today's date... and this date is set when
the agenda is generated.

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]