unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: daniel@bigwalter.net (Daniel Jensen)
To: help-gnu-emacs@gnu.org
Subject: Re: "Active processes exist", can I answer yes by default?
Date: Fri, 13 Apr 2007 19:24:25 +0200	[thread overview]
Message-ID: <87mz1crxva.fsf@orme.bigwalter.net> (raw)
In-Reply-To: mailman.2043.1176483743.7795.help-gnu-emacs@gnu.org

Ismael Valladolid Torres <ivalladt@punkass.com> writes:

> Whenever a shell is active and I quit Emacs, I get this message:
>
> "Active processes exist; kill them and exit anyway? (yes or no)"
>
> I always answer yes so I wonder if there's any chance of making it
> being answered yes by default so I am never asked.

This is what I use:

(add-hook 'shell-mode-hook
          (lambda ()
            (set-process-query-on-exit-flag
              (get-buffer-process (current-buffer)) nil)))

It is only in effect for shell mode, because I want Emacs to query me
for other processes.

       reply	other threads:[~2007-04-13 17:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2043.1176483743.7795.help-gnu-emacs@gnu.org>
2007-04-13 17:24 ` Daniel Jensen [this message]
2007-04-14 11:42   ` "Active processes exist", can I answer yes by default? Ismael Valladolid Torres
     [not found]   ` <mailman.2067.1176551362.7795.help-gnu-emacs@gnu.org>
2007-04-14 13:44     ` Daniel Jensen
2007-04-13 16:55 Ismael Valladolid Torres
2007-04-13 17:44 ` Exal de Jesus Garcia Carrillo

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=87mz1crxva.fsf@orme.bigwalter.net \
    --to=daniel@bigwalter.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=indiscipline@gmail.com \
    /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.
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).