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#57562: [PATCH] * lisp/emacs-lisp/comp.el (comp-run-async-workers): Fail more gracefully Date: Sat, 03 Sep 2022 18:59:19 +0300 Message-ID: <83r10smotk.fsf@gnu.org> References: <83wnakmqw6.fsf@gnu.org> <83v8q4mq8k.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1418"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57562@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 03 18:02:38 2022 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 1oUVbR-0000FY-H0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 18:02:37 +0200 Original-Received: from localhost ([::1]:48132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUVbQ-0000Zh-1A for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 12:02:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUVYy-00085d-7v for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 12:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUVYw-0008Uc-Vh for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 12:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUVYw-00035X-PI for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 12:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Sep 2022 16:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57562 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 57562-submit@debbugs.gnu.org id=B57562.166222079411826 (code B ref 57562); Sat, 03 Sep 2022 16:00:02 +0000 Original-Received: (at 57562) by debbugs.gnu.org; 3 Sep 2022 15:59:54 +0000 Original-Received: from localhost ([127.0.0.1]:42686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUVYo-00034f-5F for submit@debbugs.gnu.org; Sat, 03 Sep 2022 11:59:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUVYm-00034T-2n for 57562@debbugs.gnu.org; Sat, 03 Sep 2022 11:59:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUVYg-0008Ou-Rg; Sat, 03 Sep 2022 11:59:46 -0400 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=aRHGZ08x/VjtrScMUOXSTYm5XwP548szXOwnMrzTMmU=; b=o4Xxs0V/oQtE HDY/tSMT08rTqyKIyncpLaBhNYEGibITc3fhyx03gFwVT/BaGWItKPtyz4JXlYbtjnRCMkGv39sI/ Ymq8fzoMGZzEyrd9R3JdM6s9p9Vkns8Q4PGX5xTDd90AU2QhrsKH2C2epVKLW5j5RoZkK1QoRUAFz jhUaRh4bo3a/8ks7UW1GJqcWHNVchpLHmKN3Pfhib+c5N+LZGQ45oI6HCdUSRacxtG3AYftW5Bz2R UNmloHpLShsymnJwCDf7EARVSbHa0cnWYSq7SxXa2r7mqyNtnVWAEodTPLimkNaaWF6wxnsZKmkxJ u6jDctcVRM5dTB+wMKtxRw==; Original-Received: from [87.69.77.57] (port=2068 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUVYf-0006U2-VT; Sat, 03 Sep 2022 11:59:46 -0400 In-Reply-To: (message from Stefan Monnier on Sat, 03 Sep 2022 11:41:14 -0400) 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:241426 Archived-At: > From: Stefan Monnier > Cc: 57562@debbugs.gnu.org > Date: Sat, 03 Sep 2022 11:41:14 -0400 > > >> > I have trouble seeing the actual change amongst unrelated whitespace > >> > changes. Please show a patch with the minimal necessary change, > >> > without all the reformatting. Emacs 28.2 is so close to a release > >> > that playing whitespace and formatting games is not appropriate there. > >> Hmm... looks like I sent the patch I had on `master`, sorry. > >> Here is the cleaner `emacs-28` version. > > So this means we will silently skip native-compilation, leaving an > > obscure message in a buffer, is that right? > > In *Messages*, I think, yes. I guess that's enough for Emacs 28. (And I do wonder how come people come up with unwritable home directories.) > > Maybe this is the best we can do for emacs-28 so close to the release, > > but for master wouldn't it be better to use delayed-warning instead? > > Sounds about right, tho I suspect we might need to do even a bit more on > `master`, like disabling lazy native compilation when we bump into this > problem, to avoid repeating that same error message, or trying harder to > find a writable directory. I'm more bothered about letting the user know than about working around the problem.