Alan Schmitt writes:
> I have some files that are changed on disk by an external process, and
> it seems that calling org-agenda does not see the changes until I visit
> the file in emacs. The buffers are loaded and they are auto-reverted,
> but for some reason (some cache somewhere?) their contents are not
> up-to-date with what is produced by org-agenda.
>
> Is there a command to refresh such files? Should I programatically visit
> them? (And if so, do you have a suggestion as to which command I should
> use, I could not find one?)

I occasionally run in to this as well, using webdav to sync my org
files. Currently using org-revert-all-org-buffers to revert all Org
buffers, followed by org-agenda-redo (bound to r in the agenda view) to
rebuild the agenda.

The help text for org-revert-all-org-buffers describes a workflow for a
set of org files tracked in a VCS, including the
org-save-all-org-buffers function. I've been getting by just being
rigourous about saving files when I modify them, but adopting a similar
workflow sounds like it could be useful.

--
Pete

Reply via email to