From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers Date: Thu, 02 Jun 2022 13:48:56 +0300 Message-ID: <838rqffihz.fsf@gnu.org> References: <86y1yhsxin.fsf@mail.linkov.net> <83wne1h66x.fsf@gnu.org> <86wne1trce.fsf@mail.linkov.net> <83leuhgljn.fsf@gnu.org> <861qw97x41.fsf@mail.linkov.net> <83h754hbwf.fsf@gnu.org> <86a6aw2o4e.fsf@mail.linkov.net> <83o7zcf9kw.fsf@gnu.org> <861qw7zf6r.fsf@mail.linkov.net> <83ee07fq6y.fsf@gnu.org> <87czfr32ex.fsf@gnus.org> <83bkvbfo8q.fsf@gnu.org> <878rqf30tu.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7952"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55743@debbugs.gnu.org, juri@linkov.net To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 02 12:53:23 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nwiSA-0001v8-Kt for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jun 2022 12:53:22 +0200 Original-Received: from localhost ([::1]:35296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwiS9-0005Nt-6d for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jun 2022 06:53:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwiNz-000269-05 for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 06:49:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59027) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwiNy-00030A-CZ for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 06:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwiNy-0000TM-93 for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 06:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jun 2022 10:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55743 X-GNU-PR-Package: emacs Original-Received: via spool by 55743-submit@debbugs.gnu.org id=B55743.16541669361805 (code B ref 55743); Thu, 02 Jun 2022 10:49:02 +0000 Original-Received: (at 55743) by debbugs.gnu.org; 2 Jun 2022 10:48:56 +0000 Original-Received: from localhost ([127.0.0.1]:52924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwiNs-0000T2-HC for submit@debbugs.gnu.org; Thu, 02 Jun 2022 06:48:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwiNq-0000Sp-LA for 55743@debbugs.gnu.org; Thu, 02 Jun 2022 06:48:55 -0400 Original-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 ) 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==; Original-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 ) id 1nwiNj-00005b-63; Thu, 02 Jun 2022 06:48:47 -0400 In-Reply-To: <878rqf30tu.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 02 Jun 2022 10:51:25 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233541 Archived-At: > From: Lars Ingebrigtsen > Cc: 55743@debbugs.gnu.org, juri@linkov.net > Date: Thu, 02 Jun 2022 10:51:25 +0200 > > Eli Zaretskii 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.