unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 52004@debbugs.gnu.org
Subject: bug#52004: dired-rename-subdir-2: Expected to find ‘/tmp/a/./’ in headerline of /tmp/a/
Date: Sun, 21 Nov 2021 09:36:14 +0100	[thread overview]
Message-ID: <87bl2doqgx.fsf@gnus.org> (raw)
In-Reply-To: <87y25i8xlh.5.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Sun, 21 Nov 2021 02:56:42 +0800")

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> $ mkdir /tmp/a /tmp/b
> $ emacs -Q /tmp/a
> Put the cursor on the "." line, and hit R and try and move it to /tmp/b .
> Overwrite ‘/tmp/b’? [Type yn!q or C-h] y
> dired-rename-subdir-2: Expected to find ‘/tmp/a/./’ in headerline of /tmp/a/

I can't reproduce this in Emacs 29, so I guess it's been fixed since
then.

However, hitting `g' in the directory after the operation gives me an
error about default-directory no longer existing (which is correct), but
this should be handled better.

This is a duplicate of bug#30578, though, so I'm merging these bugs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-11-21  8:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-20 18:56 bug#52004: dired-rename-subdir-2: Expected to find ‘/tmp/a/./’ in headerline of /tmp/a/ 積丹尼 Dan Jacobson
2021-11-21  8:36 ` Lars Ingebrigtsen [this message]
2022-09-24 13:28   ` Lars Ingebrigtsen

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=87bl2doqgx.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=52004@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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