emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-x C-v considered harmful


From: Juri Linkov
Subject: Re: C-x C-v considered harmful
Date: Fri, 10 Jul 2009 01:10:47 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

> This is the kind of thing for which it's good to both (a) provide reasonable
> default behavior and (b) make it easy for users to change/override that
> behavior. IOW, it's fine to do something smart here, but that should not be
> hard-coded.

This is already configurable via `set-process-query-on-exit-flag':

  Specify if query is needed for process when Emacs is exited.
  If the second argument flag is non-nil, Emacs will query the user before
  exiting if process is running.

We can just extend its semantics to "when Emacs is exited or
a buffer is killed".

This option is queried via `process-query-on-exit-flag'
as you can see in the code I sent.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]