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.help Subject: Re: Change in 28.1 in opening a file from grep results on Windows Date: Tue, 12 Jul 2022 19:22:32 +0300 Message-ID: <83tu7mwbav.fsf@gnu.org> References: <82y1wy8hrh.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24581"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 12 18:25:38 2022 Return-path: Envelope-to: geh-help-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 1oBIhe-0006HE-1C for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 12 Jul 2022 18:25:38 +0200 Original-Received: from localhost ([::1]:36664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBIhc-0005uF-Oq for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 12 Jul 2022 12:25:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBIeq-0004Hv-18 for help-gnu-emacs@gnu.org; Tue, 12 Jul 2022 12:22:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBIep-000652-Nr for help-gnu-emacs@gnu.org; Tue, 12 Jul 2022 12:22:43 -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=kPVl71Oe36/Am4gtJkatbUoCNOxZpmqwTjtu8TBXtXI=; b=YN9lS8N9qmjr xaVB3feIKiMZg2hyPXvtQBqG7L+q5JdclGtbVfEQKek8IbodnTo3rxcpCKr+KbgmDVLmtihokfzH4 cHmwjBCBoNY8WdWC21O23pobItKslc1MEym+m7KVHrMQrXIBzCahs6I0IOocS94U8UrTq9QglMLTb dQMzJM1PZn62aqqiUuaLhsI30Ho1MUZ3u5ymQBYg8kqGXNMoIMmUGjC4kFuVdo6w7SmaHhhTPH+Ps OzyP+gTInV7u5nJUC1DLj7wM2FDt9L9PtRj3BqCnpJ2EW13Jot8luiz1TeSyGSAx9NT0l2sHVtoDU gwE7poRjcnlWA5KFPVUmNA==; Original-Received: from [87.69.77.57] (port=2164 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 1oBIep-0006uf-8k for help-gnu-emacs@gnu.org; Tue, 12 Jul 2022 12:22:43 -0400 In-Reply-To: <82y1wy8hrh.fsf@gmail.com> (message from Pascal Quesseveur on Tue, 12 Jul 2022 17:36:50 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:138437 Archived-At: > From: Pascal Quesseveur > Date: Tue, 12 Jul 2022 17:36:50 +0200 > > To verify file existence in compilation-find-file, emacs calls > file-truename instead of expand-file-name (version 27.1). In my case > the later is better, but I am not aware of all the possible cases. The reason for the change is described in bug#8035, which is even nastier than this one. So we cannot possibly go back to the old code there. It is IME unusual to use literal UNCs in serious development on MS-Windows, precisely because cmd.exe doesn't support that well, and various commands will fail depending on how you invoke them and what is the working directory when you do. Wherever I saw networked drive used it was always via mapping them to a drive letter, and for a good reason. So I still think this is the right solution, not even a workaround, because the same problems will happen outside Emacs if you use cmd.exe as your shell.