[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: An easy question: how to quickly reload a file changed outside of
From: |
kgold |
Subject: |
Re: An easy question: how to quickly reload a file changed outside of emacs? |
Date: |
25 Nov 2002 14:32:00 GMT |
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
- Re: An easy question: how to quickly reload a file changed outside of emacs?,
kgold <=