RE: [jasspa] reread-file macro
> -----Original Message-----The command already exists (but not documented or directly defined), the
> From: thundt@... [mailto:thundt@...]
> Sent: Friday, August 24, 2001 12:27 AM
> To: email@example.com
> Subject: Re: [jasspa] reread-file macro
> Ideally I'd like a facility that monitors a buffer's file
> continuously and updates it... I use this for stuff like viewing
> log files.
macro is watch which is defined in watch.emf. Add the following to you user
define-macro-file watch watch watch-reset
Execute watch in any buffer which is a file you wish to watch, then every 10
second the watch command will check each watched buffer and reload if the
file has changed on disk. Watch only checks visible buffers, i.e. ones
displayed in a window, this help with performance as you can temporarily
hide a watch file.
Running watch in the same buffer will disable the watch.
If you run watch with an argument of 0, (esc 0 esc x watch) you can set the
watch interval in seconds. Unfortunately you cannot do that from a macro
file in the form:
0 watch 20
As I didn't implement that very well, but I will fix this.
You can run the command watch-reset to disable all watches, I advise you run
this when you have finished with watch and you find ME's performance has be
I think I will take this out of the release and add it to the submissions