From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: daniel@bigwalter.net (Daniel Jensen) Newsgroups: gmane.emacs.help Subject: Re: "Active processes exist", can I answer yes by default? Date: Fri, 13 Apr 2007 19:24:25 +0200 Message-ID: <87mz1crxva.fsf@orme.bigwalter.net> References: Reply-To: indiscipline@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176485801 27943 80.91.229.12 (13 Apr 2007 17:36:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Apr 2007 17:36:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 13 19:36:40 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HcPhP-0005vs-3W for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Apr 2007 19:36:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HcPlg-0003O9-NE for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Apr 2007 13:41:04 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-X-Trace: individual.net ldn+eBc1/ROZX6sg4jsYdgM6UI9p5gb3dnlfxvaYI+s/MnvE1k X-Face: SNGmwsN&0DaHhS0!*%\@y"Wc^).,<; VsqY#}K/NJ:A Z6_>Md7x$Z9C1%BAu41M'12-8(f2{H*8OsnYv,K+y.szl1K>}{uC/>2?; k[KUiD=$}@z>odk|7Tk7i $A|{j7LhTt!:SdVp5Z, kKA247}--"-QLedxCbw|#&bh=R]Rd)kx{q+T'fG)9ayG`+\@g'3vx1Fd3bl -`3}Guvr!A"Z);"$|]CXW>YR5m"<[L User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) Cancel-Lock: sha1:ThYUIHYptgfQ1OmNkgLfIS96T/w= Original-Xref: shelby.stanford.edu gnu.emacs.help:147045 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42649 Archived-At: Ismael Valladolid Torres 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.