all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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)

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.