* how to check and inform if visited file has been deleted
@ 2008-01-18 15:17 bdimych
2008-01-18 19:24 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 2+ messages in thread
From: bdimych @ 2008-01-18 15:17 UTC (permalink / raw)
To: Help-gnu-emacs
Hi All.
I looked for and have not found a standard way to configure emacs so that
when opened file has been deleted externally, the message box would be
displayed. I have written some workaround with separate timer, it works but
not well tested and seems too complex. Is there simpler standard way?
http://www.nabble.com/file/p14950889/deletedfile.el deletedfile.el
--
View this message in context: http://www.nabble.com/how-to-check-and-inform-if-visited-file-has-been-deleted-tp14950889p14950889.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: how to check and inform if visited file has been deleted
2008-01-18 15:17 how to check and inform if visited file has been deleted bdimych
@ 2008-01-18 19:24 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman (gmail) @ 2008-01-18 19:24 UTC (permalink / raw)
To: bdimych; +Cc: Help-gnu-emacs
bdimych wrote:
> Hi All.
>
> I looked for and have not found a standard way to configure emacs so that
> when opened file has been deleted externally, the message box would be
> displayed. I have written some workaround with separate timer, it works but
> not well tested and seems too complex. Is there simpler standard way?
>
> http://www.nabble.com/file/p14950889/deletedfile.el deletedfile.el
Maybe you want to put your function on kill-buffer-hook instead of using
a timer? That could perhaps simplify the function too.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-18 19:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-18 15:17 how to check and inform if visited file has been deleted bdimych
2008-01-18 19:24 ` Lennart Borgman (gmail)
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).