help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: refreshing all frames from files


From: Kevin Rodgers
Subject: Re: refreshing all frames from files
Date: Thu, 01 Mar 2007 20:50:56 -0700
User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)

Gary Wessle wrote:
Xavier Maillard <address@hidden> writes:

Gary Wessle <address@hidden> wrote:

 the files get changed by another process and I want to view the
 changes with out having to do C-x C-v for each and every one.
`M-x global-auto-revert-mode' avoids the need to do anything explicitly.
the mode is ON.
how do you fire it?
It is *automatic* when ON. That is, just activate this minor-mode
globally and all will be okay.

Xavier

any way to make the buffer "once it gets updated" to show the last
line and not the beginning as it does now, i.e, move the pointer down
to the end so that I can see whats just been inserted?

From `M-x finder-commentary RET autorevert':

,----
| After reverting a file buffer, Auto Revert Mode normally puts point
| at the same position that a regular manual revert would.  However,
| there is one exception to this rule.  If point is at the end of the
| buffer before reverting, it stays at the end.  Similarly if point
| is displayed at the end of a file buffer in any window, it will stay
| at the end of the buffer in that window, even if the window is not
| selected.  This way, you can use Auto Revert Mode to `tail' a file.
| Just put point at the end of the buffer and it will stay there.
| These rules apply to file buffers. For non-file buffers, the
| behavior may be mode dependent.
|
| While you can use Auto Revert Mode to tail a file, this package
| contains a third minor mode, Auto Revert Tail Mode, which does so
| more efficiently, as long as you are sure that the file will only
| change by growing at the end.  It only appends the new output,
| instead of reverting the entire buffer.  It does so even if the
| buffer contains unsaved changes.  (Because they will not be lost.)
`----

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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