X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 31 May 2022 17:58:02 +0000
Resent-Message-ID: <handler.55743.B.165401982328496 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 55743 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.165401982328496
(code B ref -1); Tue, 31 May 2022 17:58:02 +0000
Received: (at submit) by debbugs.gnu.org; 31 May 2022 17:57:03 +0000
Received: from localhost ([127.0.0.1]:48833 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nw674-0007PS-Ua
for submit <at> debbugs.gnu.org; Tue, 31 May 2022 13:57:03 -0400
Received: from lists.gnu.org ([209.51.188.17]:37104)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <juri@HIDDEN>) id 1nw66q-0007O4-Jg
for submit <at> debbugs.gnu.org; Tue, 31 May 2022 13:57:01 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38974)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <juri@HIDDEN>) id 1nw66q-0006vW-77
for bug-gnu-emacs@HIDDEN; Tue, 31 May 2022 13:56:48 -0400
Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]:39981)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <juri@HIDDEN>) id 1nw66o-0002Wm-HO
for bug-gnu-emacs@HIDDEN; Tue, 31 May 2022 13:56:47 -0400
Received: (Authenticated sender: juri@HIDDEN)
by mail.gandi.net (Postfix) with ESMTPSA id D00BE40006
for <bug-gnu-emacs@HIDDEN>; Tue, 31 May 2022 17:56:40 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
Date: Tue, 31 May 2022 20:31:36 +0300
Message-ID: <86y1yhsxin.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2001:4b98:dc4:8::222;
envelope-from=juri@HIDDEN; helo=relay2-d.mail.gandi.net
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7,
SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
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: -2.7 (--)
0. emacs -Q
1. C-x C-f emacs/lisp/s TAB M-v
Then after switching to the Completions window
after a short delay this error is raised:
Debugger entered--Lisp error: (file-missing "Setting current directory" "No such file or directory" "emacs/lisp/s/")
make-process(:name "Compiling: emacs/lisp/net/goto-addr.el" :buffer #<buffer *Async-native-compile-log*> :command ("emacs/src/emacs" "--batch" "-l" "/tmp/emacs-async-comp-goto-addr-cVqUYL.el") :sentinel #f(compiled-function (process event) #<bytecode -0x812502d31259a48>) :noquery t)
comp-run-async-workers()
#f(compiled-function (process event) #<bytecode -0xb3837fe88441506>)(#<process Compiling: emacs/lisp/emacs-lisp/bytecomp.el> "finished\n")
completing-read-default("Find file: " read-file-name-internal file-exists-p confirm-after-completion "emacs/lisp/" file-name-history "emacs/lisp/" nil)
read-file-name-default("Find file: " nil "emacs/lisp/" confirm-after-completion nil nil)
read-file-name("Find file: " nil "emacs/lisp/" confirm-after-completion)
find-file-read-args("Find file: " confirm-after-completion)
command-execute(find-file)
This is because default-directory is set in the Completions buffer
to a non-existent "emacs/lisp/s/" from incomplete minibuffer input.
And comp-run-async-workers fails to make a process in that non-existent dir.
So here are two problems: why completion sets default-directory to non-existent dir,
and why comp-run-async-workers tries to run a process in such arbitrary invalid dirs.
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: Juri Linkov <juri@HIDDEN> Subject: bug#55743: Acknowledgement (28.1.50; No directory error in comp-run-async-workers) Message-ID: <handler.55743.B.165401982328496.ack <at> debbugs.gnu.org> References: <86y1yhsxin.fsf@HIDDEN> X-Gnu-PR-Message: ack 55743 X-Gnu-PR-Package: emacs Reply-To: 55743 <at> debbugs.gnu.org Date: Tue, 31 May 2022 17:58: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 55743 <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 55743: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D55743 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
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: Tue, 31 May 2022 19:08:01 +0000
Resent-Message-ID: <handler.55743.B55743.165402404328746 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Juri Linkov <juri@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165402404328746
(code B ref 55743); Tue, 31 May 2022 19:08:01 +0000
Received: (at 55743) by debbugs.gnu.org; 31 May 2022 19:07:23 +0000
Received: from localhost ([127.0.0.1]:48926 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nw7D9-0007Ta-M4
for submit <at> debbugs.gnu.org; Tue, 31 May 2022 15:07:23 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59598)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1nw7D7-0007TL-7C
for 55743 <at> debbugs.gnu.org; Tue, 31 May 2022 15:07:22 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:46460)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nw7D0-000506-DY; Tue, 31 May 2022 15:07:15 -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=1nzS5ONUEbp0Css+ML0jBlsO666eOGx8e3XprlMp0d8=; b=VsS9xN2M+FVi
ng9xo3qm+oE3yV02128k032rvqlMl22C10hcf9oPkmG6BIBjHWoGaoLOpY92CcPHMSVRVHJlymTeZ
hoahQsJyC19+9xJFpodxvjOnX8feKr0U5ZyZqeiwrW6eLjvdpt4N9eURqS3mg3o+0hEcijuqIoLjD
GAPzB0DTeSIsl2DkwhRHDt1FEs3P8y09smXeB7XjFBHnF1y3vd2P5+1R7Aqaa1pMCvHyROfV/ztMy
M4/JXCfhaN24iRi+HsL3ZrQ929Xr95z2Bp2xWv8bVa7NcybIH6qrdwHKAnOQnx5d7xc4EBwGdWBa3
snT1X+y0YDNxjZdkDSZf0w==;
Received: from [87.69.77.57] (port=3310 helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nw7Cz-0003AL-T7; Tue, 31 May 2022 15:07:14 -0400
Date: Tue, 31 May 2022 22:07:18 +0300
Message-Id: <83wne1h66x.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <86y1yhsxin.fsf@HIDDEN> (message from Juri Linkov on
Tue, 31 May 2022 20:31:36 +0300)
References: <86y1yhsxin.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 (---)
> From: Juri Linkov <juri@HIDDEN>
> Date: Tue, 31 May 2022 20:31:36 +0300
>
> So here are two problems: why completion sets default-directory to non-existent dir,
That's the real problem.
> and why comp-run-async-workers tries to run a process in such arbitrary invalid dirs.
It is not comp-run-async-workers that does it, it's the low-level
infrastructure in subroutines of make-process: it makes sure the
directory in which the process will run is valid, and if it isn't
signals an error.
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 31 May 2022 19:52:02 +0000
Resent-Message-ID: <handler.55743.B55743.16540266921041 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.16540266921041
(code B ref 55743); Tue, 31 May 2022 19:52:02 +0000
Received: (at 55743) by debbugs.gnu.org; 31 May 2022 19:51:32 +0000
Received: from localhost ([127.0.0.1]:48974 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nw7ts-0000Gj-5m
for submit <at> debbugs.gnu.org; Tue, 31 May 2022 15:51:32 -0400
Received: from relay2-d.mail.gandi.net ([217.70.183.194]:65379)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <juri@HIDDEN>) id 1nw7tq-0000GW-Jh
for 55743 <at> debbugs.gnu.org; Tue, 31 May 2022 15:51:30 -0400
Received: (Authenticated sender: juri@HIDDEN)
by mail.gandi.net (Postfix) with ESMTPSA id BBF4940003;
Tue, 31 May 2022 19:51:23 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
Date: Tue, 31 May 2022 22:49:37 +0300
In-Reply-To: <83wne1h66x.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 31 May
2022 22:07:18 +0300")
Message-ID: <86wne1trce.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
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: -1.7 (-)
>> So here are two problems: why completion sets default-directory to non-existent dir,
>
> That's the real problem.
Oh, I see, it's a known problem. In completion-setup-function:
(base-dir
;; FIXME: This is a bad hack. We try to set the default-directory
;; in the *Completions* buffer so that the relative file names
;; displayed there can be treated as valid file names, independently
;; from the completion context. But this suffers from many problems:
;; - It's not clear when the completions are file names. With some
;; completion tables (e.g. bzr revision specs), the listed
;; completions can mix file names and other things.
;; - It doesn't pay attention to possible quoting.
;; - With fancy completion styles, the code below will not always
;; find the right base directory.
(if minibuffer-completing-file-name
(file-name-as-directory
(expand-file-name
(buffer-substring (minibuffer-prompt-end) (point)))))))
...
(if base-dir (setq default-directory base-dir))
>> and why comp-run-async-workers tries to run a process in such arbitrary invalid dirs.
>
> It is not comp-run-async-workers that does it, it's the low-level
> infrastructure in subroutines of make-process: it makes sure the
> directory in which the process will run is valid, and if it isn't
> signals an error.
Shouldn't native compilation run in the directory where the emacs
source files are located instead of running in the default directory
of an arbitrary buffer that might be invalid?
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
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: Wed, 01 Jun 2022 02:34:01 +0000
Resent-Message-ID: <handler.55743.B55743.165405079810374 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Juri Linkov <juri@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165405079810374
(code B ref 55743); Wed, 01 Jun 2022 02:34:01 +0000
Received: (at 55743) by debbugs.gnu.org; 1 Jun 2022 02:33:18 +0000
Received: from localhost ([127.0.0.1]:49309 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwEAg-0002hG-Du
for submit <at> debbugs.gnu.org; Tue, 31 May 2022 22:33:18 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33516)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1nwEAd-0002h3-VP
for 55743 <at> debbugs.gnu.org; Tue, 31 May 2022 22:33:18 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:54622)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwEAY-0005jK-DG; Tue, 31 May 2022 22:33:10 -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=sRiF2TEgVtsyc+9pRnjH5zk0liCfF8uXPxI34fUtwuY=; b=ZdB2jYDxOLkd
S8Bc2VZoH4zi41mMJRCsrF6GmQmOYwV7SajB8vUAt/5ngPBIHj5AEEOcphu/7+h/Aq6M+LM4eTnZ+
aalzAOhbqf1QoKwsWCtt4fVFLqMwU2SfMNaU5ETHvUlGz+mThvuhPmK7pevZviKmLtWkbsALW7McL
SHBhcFei6jnJ/5GnybWtoWFQvgqDG9jtOY6Ls2N/bmFZRfbQAbesSbMKmprqwplXfyQZX1Oh1VNlN
ZphzbtW1Wx6zj6jW9MIbXlF2cdxqZp/m/L/0JGeT0Jub6ikiZcsgTaDVi+hFNuBE+sTFLKn6/iNZt
MzPmGPVAsYtxiGpGBFxzAg==;
Received: from [87.69.77.57] (port=2801 helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwEAX-00070F-TA; Tue, 31 May 2022 22:33:10 -0400
Date: Wed, 01 Jun 2022 05:33:16 +0300
Message-Id: <83leuhgljn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <86wne1trce.fsf@HIDDEN> (message from Juri Linkov on
Tue, 31 May 2022 22:49:37 +0300)
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.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 (---)
> From: Juri Linkov <juri@HIDDEN>
> Cc: 55743 <at> debbugs.gnu.org
> Date: Tue, 31 May 2022 22:49:37 +0300
>
> >> and why comp-run-async-workers tries to run a process in such arbitrary invalid dirs.
> >
> > It is not comp-run-async-workers that does it, it's the low-level
> > infrastructure in subroutines of make-process: it makes sure the
> > directory in which the process will run is valid, and if it isn't
> > signals an error.
>
> Shouldn't native compilation run in the directory where the emacs
> source files are located instead of running in the default directory
> of an arbitrary buffer that might be invalid?
No, because native compilation could be invoked to compile a file that
has nothing to do with the Emacs source tree, e.g., some file of the
user or some 3rd-party package installed in some arbitrary place.
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 01 Jun 2022 06:28:01 +0000
Resent-Message-ID: <handler.55743.B55743.16540648654650 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.16540648654650
(code B ref 55743); Wed, 01 Jun 2022 06:28:01 +0000
Received: (at 55743) by debbugs.gnu.org; 1 Jun 2022 06:27:45 +0000
Received: from localhost ([127.0.0.1]:49523 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwHpY-0001Cw-OB
for submit <at> debbugs.gnu.org; Wed, 01 Jun 2022 02:27:44 -0400
Received: from relay10.mail.gandi.net ([217.70.178.230]:41811)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <juri@HIDDEN>) id 1nwHpX-0001Cj-7C
for 55743 <at> debbugs.gnu.org; Wed, 01 Jun 2022 02:27:43 -0400
Received: (Authenticated sender: juri@HIDDEN)
by mail.gandi.net (Postfix) with ESMTPSA id 9DB89240004;
Wed, 1 Jun 2022 06:27:36 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN>
Date: Wed, 01 Jun 2022 09:10:56 +0300
In-Reply-To: <86wne1trce.fsf@HIDDEN> (Juri Linkov's message of "Tue,
31 May 2022 22:49:37 +0300")
Message-ID: <86sfoo7wm7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
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: -1.7 (-)
>>> So here are two problems: why completion sets default-directory to non-existent dir,
>>
>> That's the real problem.
>
> Oh, I see, it's a known problem. In completion-setup-function:
>
> (base-dir
> ;; FIXME: This is a bad hack. We try to set the default-directory
> ;; in the *Completions* buffer so that the relative file names
> ;; displayed there can be treated as valid file names, independently
> ;; from the completion context. But this suffers from many problems:
> ;; - It's not clear when the completions are file names. With some
> ;; completion tables (e.g. bzr revision specs), the listed
> ;; completions can mix file names and other things.
> ;; - It doesn't pay attention to possible quoting.
> ;; - With fancy completion styles, the code below will not always
> ;; find the right base directory.
> (if minibuffer-completing-file-name
> (file-name-as-directory
> (expand-file-name
> (buffer-substring (minibuffer-prompt-end) (point)))))))
> ...
> (if base-dir (setq default-directory base-dir))
The problem can be solved by this patch that handles both the most
frequent cases: when the completion string is the default directory,
and when a file prefix is added to it.
diff --git a/lisp/simple.el b/lisp/simple.el
index 103e7f33dd..81e04f28e9 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -9803,7 +9802,7 @@ completion-setup-function
;; - With fancy completion styles, the code below will not always
;; find the right base directory.
(if minibuffer-completing-file-name
- (file-name-as-directory
+ (file-name-directory
(expand-file-name
(buffer-substring (minibuffer-prompt-end) (point)))))))
(with-current-buffer standard-output
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 01 Jun 2022 06:28:02 +0000
Resent-Message-ID: <handler.55743.B55743.16540648694667 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.16540648694667
(code B ref 55743); Wed, 01 Jun 2022 06:28:02 +0000
Received: (at 55743) by debbugs.gnu.org; 1 Jun 2022 06:27:49 +0000
Received: from localhost ([127.0.0.1]:49526 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwHpd-0001DD-04
for submit <at> debbugs.gnu.org; Wed, 01 Jun 2022 02:27:49 -0400
Received: from relay6-d.mail.gandi.net ([217.70.183.198]:42711)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <juri@HIDDEN>) id 1nwHpb-0001Cn-0x
for 55743 <at> debbugs.gnu.org; Wed, 01 Jun 2022 02:27:47 -0400
Received: (Authenticated sender: juri@HIDDEN)
by mail.gandi.net (Postfix) with ESMTPSA id 19D5FC000D;
Wed, 1 Jun 2022 06:27:39 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
Date: Wed, 01 Jun 2022 09:13:14 +0300
In-Reply-To: <83leuhgljn.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 01 Jun
2022 05:33:16 +0300")
Message-ID: <861qw97x41.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
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: -1.7 (-)
>> >> and why comp-run-async-workers tries to run a process in such arbitrary invalid dirs.
>> >
>> > It is not comp-run-async-workers that does it, it's the low-level
>> > infrastructure in subroutines of make-process: it makes sure the
>> > directory in which the process will run is valid, and if it isn't
>> > signals an error.
>>
>> Shouldn't native compilation run in the directory where the emacs
>> source files are located instead of running in the default directory
>> of an arbitrary buffer that might be invalid?
>
> No, because native compilation could be invoked to compile a file that
> has nothing to do with the Emacs source tree, e.g., some file of the
> user or some 3rd-party package installed in some arbitrary place.
Still, shouldn't it run compilation in the same directory
where that file is located? Isn't this better than running
compilation in a random dir from a random buffer?
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
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: Wed, 01 Jun 2022 11:17:03 +0000
Resent-Message-ID: <handler.55743.B55743.165408218111936 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Juri Linkov <juri@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165408218111936
(code B ref 55743); Wed, 01 Jun 2022 11:17:03 +0000
Received: (at 55743) by debbugs.gnu.org; 1 Jun 2022 11:16:21 +0000
Received: from localhost ([127.0.0.1]:49845 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwMKq-00036Q-OD
for submit <at> debbugs.gnu.org; Wed, 01 Jun 2022 07:16:20 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36518)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1nwMKn-00035y-76
for 55743 <at> debbugs.gnu.org; Wed, 01 Jun 2022 07:16:19 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:59608)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwMKh-0000TH-La; Wed, 01 Jun 2022 07:16:11 -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=dckoKU4gq63xk2P0Kid8PosIjuyAECrhAJsB9Gxcjcs=; b=WndXzXRDcSFF
q2cUUrFvFjC8qXLUbXbE2EYAKsQcfmpLHLLKAMKX4QTlA4+foY74TtjCbSghuUVJOI8YrOZV+XIfw
CnHv01axtCMsHY8CU3Tv6DPwW/ViOrESTDuzWUcHGA3wYQfME/0aH2oxdLMkT2gjrB3ekFfiTY9kp
lZ2Ejzt+3l0OIYuAkXTi3rv+d5tUdhY6Kez1uH3E8b/Mxvk2v69o/dIOlKXk+y1UIVYxa/s43EqOr
QjXEqktTguThC119aZmu2A5iySE/Pzs8y59zHbAADHDpIy2iQW26FTrd31opE1fwUsOSUyBbFFNon
x1KnvTCfQCih4JnbP9efrg==;
Received: from [87.69.77.57] (port=3018 helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwMKf-0001sQ-Rm; Wed, 01 Jun 2022 07:16:11 -0400
Date: Wed, 01 Jun 2022 14:16:16 +0300
Message-Id: <83h754hbwf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <861qw97x41.fsf@HIDDEN> (message from Juri Linkov on
Wed, 01 Jun 2022 09:13:14 +0300)
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.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 (---)
> From: Juri Linkov <juri@HIDDEN>
> Cc: 55743 <at> debbugs.gnu.org
> Date: Wed, 01 Jun 2022 09:13:14 +0300
>
> >> Shouldn't native compilation run in the directory where the emacs
> >> source files are located instead of running in the default directory
> >> of an arbitrary buffer that might be invalid?
> >
> > No, because native compilation could be invoked to compile a file that
> > has nothing to do with the Emacs source tree, e.g., some file of the
> > user or some 3rd-party package installed in some arbitrary place.
>
> Still, shouldn't it run compilation in the same directory
> where that file is located? Isn't this better than running
> compilation in a random dir from a random buffer?
No, it isn't better, because the directory should be set by the
caller. The compilation primitive cannot second-guess what the caller
meant. For example, the file to be compiled could load other files,
and load-path could mention the current directory in some relative
form; or the directory of the file could not be chdir'ed into, but
files in it could be accessed; or some VCS could be involved (so you
need to be in the VCS repository), or something else. make-process
uses the default-directory of the current buffer because making sure
that directory is the correct one is left to the caller, and it makes
it easy for the caller to ensure the compilation runs in the correct
directory.
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 01 Jun 2022 19:15:01 +0000
Resent-Message-ID: <handler.55743.B55743.165411086312757 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165411086312757
(code B ref 55743); Wed, 01 Jun 2022 19:15:01 +0000
Received: (at 55743) by debbugs.gnu.org; 1 Jun 2022 19:14:23 +0000
Received: from localhost ([127.0.0.1]:51857 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwTnT-0003Jh-IT
for submit <at> debbugs.gnu.org; Wed, 01 Jun 2022 15:14:23 -0400
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:37699)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <juri@HIDDEN>) id 1nwTnS-0003JU-ML
for 55743 <at> debbugs.gnu.org; Wed, 01 Jun 2022 15:14:22 -0400
Received: (Authenticated sender: juri@HIDDEN)
by mail.gandi.net (Postfix) with ESMTPSA id 11E06FF802;
Wed, 1 Jun 2022 19:14:15 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
Date: Wed, 01 Jun 2022 22:13:37 +0300
In-Reply-To: <83h754hbwf.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 01 Jun
2022 14:16:16 +0300")
Message-ID: <86a6aw2o4e.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
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: -1.7 (-)
>> >> Shouldn't native compilation run in the directory where the emacs
>> >> source files are located instead of running in the default directory
>> >> of an arbitrary buffer that might be invalid?
>> >
>> > No, because native compilation could be invoked to compile a file that
>> > has nothing to do with the Emacs source tree, e.g., some file of the
>> > user or some 3rd-party package installed in some arbitrary place.
>>
>> Still, shouldn't it run compilation in the same directory
>> where that file is located? Isn't this better than running
>> compilation in a random dir from a random buffer?
>
> No, it isn't better, because the directory should be set by the
> caller. The compilation primitive cannot second-guess what the caller
> meant. For example, the file to be compiled could load other files,
> and load-path could mention the current directory in some relative
> form; or the directory of the file could not be chdir'ed into, but
> files in it could be accessed; or some VCS could be involved (so you
> need to be in the VCS repository), or something else. make-process
> uses the default-directory of the current buffer because making sure
> that directory is the correct one is left to the caller, and it makes
> it easy for the caller to ensure the compilation runs in the correct
> directory.
I don't understand who is the caller? The user? The user visits
an non-existent directory, by e.g. `C-x C-f /bla/bla/bla', then
emacs compilation kicks in using that directory, and signals the error.
If this is the intended behavior, then I guess this bug report can be closed,
since I fixed the non-existent directory case in *Completions*.
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
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: Wed, 01 Jun 2022 19:50:02 +0000
Resent-Message-ID: <handler.55743.B55743.165411295924962 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Juri Linkov <juri@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165411295924962
(code B ref 55743); Wed, 01 Jun 2022 19:50:02 +0000
Received: (at 55743) by debbugs.gnu.org; 1 Jun 2022 19:49:19 +0000
Received: from localhost ([127.0.0.1]:51934 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwULH-0006UY-Dn
for submit <at> debbugs.gnu.org; Wed, 01 Jun 2022 15:49:19 -0400
Received: from eggs.gnu.org ([209.51.188.92]:52098)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1nwULF-0006UJ-Dw
for 55743 <at> debbugs.gnu.org; Wed, 01 Jun 2022 15:49:17 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:42946)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwUL9-0000oE-U4; Wed, 01 Jun 2022 15:49:11 -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=AZyQaFdUIe3d93N5ytzCiP3RHjDFKspPYXO2BfwJp+s=; b=l6dAtq5f/JkJ
ta06GrdwiCLEbBUMrCP61OPGUbAi7giaW8FDGmgMKJZjX2L2xtNeBtTcG1vXaCyrodGGJqjQY49er
cnNQYcIWncNvLT0Nvnb7wDMhczMcoC7pJINIPhEwa0VQU0Xh6cyvZZx5g5Ud5wficDdi7ocA6wlSE
46K4pGLTjugvj+kpQW2Vab0qhw71K3WGCvwSQQz4lpsxbdKPt9l4LRlS7YYHsY5OiyfEXzNm2r1s4
m/D5B36h7nyywHyDvExFLwnnsAnJ/DpWVnYbsXSbOP6L9ySNmD76PMLlbJ136kxOs7ByPD62PMG0o
DIDsKqYyoiP13TATBZxaSg==;
Received: from [87.69.77.57] (port=2952 helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwUL9-0003Nk-DL; Wed, 01 Jun 2022 15:49:11 -0400
Date: Wed, 01 Jun 2022 22:49:19 +0300
Message-Id: <83o7zcf9kw.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <86a6aw2o4e.fsf@HIDDEN> (message from Juri Linkov on
Wed, 01 Jun 2022 22:13:37 +0300)
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.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 (---)
> From: Juri Linkov <juri@HIDDEN>
> Cc: 55743 <at> debbugs.gnu.org
> Date: Wed, 01 Jun 2022 22:13:37 +0300
>
> >> Still, shouldn't it run compilation in the same directory
> >> where that file is located? Isn't this better than running
> >> compilation in a random dir from a random buffer?
> >
> > No, it isn't better, because the directory should be set by the
> > caller. The compilation primitive cannot second-guess what the caller
> > meant. For example, the file to be compiled could load other files,
> > and load-path could mention the current directory in some relative
> > form; or the directory of the file could not be chdir'ed into, but
> > files in it could be accessed; or some VCS could be involved (so you
> > need to be in the VCS repository), or something else. make-process
> > uses the default-directory of the current buffer because making sure
> > that directory is the correct one is left to the caller, and it makes
> > it easy for the caller to ensure the compilation runs in the correct
> > directory.
>
> I don't understand who is the caller? The user? The user visits
> an non-existent directory, by e.g. `C-x C-f /bla/bla/bla', then
> emacs compilation kicks in using that directory, and signals the error.
Please tell how this case is different from the one below:
emacs -Q
M-: (setq default-directory "/non-existent/foo/bar") RET
M-! ls RET
You get the same error about "setting current directory". Do yopu
think it's a bug in M-! ?
> If this is the intended behavior, then I guess this bug report can be closed,
> since I fixed the non-existent directory case in *Completions*.
Thanks, I think this can indeed be closed.
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 02 Jun 2022 07:48:02 +0000
Resent-Message-ID: <handler.55743.B55743.165415605621352 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165415605621352
(code B ref 55743); Thu, 02 Jun 2022 07:48:02 +0000
Received: (at 55743) by debbugs.gnu.org; 2 Jun 2022 07:47:36 +0000
Received: from localhost ([127.0.0.1]:52654 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwfYO-0005YJ-C0
for submit <at> debbugs.gnu.org; Thu, 02 Jun 2022 03:47:36 -0400
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:46221)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <juri@HIDDEN>) id 1nwfYM-0005Xw-IY
for 55743 <at> debbugs.gnu.org; Thu, 02 Jun 2022 03:47:34 -0400
Received: (Authenticated sender: juri@HIDDEN)
by mail.gandi.net (Postfix) with ESMTPSA id 140AFFF80D;
Thu, 2 Jun 2022 07:47:26 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
Date: Thu, 02 Jun 2022 10:40:12 +0300
In-Reply-To: <83o7zcf9kw.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 01 Jun
2022 22:49:19 +0300")
Message-ID: <861qw7zf6r.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
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: -1.7 (-)
> Please tell how this case is different from the one below:
>
> emacs -Q
> M-: (setq default-directory "/non-existent/foo/bar") RET
> M-! ls RET
>
> You get the same error about "setting current directory". Do yopu
> think it's a bug in M-! ?
M-! is a command explicitly initiated by the user in the current buffer.
OTOH, when native compilation signals an error, this is totally unexpected.
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
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: Thu, 02 Jun 2022 08:03:02 +0000
Resent-Message-ID: <handler.55743.B55743.165415696523160 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Juri Linkov <juri@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165415696523160
(code B ref 55743); Thu, 02 Jun 2022 08:03:02 +0000
Received: (at 55743) by debbugs.gnu.org; 2 Jun 2022 08:02:45 +0000
Received: from localhost ([127.0.0.1]:52687 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwfn3-00061U-3P
for submit <at> debbugs.gnu.org; Thu, 02 Jun 2022 04:02:45 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33602)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1nwfn0-00061A-QP
for 55743 <at> debbugs.gnu.org; Thu, 02 Jun 2022 04:02:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52940)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwfmv-0007xE-Dl; Thu, 02 Jun 2022 04:02:37 -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=NbNl0Z53mfSvvDU3H1pNTLUAEq9tQ6FdCaTjlQh81H0=; b=YbrHvBpKAB8l
MWQGnhmZzoNIvFIuy40cZwxcpuw8u/zEYMpi0A92PdltMswPl5p4jeRTTfafTWAfW4Lbs76Y00ujW
7CwmY9jguXkiFz6zL/buyjuZ8EFeosnHOeBzTWjvIZrN1jInpV4JKw7SrA2ltsuy1Q6zSrjolSgO6
PU5Hm77g/cye9P7rLl0zlZRk+TSWeV0c8DoD+JZGxAo4JjqX3CdIGL5eQH4VghfBqXxWWhUD/z3Y0
yA94O7useDwowE1m1p/UjYWZ3IoUlRowMwPtuvw7f1QUOGJqpxSrHZtfq49sEaYT4kxeMf25IuaDe
bLxyuRpsPdHcoG32OzEzbw==;
Received: from [87.69.77.57] (port=4361 helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwfmu-0002g4-Qo; Thu, 02 Jun 2022 04:02:37 -0400
Date: Thu, 02 Jun 2022 11:02:45 +0300
Message-Id: <83ee07fq6y.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <861qw7zf6r.fsf@HIDDEN> (message from Juri Linkov on
Thu, 02 Jun 2022 10:40:12 +0300)
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.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 (---)
> From: Juri Linkov <juri@HIDDEN>
> Cc: 55743 <at> debbugs.gnu.org
> Date: Thu, 02 Jun 2022 10:40:12 +0300
>
> > Please tell how this case is different from the one below:
> >
> > emacs -Q
> > M-: (setq default-directory "/non-existent/foo/bar") RET
> > M-! ls RET
> >
> > You get the same error about "setting current directory". Do yopu
> > think it's a bug in M-! ?
>
> M-! is a command explicitly initiated by the user in the current buffer.
Is it really relevant? the same will happen if shell-command is called
non-interactively by some Lisp program.
We require that default-directory be valid whenever Emacs needs to run
a subprocess. This is a basic requirement for all Lisp programs using
this facility. Native compilation is not different from any other
Lisp program that invokes a subprocess.
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 02 Jun 2022 08:18:02 +0000
Resent-Message-ID: <handler.55743.B55743.165415784324734 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165415784324734
(code B ref 55743); Thu, 02 Jun 2022 08:18:02 +0000
Received: (at 55743) by debbugs.gnu.org; 2 Jun 2022 08:17:23 +0000
Received: from localhost ([127.0.0.1]:52727 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwg1D-0006Qs-Ha
for submit <at> debbugs.gnu.org; Thu, 02 Jun 2022 04:17:23 -0400
Received: from quimby.gnus.org ([95.216.78.240]:47894)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <larsi@HIDDEN>) id 1nwg1B-0006Qe-Rw
for 55743 <at> debbugs.gnu.org; Thu, 02 Jun 2022 04:17:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=+3S0h014ifgR5gMjr6hgWh5il56DdoHxcjc6WvJNKOY=; b=XK0Y8DWSlvga1f7JL1yUzdoQkL
TDZuj+njTFz1PWGKs0koxFA3dC3Q9ZENBUmhHWPWZinxH8gqEm7KcazroD7leWQtbya1VY9YdsuMe
VekBQFv0DmlNcUf83wd36aDTLTN2+ZPybfoJB/eKglfO25E5E4Bh9jRgnO9FhCzdiHrg=;
Received: from 109.179.87.109.tmi.telenormobil.no ([109.179.87.109] helo=xo)
by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92) (envelope-from <larsi@HIDDEN>)
id 1nwg11-0004XV-Ta; Thu, 02 Jun 2022 10:17:14 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
Date: Thu, 02 Jun 2022 10:17:10 +0200
In-Reply-To: <83ee07fq6y.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 02 Jun
2022 11:02:45 +0300")
Message-ID: <87czfr32ex.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > We require that
default-directory
be valid whenever Emacs needs to run > a subprocess. This is a basic
requirement
for all Lisp programs using > this facility. Native compilation is not
different fr [...]
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
0.0 TVD_RCVD_IP Message was received from an IP address
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
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 (---)
Eli Zaretskii <eliz@HIDDEN> writes:
> We require that default-directory be valid whenever Emacs needs to run
> a subprocess. This is a basic requirement for all Lisp programs using
> this facility. Native compilation is not different from any other
> Lisp program that invokes a subprocess.
Any asynchronous background process has to ensure that it starts from a
sensible directory -- not whatever default-directory that happens to be
in place in the current buffer.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 02 Jun 2022 08:18:02 +0000
Resent-Message-ID: <handler.55743.B55743.165415787124780 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org, Juri Linkov <juri@HIDDEN>
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165415787124780
(code B ref 55743); Thu, 02 Jun 2022 08:18:02 +0000
Received: (at 55743) by debbugs.gnu.org; 2 Jun 2022 08:17:51 +0000
Received: from localhost ([127.0.0.1]:52730 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwg1e-0006Rc-Oz
for submit <at> debbugs.gnu.org; Thu, 02 Jun 2022 04:17:50 -0400
Received: from smtp-out2.suse.de ([195.135.220.29]:58164)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <schwab@HIDDEN>) id 1nwg1c-0006RL-Ex
for 55743 <at> debbugs.gnu.org; Thu, 02 Jun 2022 04:17:48 -0400
Received: from relay2.suse.de (relay2.suse.de [149.44.160.134])
by smtp-out2.suse.de (Postfix) with ESMTP id A61981F968;
Thu, 2 Jun 2022 08:17:42 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa;
t=1654157862; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
mime-version:mime-version:content-type:content-type:
in-reply-to:in-reply-to:references:references;
bh=BfjNCWqKwcdgAGomkoCQjJCPaBqwZg6aK+dFTMKyt4s=;
b=U5nYYf1jMFjmv5jQawYjQ5l0MZtdXd7tD8YbyBscTpsBwmU4SePxRKMSTvOi1FxCWXiK+9
sAEDJoRea57mixDRklaxw8uUbmrIM/XaTmWKk29GZhnm4qjPpebPnLSRgPrbx+TPIaJoqb
J9/WwTQYbF362+dRN8xDZSTAGTYdD18=
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;
s=susede2_ed25519; t=1654157862;
h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
mime-version:mime-version:content-type:content-type:
in-reply-to:in-reply-to:references:references;
bh=BfjNCWqKwcdgAGomkoCQjJCPaBqwZg6aK+dFTMKyt4s=;
b=L+puPhh2JGp28y7OGwVbPCWbBS1dtp9NkCAw6iGFQ7E8AiNeGybcNKKUEv1F1Y6Ffa2u5R
7tvSaumWyREbU1Ag==
Received: from hawking.suse.de (unknown [10.168.4.11])
by relay2.suse.de (Postfix) with ESMTP id 850182C141;
Thu, 2 Jun 2022 08:17:42 +0000 (UTC)
Received: by hawking.suse.de (Postfix, from userid 17005)
id 576EE444BA4; Thu, 2 Jun 2022 10:17:42 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
X-Yow: Will it improve my CASH FLOW?
Date: Thu, 02 Jun 2022 10:17:42 +0200
In-Reply-To: <83ee07fq6y.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 02 Jun
2022 11:02:45 +0300")
Message-ID: <mvmpmjrwkbd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
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 (---)
On Jun 02 2022, Eli Zaretskii wrote:
> Native compilation is not different from any other Lisp program that
> invokes a subprocess.
But native compilation is more like infrastructure, and not a Lisp
program.
--
Andreas Schwab, SUSE Labs, schwab@HIDDEN
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
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: Thu, 02 Jun 2022 08:45:02 +0000
Resent-Message-ID: <handler.55743.B55743.165415949227551 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org, juri@HIDDEN
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165415949227551
(code B ref 55743); Thu, 02 Jun 2022 08:45:02 +0000
Received: (at 55743) by debbugs.gnu.org; 2 Jun 2022 08:44:52 +0000
Received: from localhost ([127.0.0.1]:52747 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwgRo-0007AJ-Au
for submit <at> debbugs.gnu.org; Thu, 02 Jun 2022 04:44:52 -0400
Received: from eggs.gnu.org ([209.51.188.92]:43732)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1nwgRm-0007A4-I6
for 55743 <at> debbugs.gnu.org; Thu, 02 Jun 2022 04:44:51 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:53640)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwgRh-0007km-5P; Thu, 02 Jun 2022 04:44:45 -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=zXZiJ5w6Pq3S/X+jAx+1kgaIJ0taEgE7YkGDfGbBuf0=; b=e0WXhXXibX9J
T5RyniTjGeSr80ksSyUiou61+gtBTGnUvkX9yHWSrnD+lAqTv2So63qURMhqtR9II2DB3Dhbvh8Xw
DBIMFbAYV/VPVCpjedQesOjWQrkVxUvgzCZcTmoC7JlnTuV7Cxp+tr2VHO8/DDB82RHgatr77yBmM
yrov6jfkzGjetPR2LHaYzfXuxRu3SyJJSixPun3prxEaLEqKAWZrsvsbbNKHbfrOEA8h4YgfzsUBd
b8KRqybXjQoqMfoikm0Xz9Y0vPBPozPCXlKYtQIS3gYJPew253OFQqUUsr3m62R0FetfaqhMovS0A
hLkaxOBKNORhftN1gtruCQ==;
Received: from [87.69.77.57] (port=2962 helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwgRg-0001Tc-K7; Thu, 02 Jun 2022 04:44:44 -0400
Date: Thu, 02 Jun 2022 11:44:53 +0300
Message-Id: <83bkvbfo8q.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87czfr32ex.fsf@HIDDEN> (message from Lars Ingebrigtsen on Thu,
02 Jun 2022 10:17:10 +0200)
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
<87czfr32ex.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 (---)
> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: Juri Linkov <juri@HIDDEN>, 55743 <at> debbugs.gnu.org
> Date: Thu, 02 Jun 2022 10:17:10 +0200
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> > We require that default-directory be valid whenever Emacs needs to run
> > a subprocess. This is a basic requirement for all Lisp programs using
> > this facility. Native compilation is not different from any other
> > Lisp program that invokes a subprocess.
>
> Any asynchronous background process has to ensure that it starts from a
> sensible directory -- not whatever default-directory that happens to be
> in place in the current buffer.
But what is the "sensible" directory in this case? I don't think we
can know it, because what it is depends on many factors we cannot
possibly take into consideration.
IMO, it's the other way around: any Lisp program that could
potentially trigger a subprocess, including compilation, should make
sure the default-directory is always valid.
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
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: Thu, 02 Jun 2022 08:47:02 +0000
Resent-Message-ID: <handler.55743.B55743.165415958327744 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Andreas Schwab <schwab@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org, juri@HIDDEN
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165415958327744
(code B ref 55743); Thu, 02 Jun 2022 08:47:02 +0000
Received: (at 55743) by debbugs.gnu.org; 2 Jun 2022 08:46:23 +0000
Received: from localhost ([127.0.0.1]:52753 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwgTG-0007DQ-Me
for submit <at> debbugs.gnu.org; Thu, 02 Jun 2022 04:46:22 -0400
Received: from eggs.gnu.org ([209.51.188.92]:43976)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1nwgTF-0007DC-8L
for 55743 <at> debbugs.gnu.org; Thu, 02 Jun 2022 04:46:21 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:53652)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwgT9-0008Ht-9f; Thu, 02 Jun 2022 04:46:15 -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=xv+QkT1VUZniFnKssWPXUREvBYqQAapQa2ORBJQfqg4=; b=QLhv527u94MW
4Z2J4UUh8yG9w5YMOpnGgQRpLRSTpbnmQpWrmegFTW3xuZgq/tSo0QEAF3LwYhBhVnumGi39V7jeh
x85XIb/PmOMNLlipSj9UXmz0fXJUYzlEE/IP8lLE6nmER3ZlX/Sr/pamzJhASZ4zyUA58hEqm20VB
w9wBwWBeKXhqg6ayhcaChDKAFdR4xU/BLX56D1vIX/UpPtBdWdwfgxXgLPdK8JP+fqmbljXTe9mcn
nTg/C5GH46XUJd9txOmuRt5j9ZX/uGSl/u1TiIDTuQdpc5WJhafytPtye0/CPtVT3V8ifZy3h7i/X
BBGaeiqskoFuGc+2hgfP5A==;
Received: from [87.69.77.57] (port=3006 helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwgSN-0001Yi-Iv; Thu, 02 Jun 2022 04:46:15 -0400
Date: Thu, 02 Jun 2022 11:45:36 +0300
Message-Id: <83a6avfo7j.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <mvmpmjrwkbd.fsf@HIDDEN> (message from Andreas Schwab on Thu, 02
Jun 2022 10:17:42 +0200)
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
<mvmpmjrwkbd.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 (---)
> From: Andreas Schwab <schwab@HIDDEN>
> Cc: Juri Linkov <juri@HIDDEN>, 55743 <at> debbugs.gnu.org
> Date: Thu, 02 Jun 2022 10:17:42 +0200
>
> On Jun 02 2022, Eli Zaretskii wrote:
>
> > Native compilation is not different from any other Lisp program that
> > invokes a subprocess.
>
> But native compilation is more like infrastructure, and not a Lisp
> program.
Yes. But that is not relevant for the issue at hand.
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 02 Jun 2022 08:52:01 +0000
Resent-Message-ID: <handler.55743.B55743.165415990428428 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org, juri@HIDDEN
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165415990428428
(code B ref 55743); Thu, 02 Jun 2022 08:52:01 +0000
Received: (at 55743) by debbugs.gnu.org; 2 Jun 2022 08:51:44 +0000
Received: from localhost ([127.0.0.1]:52758 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwgYS-0007OR-AV
for submit <at> debbugs.gnu.org; Thu, 02 Jun 2022 04:51:44 -0400
Received: from quimby.gnus.org ([95.216.78.240]:48294)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <larsi@HIDDEN>) id 1nwgYK-0007O5-Hf
for 55743 <at> debbugs.gnu.org; Thu, 02 Jun 2022 04:51:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=bRlRbE5WpUjdz0gd4ZDCEJPwLdvzfbBuNAYL4CGafV0=; b=NVwdxCKAjZd6QEeoAeN6QJXLtr
g2TZzvlRAIIY5s2h/HqZBe3S9JoPnSHiDAfDx9+bOgsNHEdAQ+1BM8Ge67ZleR+BpZZCUwcXI4GTG
Ri8jcGH2UhMSXXIBHFuY5dVHBzsCEfFFu26+U/Hm+kN2idcaygRbcEgEerYYpQuMP9Y4=;
Received: from 109.179.87.109.tmi.telenormobil.no ([109.179.87.109] helo=xo)
by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92) (envelope-from <larsi@HIDDEN>)
id 1nwgYA-00055p-PS; Thu, 02 Jun 2022 10:51:29 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
<87czfr32ex.fsf@HIDDEN> <83bkvbfo8q.fsf@HIDDEN>
Date: Thu, 02 Jun 2022 10:51:25 +0200
In-Reply-To: <83bkvbfo8q.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 02 Jun
2022 11:44:53 +0300")
Message-ID: <878rqf30tu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > IMO, it's the other
way around: any Lisp program that could > potentially trigger a subprocess,
including compilation, should make > sure the default-directory is always
valid. Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
0.0 TVD_RCVD_IP Message was received from an IP address
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
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 (---)
Eli Zaretskii <eliz@HIDDEN> writes:
> IMO, it's the other way around: any Lisp program that could
> potentially trigger a subprocess, including compilation, should make
> sure the default-directory is always valid.
No, the thing that starts the external process should ensure that it can
do so. See `with-existing-directory'.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
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: Thu, 02 Jun 2022 10:49:02 +0000
Resent-Message-ID: <handler.55743.B55743.16541669361805 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org, juri@HIDDEN
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.16541669361805
(code B ref 55743); Thu, 02 Jun 2022 10:49:02 +0000
Received: (at 55743) by debbugs.gnu.org; 2 Jun 2022 10:48:56 +0000
Received: from localhost ([127.0.0.1]:52924 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwiNs-0000T2-HC
for submit <at> debbugs.gnu.org; Thu, 02 Jun 2022 06:48:56 -0400
Received: from eggs.gnu.org ([209.51.188.92]:41806)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1nwiNq-0000Sp-LA
for 55743 <at> debbugs.gnu.org; Thu, 02 Jun 2022 06:48:55 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:54784)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwiNl-0002yF-4R; Thu, 02 Jun 2022 06:48:49 -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=l/6rMwDMCZsq7yF10qjtN2uh6xIyYpupEajiYlPzeH4=; b=HQ55onsAMdh3
cqwKiOxS+6QsejnevR4fGO9YUOHOgMqxT2ypZ/InxMIqExPuRNsSHq86Vn2eSlOMFLAXYpp3KhVJM
0y7nasdKBNPJSUDDrPMnf/2I7x668HMQ/25Sh52nxWMIDuTXOQ89YmQiDYJFa+F70AJoDpLoClGPu
Y6ZVGcIm0KPd04cUJloKByOs/W2nFNt1GsNAWaKmO+cVwzwHnx9n4l8uKqyhKU/zmeRbH4Z6qa/Un
kgni63B3k5RrcdpR81qlArNI7UWMUXMTcDxLbprl+ncZe3YJKWCEqyGO9g/uxexPMnw6heeIYSmwK
3GHEy6uRIJ2CjxflyAl1Vg==;
Received: from [87.69.77.57] (port=2597 helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwiNj-00005b-63; Thu, 02 Jun 2022 06:48:47 -0400
Date: Thu, 02 Jun 2022 13:48:56 +0300
Message-Id: <838rqffihz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <878rqf30tu.fsf@HIDDEN> (message from Lars Ingebrigtsen on Thu,
02 Jun 2022 10:51:25 +0200)
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
<87czfr32ex.fsf@HIDDEN> <83bkvbfo8q.fsf@HIDDEN> <878rqf30tu.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 (---)
> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: 55743 <at> debbugs.gnu.org, juri@HIDDEN
> Date: Thu, 02 Jun 2022 10:51:25 +0200
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> > IMO, it's the other way around: any Lisp program that could
> > potentially trigger a subprocess, including compilation, should make
> > sure the default-directory is always valid.
>
> No, the thing that starts the external process should ensure that it can
> do so. See `with-existing-directory'.
Once again, how would you know what is the correct directory that will
allow the compilation (in this case) or any external process (in other
cases) DTRT? The place where we invoke comp-run-async-workers cannot
possibly know enough about the compilation to make such decisions.
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 02 Jun 2022 17:33:02 +0000
Resent-Message-ID: <handler.55743.B55743.165419113131672 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: Andreas Schwab <schwab@HIDDEN>, 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165419113131672
(code B ref 55743); Thu, 02 Jun 2022 17:33:02 +0000
Received: (at 55743) by debbugs.gnu.org; 2 Jun 2022 17:32:11 +0000
Received: from localhost ([127.0.0.1]:54552 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwog7-0008Em-1z
for submit <at> debbugs.gnu.org; Thu, 02 Jun 2022 13:32:11 -0400
Received: from relay2-d.mail.gandi.net ([217.70.183.194]:57291)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <juri@HIDDEN>) id 1nwog6-0008EV-12
for 55743 <at> debbugs.gnu.org; Thu, 02 Jun 2022 13:32:10 -0400
Received: (Authenticated sender: juri@HIDDEN)
by mail.gandi.net (Postfix) with ESMTPSA id 4CB494000D;
Thu, 2 Jun 2022 17:32:01 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
<mvmpmjrwkbd.fsf@HIDDEN> <83a6avfo7j.fsf@HIDDEN>
Date: Thu, 02 Jun 2022 20:30:29 +0300
In-Reply-To: <83a6avfo7j.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 02 Jun
2022 11:45:36 +0300")
Message-ID: <86k09zxeiu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
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: -1.7 (-)
>> But native compilation is more like infrastructure, and not a Lisp
>> program.
>
> Yes. But that is not relevant for the issue at hand.
So you think that native compilation failure is a user error?
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
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: Thu, 02 Jun 2022 19:03:02 +0000
Resent-Message-ID: <handler.55743.B55743.16541965588488 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Juri Linkov <juri@HIDDEN>
Cc: schwab@HIDDEN, 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.16541965588488
(code B ref 55743); Thu, 02 Jun 2022 19:03:02 +0000
Received: (at 55743) by debbugs.gnu.org; 2 Jun 2022 19:02:38 +0000
Received: from localhost ([127.0.0.1]:54626 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwq5e-0002Cq-Ep
for submit <at> debbugs.gnu.org; Thu, 02 Jun 2022 15:02:38 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48504)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1nwq5a-0002Ca-Di
for 55743 <at> debbugs.gnu.org; Thu, 02 Jun 2022 15:02:37 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:37774)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwq5U-0006YS-Dl; Thu, 02 Jun 2022 15:02:28 -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=V8PygWiEZg1TyOkgjwnPKL5ftJ+qwf0h+TqJQFPZUxs=; b=PvIPRpzWvMkX
sqvec446kIY7TFvVPaZiFXtdHp+wdob8KQJth393SuGCysQ/UOwtJu6OmrVbtvatLzakn8tZZQV2s
MzOy6SxuWfvb3ieMNqSJkuJwHncfHB7DwpnDwVno2xyM/ChrhPM7siKkAdxenUHREofp2arHMptjw
pB+vOB/z7kuBFcg9xeT+fGmir7sIq9NnKOL+njnWytP9O7j+AExdjUMd2uVxbAXcoXHnrMnnlMw/I
gcvztOLt4aZix+FCuoAuLg29Zd2Ez6onS9bEWdQJU0BQ2SFlD/4J2crjhw/OCKfHfbkito9pCJazr
9xceo6YHW7TBOP4PN9+78w==;
Received: from [87.69.77.57] (port=1861 helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nwq5T-00069h-Tb; Thu, 02 Jun 2022 15:02:28 -0400
Date: Thu, 02 Jun 2022 22:02:37 +0300
Message-Id: <83h752evn6.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <86k09zxeiu.fsf@HIDDEN> (message from Juri Linkov on
Thu, 02 Jun 2022 20:30:29 +0300)
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
<mvmpmjrwkbd.fsf@HIDDEN> <83a6avfo7j.fsf@HIDDEN>
<86k09zxeiu.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 (---)
> From: Juri Linkov <juri@HIDDEN>
> Cc: Andreas Schwab <schwab@HIDDEN>, 55743 <at> debbugs.gnu.org
> Date: Thu, 02 Jun 2022 20:30:29 +0300
>
> >> But native compilation is more like infrastructure, and not a Lisp
> >> program.
> >
> > Yes. But that is not relevant for the issue at hand.
>
> So you think that native compilation failure is a user error?
No, I think it's an error in the command that caused default-directory
be set to a non-existent directory -- the error which you already
fixed.
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 03 Jun 2022 03:11:01 +0000
Resent-Message-ID: <handler.55743.B55743.16542258552617 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org, juri@HIDDEN
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.16542258552617
(code B ref 55743); Fri, 03 Jun 2022 03:11:01 +0000
Received: (at 55743) by debbugs.gnu.org; 3 Jun 2022 03:10:55 +0000
Received: from localhost ([127.0.0.1]:54864 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nwxiB-0000g9-0w
for submit <at> debbugs.gnu.org; Thu, 02 Jun 2022 23:10:55 -0400
Received: from quimby.gnus.org ([95.216.78.240]:58510)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <larsi@HIDDEN>) id 1nwxi5-0000fs-UJ
for 55743 <at> debbugs.gnu.org; Thu, 02 Jun 2022 23:10:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=g0GNNWcCRkkZqPojrfLAmsbwfvcryZGaPxNU8f0KCIo=; b=awC+uNOmKNPiO22tALDyQJyKtA
2AeVkxOyuUT78gJgc17omdTW6CChPCsMeNHnRTFOBLaGIxkAlpvKj7ePD7hWLQ+/AHzH4QkIk0NvZ
wAd9NhzFt7sS8cNIPD62mvnwxl0HWEofJsq8big+0JQVEfCERG7SyHxDi1ONDgrio7/Q=;
Received: from [84.212.220.105] (helo=xo)
by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92) (envelope-from <larsi@HIDDEN>)
id 1nwxhw-0001kS-Ft; Fri, 03 Jun 2022 05:10:42 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
<87czfr32ex.fsf@HIDDEN> <83bkvbfo8q.fsf@HIDDEN>
<878rqf30tu.fsf@HIDDEN> <838rqffihz.fsf@HIDDEN>
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj
SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUxZCYRFA5PXjBb
jlGmmnn///8xHCDOAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YGAwMJNGMM+dQAAAG4SURBVDjLddRR
luogDAbgQGcBBWcBNHUBlHQBHmH/a7p/AmI9zuVBbb8mJEAlF/pYiciFiF8b6zW9wSvo5YTI+FIg
5zcNGRCZGV/kEeJfCQwCcwLQTsQWETcDpIwJqYg7xE8g8nvqwGzgAGzgB0QeEcwGu8KhEw+wqqhH
pGPTG6gYDbzAxrGSNoLOiPBE0u4wMh24tuZthfA5wduCKayr9rB08Ie3iBg0EnNq19C8HDSWlXzC
84nEgC6AXJq7fAGKJ19AE6jDkil0SAqPCbZTosAD+p5Yxg6iVT1o5yt4g13hLDThJpjJVzpTh/gB
C4B2wJPu7g1PA5FK90o/ecJZX+B2FEEDfmurXqFKDlKcXOCxGCzZqU1oBvmsP9ntBHBXaLnVMzvc
mXC/QMANSZ9QW6u2HJh/QhaDh8GatzcQtSotj9M+IloHkZFqvjgAbO25Syu1cJmAapsknJ184lTH
bcKJarC65CiHcE2FgGon8hY+4LdPQWHdPiCi/qfTgDW8atXXAJuQ2nOcmbBy2DdhASySC7ooKIeX
civ9f0HPFZZSFqpF4ra6yxz99Qhfg1z4e3T4f8R33D8WfV8c5FBkLAAAACV0RVh0ZGF0ZTpjcmVh
dGUAMjAyMi0wNi0wM1QwMzowOTo1MiswMDowMAh4SNoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjIt
MDYtMDNUMDM6MDk6NTIrMDA6MDB5JfBmAAAAAElFTkSuQmCC
X-Now-Playing: =?UTF-8?Q?M=C3=B8ster!'s?= _When You Cut Into The Present_:
"Soundhouse Rumble"
Date: Fri, 03 Jun 2022 05:10:36 +0200
In-Reply-To: <838rqffihz.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 02 Jun
2022 13:48:56 +0300")
Message-ID: <8735gmcuhf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: Eli Zaretskii <eliz@HIDDEN> writes: > Once again, how would
you know what is the correct directory that will > allow the compilation
(in this case) or any external process (in other > cases) DTRT? The place
where we invoke comp-run-asyn [...]
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
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 (---)
Eli Zaretskii <eliz@HIDDEN> writes:
> Once again, how would you know what is the correct directory that will
> allow the compilation (in this case) or any external process (in other
> cases) DTRT? The place where we invoke comp-run-async-workers cannot
> possibly know enough about the compilation to make such decisions.
comp-run-async-workers knows that it needs an existing directory to
work, so it should arrange to have an existing directory be the current
one.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
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, 03 Jun 2022 05:56:01 +0000
Resent-Message-ID: <handler.55743.B55743.16542357325501 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org, juri@HIDDEN
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.16542357325501
(code B ref 55743); Fri, 03 Jun 2022 05:56:01 +0000
Received: (at 55743) by debbugs.gnu.org; 3 Jun 2022 05:55:32 +0000
Received: from localhost ([127.0.0.1]:55004 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nx0HU-0001Qf-04
for submit <at> debbugs.gnu.org; Fri, 03 Jun 2022 01:55:32 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35926)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1nx0HP-0001QL-DU
for 55743 <at> debbugs.gnu.org; Fri, 03 Jun 2022 01:55:30 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:48006)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nx0HJ-0003rI-Ah; Fri, 03 Jun 2022 01:55:21 -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=20L7eSuvKIDt9DaBLD8LcElIx3urFWNXfbwGK63B0+w=; b=dt20WMH2Tx7g
i7nhoLLIpyC2s1c5HGPXNlRQQEEmpHnnT/ELJ4SeBw8uIm1LBWO3CSXgRYKnjQdlQuB78VN1hqc1O
fju4fHT+ZLmIQLrb3+QaYw3NVxOg6s+KPO1GyiGWsfamBxVDNA4C5baLwZ9OiskDEfBFw3voZIlMr
NC5eq2U6KviR0+7XcrNLC4sTPcwLMXoq7TPIKF5yXd8i6Y6x7lwPPFdT1kZqYfsH7LwsHejrW8kWF
URrSihKPaSS9h0Pt4aGldSOxdILeXrgmYcwpwTGNKCuR2EskVRqfRH25JnVNBnKcspZa4Xka3AnAt
j+hQRhpHHnR/2JhUInT5fA==;
Received: from [87.69.77.57] (port=2047 helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nx0HI-0000SO-Qd; Fri, 03 Jun 2022 01:55:21 -0400
Date: Fri, 03 Jun 2022 08:55:31 +0300
Message-Id: <837d5ye1f0.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <8735gmcuhf.fsf@HIDDEN> (message from Lars Ingebrigtsen on Fri,
03 Jun 2022 05:10:36 +0200)
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
<87czfr32ex.fsf@HIDDEN> <83bkvbfo8q.fsf@HIDDEN>
<878rqf30tu.fsf@HIDDEN> <838rqffihz.fsf@HIDDEN> <8735gmcuhf.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 (---)
> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Cc: 55743 <at> debbugs.gnu.org, juri@HIDDEN
> Date: Fri, 03 Jun 2022 05:10:36 +0200
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> > Once again, how would you know what is the correct directory that will
> > allow the compilation (in this case) or any external process (in other
> > cases) DTRT? The place where we invoke comp-run-async-workers cannot
> > possibly know enough about the compilation to make such decisions.
>
> comp-run-async-workers knows that it needs an existing directory to
> work, so it should arrange to have an existing directory be the current
> one.
Yes, we can arrange for an existing directory, but:
. it could be wrong, i.e. it could yield wrong compilation results
. it will silently sweep under the carpet cases like this one, where
a Lisp program makes default-directory invalid -- don't we want to
uncover such cases?
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 03 Jun 2022 07:58:02 +0000
Resent-Message-ID: <handler.55743.B55743.165424304526667 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: schwab@HIDDEN, 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165424304526667
(code B ref 55743); Fri, 03 Jun 2022 07:58:02 +0000
Received: (at 55743) by debbugs.gnu.org; 3 Jun 2022 07:57:25 +0000
Received: from localhost ([127.0.0.1]:55179 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nx2BQ-0006w3-Pf
for submit <at> debbugs.gnu.org; Fri, 03 Jun 2022 03:57:24 -0400
Received: from relay12.mail.gandi.net ([217.70.178.232]:40349)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <juri@HIDDEN>) id 1nx2BP-0006vd-1o
for 55743 <at> debbugs.gnu.org; Fri, 03 Jun 2022 03:57:23 -0400
Received: (Authenticated sender: juri@HIDDEN)
by mail.gandi.net (Postfix) with ESMTPSA id ACEE420000E;
Fri, 3 Jun 2022 07:57:15 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
<mvmpmjrwkbd.fsf@HIDDEN> <83a6avfo7j.fsf@HIDDEN>
<86k09zxeiu.fsf@HIDDEN> <83h752evn6.fsf@HIDDEN>
Date: Fri, 03 Jun 2022 10:49:13 +0300
In-Reply-To: <83h752evn6.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 02 Jun
2022 22:02:37 +0300")
Message-ID: <86mteunq4m.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
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: -1.7 (-)
>> >> But native compilation is more like infrastructure, and not a Lisp
>> >> program.
>> >
>> > Yes. But that is not relevant for the issue at hand.
>>
>> So you think that native compilation failure is a user error?
>
> No, I think it's an error in the command that caused default-directory
> be set to a non-existent directory -- the error which you already
> fixed.
I meant other cases such as M-: (setq default-directory "/non-existent/foo/bar") RET
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
Resent-From: Andreas Schwab <schwab@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 03 Jun 2022 08:23:02 +0000
Resent-Message-ID: <handler.55743.B55743.165424453129048 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 55743 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>, juri@HIDDEN
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165424453129048
(code B ref 55743); Fri, 03 Jun 2022 08:23:02 +0000
Received: (at 55743) by debbugs.gnu.org; 3 Jun 2022 08:22:11 +0000
Received: from localhost ([127.0.0.1]:55216 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nx2ZO-0007YS-Mm
for submit <at> debbugs.gnu.org; Fri, 03 Jun 2022 04:22:10 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:50212)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <whitebox@HIDDEN>) id 1nx2ZK-0007YI-Rp
for 55743 <at> debbugs.gnu.org; Fri, 03 Jun 2022 04:22:09 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
by mail-out.m-online.net (Postfix) with ESMTP id 4LDwpj4HzNz1qybr;
Fri, 3 Jun 2022 10:22:05 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
by mail.m-online.net (Postfix) with ESMTP id 4LDwpj2b0cz1qqkH;
Fri, 3 Jun 2022 10:22:05 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
port 10024)
with ESMTP id 6WWfgGL9OcT4; Fri, 3 Jun 2022 10:22:04 +0200 (CEST)
X-Auth-Info: 7VzGhpqCj5nT/ChPX07fX8pec9kKF3dMddsNBflJhKInnzfm2CNVVtpUfvhqLuPJ
Received: from igel.home (ppp-46-244-165-124.dynamic.mnet-online.de
[46.244.165.124])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by mail.mnet-online.de (Postfix) with ESMTPSA;
Fri, 3 Jun 2022 10:22:04 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
id CCD662C3779; Fri, 3 Jun 2022 10:22:03 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
<87czfr32ex.fsf@HIDDEN> <83bkvbfo8q.fsf@HIDDEN>
<878rqf30tu.fsf@HIDDEN> <838rqffihz.fsf@HIDDEN>
<8735gmcuhf.fsf@HIDDEN> <837d5ye1f0.fsf@HIDDEN>
X-Yow: Now that we're in LOVE, you can BUY this GOLDFISH for a 48% DISCOUNT.
Date: Fri, 03 Jun 2022 10:22:03 +0200
In-Reply-To: <837d5ye1f0.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 03 Jun
2022 08:55:31 +0300")
Message-ID: <87y1yef978.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.5 (/)
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: -1.5 (-)
On Jun 03 2022, Eli Zaretskii wrote:
> Yes, we can arrange for an existing directory, but:
>
> . it could be wrong, i.e. it could yield wrong compilation results
A remote directory would also be wrong.
--
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
X-Loop: help-debbugs@HIDDEN
Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers
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, 03 Jun 2022 11:13:02 +0000
Resent-Message-ID: <handler.55743.B55743.165425475221976 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 55743
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Juri Linkov <juri@HIDDEN>
Cc: schwab@HIDDEN, 55743 <at> debbugs.gnu.org
Received: via spool by 55743-submit <at> debbugs.gnu.org id=B55743.165425475221976
(code B ref 55743); Fri, 03 Jun 2022 11:13:02 +0000
Received: (at 55743) by debbugs.gnu.org; 3 Jun 2022 11:12:32 +0000
Received: from localhost ([127.0.0.1]:55426 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nx5EG-0005iO-0X
for submit <at> debbugs.gnu.org; Fri, 03 Jun 2022 07:12:32 -0400
Received: from eggs.gnu.org ([209.51.188.92]:53376)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <eliz@HIDDEN>) id 1nx5EC-0005i9-Hs
for 55743 <at> debbugs.gnu.org; Fri, 03 Jun 2022 07:12:30 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:37762)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nx5E6-0004TZ-UA; Fri, 03 Jun 2022 07:12:23 -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=r886LIQfI41k7WX9WS7TktfkiYz0iuLYsvi119zhtMc=; b=M1UVNG0qxQX8
ICklpJbTzWghDs9DypY0Lp2O8WS0bv6j4u7PT0zIombsPOoS6nYNl4j14FH81xe8uefKaiW60iqh/
Lsh90wjSA6bmhmcJPeECJYB+bNcjOBCYGb36ItJckO9gzjjYakEv+1g2ZguH4vVO0bhkafgsK1M72
3GYWWE/ownksLdNGXvJI2YK+T2t7XBq+4ZZM5KCZurIfhZU16JHBWH9Fc3pLI58No4mMsxnoO/4Qx
Y/wB4uhz5bTiTkLpGwWjVFoAAIvcvuNEOVSTisxGpj7JmM07MLFYE62RltWPeDYImAJiWKfMNa1W4
ASL1vgVkM0rE3150hk/amQ==;
Received: from [87.69.77.57] (port=1555 helo=home-c4e4a596f7)
by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1nx5E5-0001rb-1I; Fri, 03 Jun 2022 07:12:22 -0400
Date: Fri, 03 Jun 2022 14:12:33 +0300
Message-Id: <83o7zac866.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <86mteunq4m.fsf@HIDDEN> (message from Juri Linkov on
Fri, 03 Jun 2022 10:49:13 +0300)
References: <86y1yhsxin.fsf@HIDDEN> <83wne1h66x.fsf@HIDDEN>
<86wne1trce.fsf@HIDDEN> <83leuhgljn.fsf@HIDDEN>
<861qw97x41.fsf@HIDDEN> <83h754hbwf.fsf@HIDDEN>
<86a6aw2o4e.fsf@HIDDEN> <83o7zcf9kw.fsf@HIDDEN>
<861qw7zf6r.fsf@HIDDEN> <83ee07fq6y.fsf@HIDDEN>
<mvmpmjrwkbd.fsf@HIDDEN> <83a6avfo7j.fsf@HIDDEN>
<86k09zxeiu.fsf@HIDDEN> <83h752evn6.fsf@HIDDEN>
<86mteunq4m.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 (---)
> From: Juri Linkov <juri@HIDDEN>
> Cc: schwab@HIDDEN, 55743 <at> debbugs.gnu.org
> Date: Fri, 03 Jun 2022 10:49:13 +0300
>
> >> >> But native compilation is more like infrastructure, and not a Lisp
> >> >> program.
> >> >
> >> > Yes. But that is not relevant for the issue at hand.
> >>
> >> So you think that native compilation failure is a user error?
> >
> > No, I think it's an error in the command that caused default-directory
> > be set to a non-existent directory -- the error which you already
> > fixed.
>
> I meant other cases such as M-: (setq default-directory "/non-existent/foo/bar") RET
Yes, I think it's a user error, similar to deleting a directory that
is the CWD of some shell.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.