That's hard work for an electrician.
On Wednesday, April 30, 2014 9:14:22 AM UTC+1, Tim Streater wrote:
In article , The Natural Philosopher
wrote:
Now Emacs takes the original file adds a tilde to it an creates a new
one of the original name. Vi takes the old file and alters it.
Result is, if a process has the file open emacs doesn't actually change
the working file contents.
You haver to restart the whole daemon. Which he failed to do of course.
Don't you have to do that anyway, however you edit it?
No. You send the daemon a SIGHUP and it rereads. If it rereads by rewinding
the existing filehandle and rereading (rather than reopening the file name),
the filehandle will be a handle to the *old* file.
I have to say, keeping the config file open seems barking to me.
The daemon will
have read its config file in at startup. So if you change it you have
to restart it so it does that again. Or was this one which re-read it
from time to time?
|