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: Tue, 31 May 2022 22:07:18 +0300 Message-ID: <83wne1h66x.fsf@gnu.org> References: <86y1yhsxin.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32843"; 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 Tue May 31 21:14:39 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 1nw7KA-0008MK-RC for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 May 2022 21:14:39 +0200 Original-Received: from localhost ([::1]:40760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nw7K9-0007gt-Kk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 May 2022 15:14:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw7Dm-0004RP-I2 for bug-gnu-emacs@gnu.org; Tue, 31 May 2022 15:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55029) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nw7Dm-00054f-7X for bug-gnu-emacs@gnu.org; Tue, 31 May 2022 15:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nw7Dl-0007Ua-W7 for bug-gnu-emacs@gnu.org; Tue, 31 May 2022 15:08: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: Tue, 31 May 2022 19:08:01 +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.165402404328746 (code B ref 55743); Tue, 31 May 2022 19:08:01 +0000 Original-Received: (at 55743) by debbugs.gnu.org; 31 May 2022 19:07:23 +0000 Original-Received: from localhost ([127.0.0.1]:48926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nw7D9-0007Ta-M4 for submit@debbugs.gnu.org; Tue, 31 May 2022 15:07:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nw7D7-0007TL-7C for 55743@debbugs.gnu.org; Tue, 31 May 2022 15:07:22 -0400 Original-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 ) 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==; Original-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 ) id 1nw7Cz-0003AL-T7; Tue, 31 May 2022 15:07:14 -0400 In-Reply-To: <86y1yhsxin.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 31 May 2022 20:31:36 +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:233456 Archived-At: > From: Juri Linkov > 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.