* Re: An easy question: how to quickly reload a file changed outside of emacs?
[not found] <3DDD5E72.7E5F43B5@example.net>
@ 2002-11-25 14:32 ` kgold
2002-11-25 15:47 ` Matt Armstrong
0 siblings, 1 reply; 2+ messages in thread
From: kgold @ 2002-11-25 14:32 UTC (permalink / raw)
You are describing auto-revert mode.
(autoload 'auto-revert-mode "autorevert" nil t)
(autoload 'turn-on-auto-revert-mode "autorevert" nil nil)
(autoload 'global-auto-revert-mode "autorevert" nil t)
(global-auto-revert-mode 1)
(setq auto-revert-interval 2)
bc <bc@example.net> writes:
>
> Is there an easy way? I usually do this when I'm looking at
> a log file that is being written to by a program, or I'm
> in the editor and run a command that updates the file as
> part of a build process or something. Then I usually
> kill the buffer and ctrl-x ctrl-f it again. Is there an
> easier way? I know it's risky, but I hate having to
> answer the "file changed" questions etc. otherwise.
>
> Thanks,
> bc
--
--
Ken Goldman kgold@watson.ibm.com 914-784-7646
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: An easy question: how to quickly reload a file changed outside of emacs?
2002-11-25 14:32 ` An easy question: how to quickly reload a file changed outside of emacs? kgold
@ 2002-11-25 15:47 ` Matt Armstrong
0 siblings, 0 replies; 2+ messages in thread
From: Matt Armstrong @ 2002-11-25 15:47 UTC (permalink / raw)
kgold@watson.ibm.com (kgold) writes:
> You are describing auto-revert mode.
>
> (global-auto-revert-mode 1)
>
> bc <bc@example.net> writes:
>>
>> Is there an easy way? I usually do this when I'm looking at
>> a log file that is being written to by a program, or I'm
>> in the editor and run a command that updates the file as
>> part of a build process or something. Then I usually
>> kill the buffer and ctrl-x ctrl-f it again. Is there an
>> easier way? I know it's risky, but I hate having to
>> answer the "file changed" questions etc. otherwise.
Or C-x C-v <ret>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-25 15:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3DDD5E72.7E5F43B5@example.net>
2002-11-25 14:32 ` An easy question: how to quickly reload a file changed outside of emacs? kgold
2002-11-25 15:47 ` Matt Armstrong
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).