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

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