From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: New customization option for killing processes without asking Date: Thu, 20 Oct 2016 19:07:32 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1477015716 10421 195.159.176.226 (21 Oct 2016 02:08:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2016 02:08:36 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 To: Philipp Stephani , Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 21 04:08:31 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxPFl-00085K-HL for ged-emacs-devel@m.gmane.org; Fri, 21 Oct 2016 04:08:13 +0200 Original-Received: from localhost ([::1]:58053 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxPFm-00029d-Ll for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2016 22:08:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxPFG-00029Y-BX for emacs-devel@gnu.org; Thu, 20 Oct 2016 22:07:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxPFF-0004sH-0X for emacs-devel@gnu.org; Thu, 20 Oct 2016 22:07:42 -0400 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:34096) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bxPFE-0004qV-Ki for emacs-devel@gnu.org; Thu, 20 Oct 2016 22:07:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject; bh=4jHaAsIBuaVMDM0x/MbHdC/koBy9bFDmOXRLDbKP6Ng=; b=ChA+/GBEtNVMHXElXD7HlaFx76hb4/3nOHTdZcxEWkHC3QTJNia58/MJCxtfNJYW2p5sfRzZcT3cZpAljZzY1zK+AoLiPY1oCv3+iPEz93ue9YqZnKBG9rXS6HfbHVvl9WqQhlzAt058kZZg1h5OBsxoYV/+jWLKF5ltwBN1gECYwIMHjtsixgnE7ZR0N2AYPgAErFczkQp4Xg7HiE0xHHlud5EP4AmSc+yDMXjMfbqGj/J3jYgGNGcy6ttrAsOpFCA//lOR8hsG8E1ccKsIcZo8DRIomoifTTixTIH3xp/fjWhOMGkN3ESdkS4/r3OgKHmumxxhzCXTPEHVmXLoXA==; Original-Received: from [2620:0:1008:fd00:255e:6728:f020:b78] by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bxPFC-0005sG-Er; Thu, 20 Oct 2016 19:07:38 -0700 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:208560 Archived-At: On 09/27/2016 11:53 AM, Philipp Stephani wrote: > Hi, > > there seem to be sufficiently many people annoyed by the "Active > processes exist; kill them and exit anyway" prompt (see > e.g. http://stackoverflow.com/q/2706527/178761) that I created a new > customization option to make prompting optional. I've attached a patch, > which I can push to master unless there are complaints. > On a related note, I think I have a patch somewhere (maybe I even sent it to emacs-devel?) that makes comint behave like common terminal emulators with respect to killing subprocesses: kill without prompting if the foreground process is the shell, and prompt otherwise.