unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: pquessev@gmail.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: Problem with Emacs 28.1 and dired on Windows
Date: Tue, 21 Jun 2022 14:38:13 +0200	[thread overview]
Message-ID: <8735fyb2cl.fsf@gnu.org> (raw)
In-Reply-To: <82ilouh1od.fsf@gmail.com>

Pascal Quesseveur <pquessev@gmail.com> writes:

Hi Pascal,

> 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

Sorry, this is my fault.  Could you please file a bug report with M-x
report-emacs-bug and add me to the Cc, please?

Bye,
Tassilo



  parent reply	other threads:[~2022-06-21 12:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2022-06-21 15:35   ` Pascal Quesseveur
2022-06-21 19:45     ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735fyb2cl.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=pquessev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).