From: jmcbray@carcosa.net (Jason F. McBrayer)
To: David Thole <dthole@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Auto-saving/loading files (without prompts)
Date: Fri, 06 Mar 2009 10:21:07 -0500 [thread overview]
Message-ID: <m17i32u17g.fsf@bertrand.carcosa.net> (raw)
In-Reply-To: <alpine.DEB.2.00.0903051232580.5373@thedarktrumpet.com> (David Thole's message of "Thu, 5 Mar 2009 12:41:57 -0600 (CST)")
David Thole <dthole@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 jmcbray@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 |
next prev parent reply other threads:[~2009-03-06 15:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-02 18:03 Switching between many contexts Daniel Clemente
2009-03-02 18:21 ` Samuel Wales
2009-03-02 18:34 ` Bernt Hansen
2009-03-03 11:27 ` Daniel Clemente
2009-03-03 13:05 ` Matthew Lundin
2009-03-03 13:31 ` Carsten Dominik
2009-03-03 6:20 ` Manuel Hermenegildo
2009-03-04 6:17 ` Carsten Dominik
2009-03-04 10:01 ` Daniel Clemente
2009-03-05 18:41 ` Auto-saving/loading files (without prompts) David Thole
2009-03-06 15:21 ` Jason F. McBrayer [this message]
2009-03-02 18:31 ` Switching between many contexts Bernt Hansen
2009-03-02 21:47 ` Matthew Lundin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m17i32u17g.fsf@bertrand.carcosa.net \
--to=jmcbray@carcosa.net \
--cc=dthole@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).