David Thole <dth...@gmail.com> writes:

> The main thing I'd like to fix if the overal solution doesn't work is
> a way to reload the file without confirming.  So if I try to refresh
> the agenda buffer that it would automatically reload the file too,
> without confirmation.  I have an emacs lisp command I created that
> does this for me.

auto-revert-mode; see also global-auto-revert-mode.  You may have lost
work if you check stuff out over uncommitted changes, but I gather
you're aware of that and have a workflow that avoids it.

--8<---------------cut here---------------start------------->8---
auto-revert-mode is an interactive compiled Lisp function in
`autorevert.el'.

(auto-revert-mode &optional arg)

Toggle reverting buffer when file on disk changes.

With arg, turn Auto Revert mode on if and only if arg is positive.
This is a minor mode that affects only the current buffer.
Use `global-auto-revert-mode' to automatically revert all buffers.
Use `auto-revert-tail-mode' if you know that the file will only grow
without being changed in the part that is already in the buffer.
--8<---------------cut here---------------end--------------->8---


-- 
+-----------------------------------------------------------+  
| Jason F. McBrayer                    jmcb...@carcosa.net  |  
| If someone conquers a thousand times a thousand others in |  
| battle, and someone else conquers himself, the latter one |  
| is the greatest of all conquerors.  --- The Dhammapada    |  


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to