From: Michael Albinus <michael.albinus@gmx.de>
To: Allen Li <darkfeline@felesatra.moe>
Cc: 31068@debbugs.gnu.org
Subject: bug#31068: 27.0.50; Renaming archives fails due to tramp-archive
Date: Thu, 05 Apr 2018 14:33:14 +0200 [thread overview]
Message-ID: <87o9ixomt1.fsf@gmx.de> (raw)
In-Reply-To: <CADbSrJzpx16KvfLtHOiZRgLmm31iUrmK8ySgh2HboCo4SY9i9g@mail.gmail.com> (Allen Li's message of "Thu, 5 Apr 2018 00:31:55 -0700")
Allen Li <darkfeline@felesatra.moe> writes:
> 1. touch /tmp/foo.7z
> 2. emacs -Q
> 3. C-x C-f /tmp RET
> 4. Use R to rename foo.7z to bar.7z
>
> An error is signaled. The debug output:
The relevant parts are
> dired-fun-in-all-buffers("/tmp/bar.7z/" nil dired-rename-subdir-1 "/tmp/bar.7z/" "/tmp/foo.7z/")
> dired-rename-subdir("/tmp/bar.7z" "/tmp/foo.7z")
> dired-rename-file("/tmp/bar.7z" "/tmp/foo.7z" nil)
Why does `dired-rename-file' calls `dired-rename-subdir'? "/tmp/bar.7z"
is just a file.
Best regards, Michael.
next prev parent reply other threads:[~2018-04-05 12:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-05 7:31 bug#31068: 27.0.50; Renaming archives fails due to tramp-archive Allen Li
2018-04-05 12:33 ` Michael Albinus [this message]
2018-04-05 12:57 ` Andreas Schwab
2018-04-05 13:39 ` Michael Albinus
2018-05-14 11:56 ` Michael Albinus
2018-05-15 6:55 ` Allen Li
2018-05-15 9:14 ` Michael Albinus
2018-05-17 4:59 ` Allen Li
2018-05-17 6:55 ` Michael Albinus
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=87o9ixomt1.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=31068@debbugs.gnu.org \
--cc=darkfeline@felesatra.moe \
/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).