unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chetan Pandya <pandyacus@sbcglobal.net>
Cc: emacs-devel@gnu.org
Subject: Re: More than two choices in query
Date: Sat, 07 Feb 2009 10:21:36 -0500	[thread overview]
Message-ID: <jwvljsijmz2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <286410.9156.qm@web83207.mail.mud.yahoo.com> (Chetan Pandya's message of "Sat, 7 Feb 2009 07:01:18 -0800 (PST)")

> 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	other threads:[~2009-02-07 15:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-07 15:01 More than two choices in query Chetan Pandya
2009-02-07 15:21 ` Stefan Monnier [this message]
2009-02-07 19:48   ` Chetan Pandya
2009-02-08  3:24     ` Stefan Monnier
2009-02-07 20:07 ` Geoff Gole

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvljsijmz2.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=pandyacus@sbcglobal.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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).