emacs-devel
[Top][All Lists]
Advanced

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

Re: More than two choices in query


From: Stefan Monnier
Subject: Re: More than two choices in query
Date: Sat, 07 Feb 2009 10:21:36 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> There was a question some time back if there is a way to query with
> more than two choices (y/n).  Was there a resolution of that question
> or everyone who needs something like that is supposed to implement
> their own solution?

There's still no predefined function for that, AFAIK.

> I start firefox with browse-url. When I try to exit Emacs, it shows me
> active process and gives me two choices, either don't exit Emacs or
> kill Emacs and take down firefox as well.

IIUC the problem here is not really the prompt but the fact that the
C code of Emacs does not offer any way to exit Emacs without killing the
subprocesses (no way to "detach" from them).  If this were possible
a simple y/n prompt would still be sufficient, where "y" means "kill the
process", "n" means "don't kill but exit nevertheless" and C-g would
mean "don't exit".


        Stefan




reply via email to

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