unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Change in 28.1 in opening a file from grep results on Windows
@ 2022-07-12 15:36 Pascal Quesseveur
  2022-07-12 16:01 ` Eli Zaretskii
  2022-07-12 16:22 ` Eli Zaretskii
  0 siblings, 2 replies; 17+ messages in thread
From: Pascal Quesseveur @ 2022-07-12 15:36 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-07-13 16:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-12 15:36 Change in 28.1 in opening a file from grep results on Windows Pascal Quesseveur
2022-07-12 16:01 ` Eli Zaretskii
2022-07-12 16:31   ` Pascal Quesseveur
2022-07-12 16:50     ` Eli Zaretskii
2022-07-12 17:04       ` Pascal Quesseveur
2022-07-12 17:13         ` Eli Zaretskii
2022-07-12 17:23           ` Pascal Quesseveur
2022-07-12 16:22 ` Eli Zaretskii
2022-07-12 16:56   ` Pascal Quesseveur
2022-07-12 17:09     ` Eli Zaretskii
2022-07-12 17:20       ` Pascal Quesseveur
2022-07-12 17:29         ` Eli Zaretskii
2022-07-12 17:41           ` Pascal Quesseveur
2022-07-12 20:07     ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-07-13 12:14       ` Eli Zaretskii
2022-07-13 12:47         ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-07-13 16:08           ` Pascal Quesseveur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).