X-Loop: help-debbugs@HIDDEN Subject: bug#69317: 30.0.50; RFE: not waiting for a permission to kill a dead process Resent-From: Sam Steingold <sds@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 23 Feb 2024 02:20:02 +0000 Resent-Message-ID: <handler.69317.B.170865477512713 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 69317 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 69317 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Reply-To: sds@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.170865477512713 (code B ref -1); Fri, 23 Feb 2024 02:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Feb 2024 02:19:35 +0000 Received: from localhost ([127.0.0.1]:52881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rdL9x-0003Iv-EB for submit <at> debbugs.gnu.org; Thu, 22 Feb 2024 21:19:34 -0500 Received: from lists.gnu.org ([209.51.188.17]:39798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <sam.steingold@HIDDEN>) id 1rdL9t-0003Ig-5l for submit <at> debbugs.gnu.org; Thu, 22 Feb 2024 21:19:32 -0500 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 <sam.steingold@HIDDEN>) id 1rdL9V-0008A2-IX for bug-gnu-emacs@HIDDEN; Thu, 22 Feb 2024 21:19:05 -0500 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <sam.steingold@HIDDEN>) id 1rdL9T-0007jQ-Hw; Thu, 22 Feb 2024 21:19:05 -0500 Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-42e390f3954so1403821cf.3; Thu, 22 Feb 2024 18:19:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708654741; x=1709259541; darn=gnu.org; h=mime-version:message-id:date:reply-to:return-receipt-to:user-agent :subject:to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=QQLZqRFWNOFXEqZ0JdbPWFRhg7JdXBeXSUOEZ4VSWXI=; b=WQz36kTrO2tPh7oSkrozRCRJLhNJOOLoTRWst/O/Rv5En0BmCipoZRDbjuNpZe8LBD oSoHHb4k9eNU4O3FkJBWX7hc8JscUKQn1DQm6CSTkkrNkVYcv7ujcY/34PcM4mzqPqaf udDWeR4PMpbk0sCno+at8ofPpAhX1yfEDkd1LIepy00bDedOF6IizKjE/6jd/nGTPtzm CulnasBLSD3X7SmNiz7bMuwxtalvjIT6AIAo7RMzjsnemEsC2wJXNK6mZY/yrAZrW5qD GMd4LmY9peAU8HmBx9hKEa42xjYTwG2A4EJGDSMCoem5/BeNuFfhbDXJKdfdmc48LhXT W6Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708654741; x=1709259541; h=mime-version:message-id:date:reply-to:return-receipt-to:user-agent :subject:to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QQLZqRFWNOFXEqZ0JdbPWFRhg7JdXBeXSUOEZ4VSWXI=; b=Wa6CsYUMZ4w8NQGNVihbGbTOM8raUMVXltSD9hlyK47YIQ9nG+aRtABhkUSwhpOnw4 fDkKrhnwOG2aqdnhEQ3Y8xNUcPw2BJi2iCVgr5GIyUPFxs+oTCL61NjR/SZMUEV03cuW NboN6b0+VvYUGeG+a4zqTCW3oUDcJ3tMcsAb35YrZQoAVwx7XW9iOHFij6BFSKMtzfhy eqVaAAE8st1WemgikDmy3fCZI7R6/XHoOAy2nNPAw17ZOp4JH2LiaMLnM4y9hDc8cFSc B7PT+USJd9ub2+wBUq1afjbCGG2wuQNZl0Q471iDj6Z/QlPH9TyloSqpYDtDGWLpLl2w 1msA== X-Forwarded-Encrypted: i=1; AJvYcCXm1lnHHPO0CsGwWVecw6cDHviPJS9dxJFJsg0FS4MJOUnnxtAsMxSm7PbeAEoiXJeG4tWAXaVwZjFa0A== X-Gm-Message-State: AOJu0YwcpPFTFjzz1uicQ1gVrcyYyf8XiSd/viGkydCtIPZAO5emtXtZ vIaZqKW9m/9defpneW6reMfc4JyGoeYOsa+VIBD47i6+UR2nZ/5wfwbAf/c= X-Google-Smtp-Source: AGHT+IF9NIvCbLAw3rznnHR71fepHQuX/twMU5Bdh5EGi+SU5zqmCRQSL8HpiqUjXCTKWmqtD45pIw== X-Received: by 2002:ac8:5a8f:0:b0:42e:4cdd:e246 with SMTP id c15-20020ac85a8f000000b0042e4cdde246mr1032282qtc.42.1708654741142; Thu, 22 Feb 2024 18:19:01 -0800 (PST) Received: from pop-os (pool-108-6-133-45.nycmny.fios.verizon.net. [108.6.133.45]) by smtp.gmail.com with ESMTPSA id dn26-20020a05622a471a00b0042e2002ed12sm3609352qtb.57.2024.02.22.18.19.00 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Feb 2024 18:19:00 -0800 (PST) From: Sam Steingold <sds@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Date: Thu, 22 Feb 2024 21:18:59 -0500 Message-ID: <874jdzc48c.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=sam.steingold@HIDDEN; helo=mail-qt1-x834.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -3.3 (---) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.3 (----) 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 In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2024-02-11 built on pop-os Repository revision: 9a1522197fb16986c2f641f777d6bef41c348567 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Pop!_OS 22.04 LTS Configured using: 'configure --with-mailutils --with-native-compilation --with-imagemagick --with-native-image-api' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB -- Sam Steingold (https://aphar.dreamwidth.org/) on Pop 22.04 (jammy) X 11.0.12101004 https://lastingimpactpsychology.com https://steingoldpsychology.com https://honestreporting.com https://ij.org/ https://www.memritv.org If you're constantly being mistreated, you're cooperating with the treatment.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: sds@HIDDEN Subject: bug#69317: Acknowledgement (30.0.50; RFE: not waiting for a permission to kill a dead process) Message-ID: <handler.69317.B.170865477512713.ack <at> debbugs.gnu.org> References: <874jdzc48c.fsf@HIDDEN> X-Gnu-PR-Message: ack 69317 X-Gnu-PR-Package: emacs Reply-To: 69317 <at> debbugs.gnu.org Date: Fri, 23 Feb 2024 02:20:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 69317 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 69317: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D69317 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#69317: 30.0.50; RFE: not waiting for a permission to kill a dead process Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 23 Feb 2024 08:00:03 +0000 Resent-Message-ID: <handler.69317.B69317.170867514710820 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 69317 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: sds@HIDDEN Cc: 69317 <at> debbugs.gnu.org Received: via spool by 69317-submit <at> debbugs.gnu.org id=B69317.170867514710820 (code B ref 69317); Fri, 23 Feb 2024 08:00:03 +0000 Received: (at 69317) by debbugs.gnu.org; 23 Feb 2024 07:59:07 +0000 Received: from localhost ([127.0.0.1]:48048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rdQSY-0002oQ-1X for submit <at> debbugs.gnu.org; Fri, 23 Feb 2024 02:59:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rdQSW-0002nf-3D; Fri, 23 Feb 2024 02:59:04 -0500 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 <eliz@HIDDEN>) 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==; Date: Fri, 23 Feb 2024 09:58:33 +0200 Message-Id: <86frxj1uja.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <874jdzc48c.fsf@HIDDEN> (message from Sam Steingold on Thu, 22 Feb 2024 21:18:59 -0500) References: <874jdzc48c.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) severity 69317 wishlist thanks > From: Sam Steingold <sds@HIDDEN> > 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.
Received: (at control) by debbugs.gnu.org; 23 Feb 2024 07:59:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 23 02:59:07 2024 Received: from localhost ([127.0.0.1]:48050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rdQSY-0002oT-Vw for submit <at> debbugs.gnu.org; Fri, 23 Feb 2024 02:59:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rdQSW-0002nf-3D; Fri, 23 Feb 2024 02:59:04 -0500 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 <eliz@HIDDEN>) 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==; Date: Fri, 23 Feb 2024 09:58:33 +0200 Message-Id: <86frxj1uja.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: sds@HIDDEN In-Reply-To: <874jdzc48c.fsf@HIDDEN> (message from Sam Steingold on Thu, 22 Feb 2024 21:18:59 -0500) Subject: Re: bug#69317: 30.0.50; RFE: not waiting for a permission to kill a dead process References: <874jdzc48c.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 69317 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) severity 69317 wishlist thanks > From: Sam Steingold <sds@HIDDEN> > 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.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.