unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Problem with Emacs 28.1 and dired on Windows
@ 2022-06-21  8:16 Pascal Quesseveur
  2022-06-21 11:22 ` Michael Heerdegen
  2022-06-21 12:38 ` Tassilo Horn
  0 siblings, 2 replies; 5+ messages in thread
From: Pascal Quesseveur @ 2022-06-21  8:16 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I am encountering a problem with dired using emacs 28.1 on Windows 10.

I open a dired buffer on a dir named "C:/Users/Public/Applis"
containing a symbolic link named "Dir01" (the link has been created on
Windows 10 with command mklink /D). In dired Dir01 is followed by ->
and the name of the real directory.

In 27.1 when I hit i (dired-maybe-insert-subdir) on Dir01, it opens
content of Dir01 in the current dired buffer. In 28.1, emacs displays
an error message:

C:/Users/Public/Applis/Dir01 not in this directory tree

There is a change in (dired-insert-subdir-validate). To verify the
directory emacs now calls (file-in-directory-p) instead of
(dired-in-this-tree-p). And:

(dired-in-this-tree-p "C:/Users/Public/Applis/Dir01/" "C:/Users/Public/")
-> 0

(file-in-directory-p "C:/Users/Public/Applis/Dir01/" "C:/Users/Public/")
-> nil


-- 
Pascal Quesseveur
pquessev@gmail.com




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

end of thread, other threads:[~2022-06-21 19:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-21  8:16 Problem with Emacs 28.1 and dired on Windows Pascal Quesseveur
2022-06-21 11:22 ` Michael Heerdegen
2022-06-21 12:38 ` Tassilo Horn
2022-06-21 15:35   ` Pascal Quesseveur
2022-06-21 19:45     ` Tassilo Horn

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).