From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#69317: 30.0.50; RFE: not waiting for a permission to kill a dead process Date: Thu, 22 Feb 2024 21:18:59 -0500 Message-ID: <874jdzc48c.fsf@gnu.org> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39481"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 69317@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 23 03:20:02 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 1rdLAP-000A17-PO for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Feb 2024 03:20:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdLA5-0000FY-21; Thu, 22 Feb 2024 21:19:41 -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 1rdLA3-0000FJ-Kp for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 21:19:39 -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 1rdLA3-0007pO-BD for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 21:19:39 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdLAQ-0003KT-6H for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 21:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Feb 2024 02:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69317 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.170865477512713 (code B ref -1); Fri, 23 Feb 2024 02:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Feb 2024 02:19:35 +0000 Original-Received: from localhost ([127.0.0.1]:52881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdL9x-0003Iv-EB for submit@debbugs.gnu.org; Thu, 22 Feb 2024 21:19:34 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:39798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdL9t-0003Ig-5l for submit@debbugs.gnu.org; Thu, 22 Feb 2024 21:19:32 -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 1rdL9V-0008A2-IX for bug-gnu-emacs@gnu.org; Thu, 22 Feb 2024 21:19:05 -0500 Original-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 ) id 1rdL9T-0007jQ-Hw; Thu, 22 Feb 2024 21:19:05 -0500 Original-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) Original-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) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=sam.steingold@gmail.com; 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-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:280478 Archived-At: 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.