From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69317: 30.0.50; RFE: not waiting for a permission to kill a dead process Date: Fri, 23 Feb 2024 09:58:33 +0200 Message-ID: <86frxj1uja.fsf@gnu.org> References: <874jdzc48c.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34888"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69317@debbugs.gnu.org To: sds@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 23 09:00:21 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rdQTl-0008sC-F8 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Feb 2024 09:00:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdQT8-0000OR-2R; Fri, 23 Feb 2024 02:59:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdQT6-0000O3-RR for bug-gnu-emacs@gnu.org; Fri, 23 Feb 2024 02:59:40 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdQT6-0007zz-Iz for bug-gnu-emacs@gnu.org; Fri, 23 Feb 2024 02:59:40 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdQTT-0002ru-Ly for bug-gnu-emacs@gnu.org; Fri, 23 Feb 2024 03:00:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Feb 2024 08:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69317 X-GNU-PR-Package: emacs Original-Received: via spool by 69317-submit@debbugs.gnu.org id=B69317.170867514710820 (code B ref 69317); Fri, 23 Feb 2024 08:00:03 +0000 Original-Received: (at 69317) by debbugs.gnu.org; 23 Feb 2024 07:59:07 +0000 Original-Received: from localhost ([127.0.0.1]:48048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdQSY-0002oQ-1X for submit@debbugs.gnu.org; Fri, 23 Feb 2024 02:59:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdQSW-0002nf-3D; Fri, 23 Feb 2024 02:59:04 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdQS2-0007sx-Bg; Fri, 23 Feb 2024 02:58:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=wI75sEFq3jHKG4ge7xYm+jdvHeOQIYxlKhY/7NA2YX0=; b=cNwyIHdFBgPk GEiFtDg2whK89G2ttoLzfrvZq02/BRCvbMB94SU8RVrG0lduqLLaDzu5eO6J766uMY5gEbnxvaVKP 9d22oOAIKQXl2gAzMwiw4xhthOAPiQm9/fOFY6VyHmyQdG7utskYwPHI5L5y63ui/K9zvkhbtUTSZ cBa/DGjn20KG4uOfIhZU+UFYOc/kvjvIK0b5eqw81eeLOFs011dgyah8GE9xUE/QbmxAIz9U/mxEU AYOJe6PYDV0p7KI5L58hcbE7adso3B2wZH1iQ8COLiu8qVZqEM7PgCf5a0gLhiiWgK5uNKv9iJot8 xqISqLh2rU3jtkFS8XmgkA==; In-Reply-To: <874jdzc48c.fsf@gnu.org> (message from Sam Steingold on Thu, 22 Feb 2024 21:18:59 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280485 Archived-At: severity 69317 wishlist thanks > From: Sam Steingold > Date: Thu, 22 Feb 2024 21:18:59 -0500 > > When I hit g (recompile) in a *Compilation* buffer while the previous > compilation is not done yet, I am asked whether I want compilation > killed. If I wait for it to finish, I get the echo area look like this: > > A compilation process is running; kill it? (y or n) [Compilation finished] > > It would be nice if as soon as the compilation finished, the question > automatically disappeared and the compilation restarted. > > I looked at the source code, but I see not simple way to make it happen. > > NB1. Of course, this requested change should also affect > `process-kill-buffer-query-function`... > > NB2. compilation-always-kill is not what I want: it kills the > compilation right away. I want Emacs not to wait for my permission to > kill an already dead process. > > > See also https://emacs.stackexchange.com/q/80383/795 Patches to implement that are welcome.