emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Auto-saving/loading files (without prompts)


From: Jason F. McBrayer
Subject: Re: [Orgmode] Auto-saving/loading files (without prompts)
Date: Fri, 06 Mar 2009 10:21:07 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

David Thole <address@hidden> 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                    address@hidden  |  
| 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    |  




reply via email to

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