From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#44743: native-comp: confirm-exit-emacs warns about active processes when compiling Date: Sat, 21 Nov 2020 11:22:58 -0800 Message-ID: References: <83y2iwz2eq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4831"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44743@debbugs.gnu.org To: Eli Zaretskii , Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 21 20:24:10 2020 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 1kgYUT-00017v-SA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Nov 2020 20:24:09 +0100 Original-Received: from localhost ([::1]:38350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgYUS-0007BQ-Me for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Nov 2020 14:24:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgYUM-0007BE-JL for bug-gnu-emacs@gnu.org; Sat, 21 Nov 2020 14:24:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kgYUM-0006LU-93 for bug-gnu-emacs@gnu.org; Sat, 21 Nov 2020 14:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kgYUM-00033p-58 for bug-gnu-emacs@gnu.org; Sat, 21 Nov 2020 14:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Nov 2020 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44743 X-GNU-PR-Package: emacs Original-Received: via spool by 44743-submit@debbugs.gnu.org id=B44743.160598658711702 (code B ref 44743); Sat, 21 Nov 2020 19:24:02 +0000 Original-Received: (at 44743) by debbugs.gnu.org; 21 Nov 2020 19:23:07 +0000 Original-Received: from localhost ([127.0.0.1]:46200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgYTS-00032g-V7 for submit@debbugs.gnu.org; Sat, 21 Nov 2020 14:23:07 -0500 Original-Received: from mail-ed1-f47.google.com ([209.85.208.47]:34216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgYTR-00031w-4T for 44743@debbugs.gnu.org; Sat, 21 Nov 2020 14:23:05 -0500 Original-Received: by mail-ed1-f47.google.com with SMTP id a15so13042401edy.1 for <44743@debbugs.gnu.org>; Sat, 21 Nov 2020 11:23:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=kSnIY8ZW5UAWKOoXjwdQTrjeICF5+pMGfBXr+tPKrZc=; b=PLY2sIKJxF9jJ9s/Kj7aesA5wwkPuA8EjhRy7Fv5l5+MQzqWGUgVJlPIXOqqFvj2pz 9w8X80SM0CVOdKh+mi9/thIrNw9vVFMXrCTgnPM2JsrS0zsUtMiugyL3N9VMrfSXzSw3 dw37RjP77kjIMIlAyhon/6wvbbQEX3kUhO2ktVIrlyJ5t8FnmnzATtVoutiSdJu2gyhO SkV+2niqen/RmdCDwVaRZvmRzLXsyH1FI5UHdAnXegv2ZoqjogwODZByZtjav7EuB288 V06d7rtY3/OIGcMFsElUba5X0gUl0EGbquFexIox2HwrcusgFuPOwcTf0wY87Ggizeh5 vUWw== X-Gm-Message-State: AOAM5338gAhIgkcGwVWGAEFXqu3LzKCrvuTEE4dlzWyAzMnl179eF3F2 UIxtlf9v18kHscbdAIA8UxQvHEcfqSS9W3y3nPI= X-Google-Smtp-Source: ABdhPJwJ/10SpW9T1NxSXdv4Vwe2RDYV5WnwWp+6qHaHp6gFhrgVE9Qx+1o7W0eILMCf/yTTDGJytC8XNRn8Y5tmqJQ= X-Received: by 2002:a05:6402:3089:: with SMTP id de9mr41935988edb.100.1605986579476; Sat, 21 Nov 2020 11:22:59 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 21 Nov 2020 11:22:58 -0800 In-Reply-To: <83y2iwz2eq.fsf@gnu.org> 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" Xref: news.gmane.io gmane.emacs.bugs:193812 Archived-At: Eli Zaretskii writes: >> > Expected result: No prompt is shown. The native-comp processes are >> > recognized and killed automatically. >> >> I agree this would be nice to have. > > FWIW, I think this should be controlled by a user option. It is not > at all obvious that everyone would like compilation processes to be > killed automatically, people might want to wait for them to complete. Compiling in the background should in my opinion work as transparently as possible. The fact that we cache compilation results should be considered an implementation detail. We don't need to shape our outwardly behavior by such implementation details. We could of course support what you suggest. I'm not against it as an option. But I don't think it is very important, and it would take some time and effort to implement and maintain. I'm not sure that effort is well-spent at this point, and would rather leave it for the future. IOW, I think we should work on reasonable defaults first, and only add options in later once we are sure that we really need them.