emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Question about org-agenda-goto-today (bug?)
@ 2013-04-26 15:37 Robert Goldman
  2013-04-26 16:09 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Goldman @ 2013-04-26 15:37 UTC (permalink / raw)
  To: Org Mode

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.  E.g., this just
happened to me when I tried to update my org-agenda after having been
away from it overnight.

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-26 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-26 15:37 Question about org-agenda-goto-today (bug?) Robert Goldman
2013-04-26 16:09 ` 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).