[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Change in 28.1 in opening a file from grep results on Windows
From: |
Pascal Quesseveur |
Subject: |
Change in 28.1 in opening a file from grep results on Windows |
Date: |
Tue, 12 Jul 2022 17:36:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (windows-nt) |
Emacs 28.1 on Windows.
c:\Users\Public\app is a symbolic link to either a remote directory on
a SMB server or a local disk
I can open file c:\Users\Public\app\file1.c, and launch a command from
that file, eg an ant build
I execute grep from c:\Users\Public\app\file1.c. When I open a file in
results buffer (eg file2.c), the file is opened with its true name,
\\smbserver\app\file2.c, and then I can not execute same command as
before on file1.c because cmd.exe is not allowed from a remote
directory.
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.
--
Pascal Quesseveur
pquessev@gmail.com
- Change in 28.1 in opening a file from grep results on Windows,
Pascal Quesseveur <=
Re: Change in 28.1 in opening a file from grep results on Windows, Eli Zaretskii, 2022/07/12