* refreshing all frames from files
@ 2007-03-01 1:44 Gary Wessle
2007-03-01 2:16 ` weber
0 siblings, 1 reply; 13+ messages in thread
From: Gary Wessle @ 2007-03-01 1:44 UTC (permalink / raw)
To: help-gnu-emacs
Hi
often times I would have many files visited and thus few windows in
the frame, is there a key hit to refresh all of them at once instead
of C-x C-v for each and every one?
thanks
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: refreshing all frames from files
2007-03-01 1:44 refreshing all frames from files Gary Wessle
@ 2007-03-01 2:16 ` weber
2007-03-01 3:00 ` Gary Wessle
0 siblings, 1 reply; 13+ messages in thread
From: weber @ 2007-03-01 2:16 UTC (permalink / raw)
To: help-gnu-emacs
On 28 fev, 22:44, Gary Wessle <phd...@yahoo.com> wrote:
> Hi
>
> often times I would have many files visited and thus few windows in
> the frame, is there a key hit to refresh all of them at once instead
> of C-x C-v for each and every one?
>
> thanks
What do you mean refresh?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: refreshing all frames from files
2007-03-01 2:16 ` weber
@ 2007-03-01 3:00 ` Gary Wessle
2007-03-01 4:28 ` Matthew Flaschen
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Gary Wessle @ 2007-03-01 3:00 UTC (permalink / raw)
To: help-gnu-emacs
"weber" <hugows@gmail.com> writes:
> On 28 fev, 22:44, Gary Wessle <phd...@yahoo.com> wrote:
> > Hi
> >
> > often times I would have many files visited and thus few windows in
> > the frame, is there a key hit to refresh all of them at once instead
> > of C-x C-v for each and every one?
> >
> > thanks
>
> What do you mean refresh?
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.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: refreshing all frames from files
2007-03-01 3:00 ` Gary Wessle
@ 2007-03-01 4:28 ` Matthew Flaschen
2007-03-01 5:25 ` Kevin Rodgers
[not found] ` <mailman.241.1172726970.7795.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 13+ messages in thread
From: Matthew Flaschen @ 2007-03-01 4:28 UTC (permalink / raw)
To: emacs
[-- Attachment #1.1: Type: text/plain, Size: 1004 bytes --]
Gary Wessle wrote:
> "weber" <hugows@gmail.com> writes:
>
>> On 28 fev, 22:44, Gary Wessle <phd...@yahoo.com> wrote:
>>> Hi
>>>
>>> often times I would have many files visited and thus few windows in
>>> the frame, is there a key hit to refresh all of them at once instead
>>> of C-x C-v for each and every one?
>>>
>>> thanks
>> What do you mean refresh?
> 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.
I just worked up the below. I set the key combo As C-x v, which is
unused by default. However, you can change it. Put it in ~/.emacs:
Matthew Flaschen
---------------------------------------------------------------------
(defun refresh-all-buffers ()
"Refreshes all buffers from disk"
(interactive)
(mapc
(lambda (buffer)
(if (buffer-file-name buffer)
(find-alternate-file (buffer-file-name buffer))))
(buffer-list)))
(global-set-key [?\C-x ?v] 'refresh-all-buffers)
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: refreshing all frames from files
2007-03-01 3:00 ` Gary Wessle
2007-03-01 4:28 ` Matthew Flaschen
@ 2007-03-01 5:25 ` Kevin Rodgers
[not found] ` <mailman.241.1172726970.7795.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 13+ messages in thread
From: Kevin Rodgers @ 2007-03-01 5:25 UTC (permalink / raw)
To: help-gnu-emacs
Gary Wessle wrote:
> "weber" <hugows@gmail.com> writes:
>> On 28 fev, 22:44, Gary Wessle <phd...@yahoo.com> wrote:
>>> often times I would have many files visited and thus few windows in
>>> the frame, is there a key hit to refresh all of them at once instead
>>> of C-x C-v for each and every one?
>>>
>> What do you mean refresh?
> 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.
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: refreshing all frames from files
[not found] ` <mailman.241.1172726970.7795.help-gnu-emacs@gnu.org>
@ 2007-03-01 6:11 ` Gary Wessle
2007-03-01 11:57 ` Xavier Maillard
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Gary Wessle @ 2007-03-01 6:11 UTC (permalink / raw)
To: help-gnu-emacs
Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:
> Gary Wessle wrote:
> > "weber" <hugows@gmail.com> writes:
> >> On 28 fev, 22:44, Gary Wessle <phd...@yahoo.com> wrote:
> >>> often times I would have many files visited and thus few windows in
> >>> the frame, is there a key hit to refresh all of them at once instead
> >>> of C-x C-v for each and every one?
> >>>
> >> What do you mean refresh?
> > 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?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: refreshing all frames from files
2007-03-01 6:11 ` Gary Wessle
@ 2007-03-01 11:57 ` Xavier Maillard
2007-03-01 12:07 ` weber
[not found] ` <mailman.244.1172750433.7795.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 13+ messages in thread
From: Xavier Maillard @ 2007-03-01 11:57 UTC (permalink / raw)
To: Gary Wessle; +Cc: help-gnu-emacs
Gary Wessle <phddas@yahoo.com> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: refreshing all frames from files
2007-03-01 6:11 ` Gary Wessle
2007-03-01 11:57 ` Xavier Maillard
@ 2007-03-01 12:07 ` weber
[not found] ` <mailman.244.1172750433.7795.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 13+ messages in thread
From: weber @ 2007-03-01 12:07 UTC (permalink / raw)
To: help-gnu-emacs
On 28 fev, 22:11, Gary Wessle <phd...@yahoo.com> wrote:
> Kevin Rodgers <kevin.d.rodg...@gmail.com> writes:
> > Gary Wessle wrote:
> > > "weber" <hug...@gmail.com> writes:
> > >> On 28 fev, 22:44, Gary Wessle <phd...@yahoo.com> wrote:
> > >>> often times I would have many files visited and thus few windows in
> > >>> the frame, is there a key hit to refresh all of them at once instead
> > >>> of C-x C-v for each and every one?
>
> > >> What do you mean refresh?
> > > 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?
You don't fire it, it will detect changes and revert (update) files.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: refreshing all frames from files
[not found] ` <mailman.244.1172750433.7795.help-gnu-emacs@gnu.org>
@ 2007-03-02 1:27 ` Gary Wessle
2007-03-02 3:50 ` Kevin Rodgers
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Gary Wessle @ 2007-03-02 1:27 UTC (permalink / raw)
To: help-gnu-emacs
Xavier Maillard <zedek@gnu.org> writes:
> Gary Wessle <phddas@yahoo.com> 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?
thanks
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: refreshing all frames from files
2007-03-02 1:27 ` Gary Wessle
@ 2007-03-02 3:50 ` Kevin Rodgers
[not found] ` <mailman.296.1172813363.7795.help-gnu-emacs@gnu.org>
2007-03-03 5:20 ` Stefan Monnier
2 siblings, 0 replies; 13+ messages in thread
From: Kevin Rodgers @ 2007-03-02 3:50 UTC (permalink / raw)
To: help-gnu-emacs
Gary Wessle wrote:
> Xavier Maillard <zedek@gnu.org> writes:
>
>> Gary Wessle <phddas@yahoo.com> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: refreshing all frames from files
[not found] ` <mailman.296.1172813363.7795.help-gnu-emacs@gnu.org>
@ 2007-03-02 17:21 ` Gary Wessle
0 siblings, 0 replies; 13+ messages in thread
From: Gary Wessle @ 2007-03-02 17:21 UTC (permalink / raw)
To: help-gnu-emacs
Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:
> Gary Wessle wrote:
> > Xavier Maillard <zedek@gnu.org> writes:
> >
> >> Gary Wessle <phddas@yahoo.com> 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':
>
which gives me "Can't find library autorevert, well, that is strange
when I just customized some autorevert options. I did not expect this
return.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: refreshing all frames from files
2007-03-02 1:27 ` Gary Wessle
2007-03-02 3:50 ` Kevin Rodgers
[not found] ` <mailman.296.1172813363.7795.help-gnu-emacs@gnu.org>
@ 2007-03-03 5:20 ` Stefan Monnier
2007-03-03 17:01 ` Gary Wessle
2 siblings, 1 reply; 13+ messages in thread
From: Stefan Monnier @ 2007-03-03 5:20 UTC (permalink / raw)
To: help-gnu-emacs
> 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?
You may also want to take a look at tail-mode.el (not bundled with Emacs).
Stefan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: refreshing all frames from files
2007-03-03 5:20 ` Stefan Monnier
@ 2007-03-03 17:01 ` Gary Wessle
0 siblings, 0 replies; 13+ messages in thread
From: Gary Wessle @ 2007-03-03 17:01 UTC (permalink / raw)
To: help-gnu-emacs
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> > 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?
>
> You may also want to take a look at tail-mode.el (not bundled with Emacs).
>
>
> Stefan
the only link I found is broken
http://dapfy.bei.t-online.de/tail-mode.el
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2007-03-03 17:01 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-01 1:44 refreshing all frames from files Gary Wessle
2007-03-01 2:16 ` weber
2007-03-01 3:00 ` Gary Wessle
2007-03-01 4:28 ` Matthew Flaschen
2007-03-01 5:25 ` Kevin Rodgers
[not found] ` <mailman.241.1172726970.7795.help-gnu-emacs@gnu.org>
2007-03-01 6:11 ` Gary Wessle
2007-03-01 11:57 ` Xavier Maillard
2007-03-01 12:07 ` weber
[not found] ` <mailman.244.1172750433.7795.help-gnu-emacs@gnu.org>
2007-03-02 1:27 ` Gary Wessle
2007-03-02 3:50 ` Kevin Rodgers
[not found] ` <mailman.296.1172813363.7795.help-gnu-emacs@gnu.org>
2007-03-02 17:21 ` Gary Wessle
2007-03-03 5:20 ` Stefan Monnier
2007-03-03 17:01 ` Gary Wessle
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.