From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: RFC: DWIM for killing *shell* and a more process-query-on-exit Date: Sun, 29 Mar 2015 09:23:07 +0200 Message-ID: References: <55179479.2030109@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427613851 928 80.91.229.3 (29 Mar 2015 07:24:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Mar 2015 07:24:11 +0000 (UTC) Cc: Emacs developers To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 29 09:24:03 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yc7Z4-0004Jt-1h for ged-emacs-devel@m.gmane.org; Sun, 29 Mar 2015 09:23:22 +0200 Original-Received: from localhost ([::1]:56225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yc7Z3-0003o7-7u for ged-emacs-devel@m.gmane.org; Sun, 29 Mar 2015 03:23:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yc7Yz-0003kA-GF for emacs-devel@gnu.org; Sun, 29 Mar 2015 03:23:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yc7Yw-0000lh-AX for emacs-devel@gnu.org; Sun, 29 Mar 2015 03:23:17 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:47706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yc7Yw-0000lS-3z for emacs-devel@gnu.org; Sun, 29 Mar 2015 03:23:14 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3lF7gN5fHJz3hkPb; Sun, 29 Mar 2015 09:23:12 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3lF7gN40KHzvh1y; Sun, 29 Mar 2015 09:23:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id S0GzS160IpP9; Sun, 29 Mar 2015 09:23:11 +0200 (CEST) X-Auth-Info: 7Lt85dpYbaf8+XAnK/R16Vt7BqyUa+qq1B2F+sWyaUTrFr7dtKYfz5G5TxbiMDcX Original-Received: from linux.local (host-188-174-198-116.customer.m-online.net [188.174.198.116]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 29 Mar 2015 09:23:11 +0200 (CEST) Original-Received: by linux.local (Postfix, from userid 501) id 5CD421E582D; Sun, 29 Mar 2015 09:23:08 +0200 (CEST) X-Yow: .. bleakness.... desolation.... plastic forks... In-Reply-To: <55179479.2030109@dancol.org> (Daniel Colascione's message of "Sat, 28 Mar 2015 22:58:17 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:184502 Archived-At: Daniel Colascione writes: > @@ -1156,28 +1157,31 @@ This function returns FLAG. */) > return flag; > } > > -DEFUN ("set-process-query-on-exit-flag", > - Fset_process_query_on_exit_flag, Sset_process_query_on_exit_flag, > +DEFUN ("set-process-query-on-exit", > + Fset_process_query_on_exit, Sset_process_query_on_exit, This should be called set-process-query-on-exit-function. > @@ -1449,7 +1453,7 @@ usage: (make-process &rest ARGS) */) > pset_command (XPROCESS (proc), Fcopy_sequence (command)); > > if (tem = Fplist_get (contact, QCnoquery), !NILP (tem)) > - XPROCESS (proc)->kill_without_query = 1; > + XPROCESS (proc)->query_on_exit = tem; This inverts the meaning of :noquery. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."