From: miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 58182@debbugs.gnu.org
Subject: bug#58182: 29.0.50; rename-visited-file: Selecting a directory almost works
Date: Thu, 29 Sep 2022 23:31:17 +0200 [thread overview]
Message-ID: <87tu4puau2.fsf@miha-pc> (raw)
[-- Attachment #1: Type: text/plain, Size: 330 bytes --]
Visit an existing file and type
M-x rename-visited-file RET /path/to/existing/directory/ending/with/slash/ RET
and notice that the command half succeeds.
The file is successfully copied to the target directory, because
'rename-file' handles directories. 'set-visited-file-name' doesn't
handle directories and signals an error.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]
next reply other threads:[~2022-09-29 21:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-29 21:31 miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-09-30 13:07 ` bug#58182: 29.0.50; rename-visited-file: Selecting a directory almost works 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tu4puau2.fsf@miha-pc \
--to=bug-gnu-emacs@gnu.org \
--cc=58182@debbugs.gnu.org \
--cc=miha@kamnitnik.top \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.