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 11:02:45 +0300 Message-ID: <83ee07fq6y.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13357"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55743@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 02 10:13:13 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 1nwfxA-0003DC-4B for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jun 2022 10:13:12 +0200 Original-Received: from localhost ([::1]:33954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwfx9-0006Xc-1j for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jun 2022 04:13:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwfnK-0002aW-RA for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 04:03:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nwfnK-00080T-Ij for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 04:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nwfnK-000624-99 for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2022 04:03: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 08:03: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.165415696523160 (code B ref 55743); Thu, 02 Jun 2022 08:03:02 +0000 Original-Received: (at 55743) by debbugs.gnu.org; 2 Jun 2022 08:02:45 +0000 Original-Received: from localhost ([127.0.0.1]:52687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwfn3-00061U-3P for submit@debbugs.gnu.org; Thu, 02 Jun 2022 04:02:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nwfn0-00061A-QP for 55743@debbugs.gnu.org; Thu, 02 Jun 2022 04:02:43 -0400 Original-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 ) 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==; Original-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 ) id 1nwfmu-0002g4-Qo; Thu, 02 Jun 2022 04:02:37 -0400 In-Reply-To: <861qw7zf6r.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 02 Jun 2022 10:40:12 +0300) 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:233525 Archived-At: > From: Juri Linkov > Cc: 55743@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.