From: Marty Rosenberg <marty.rosenberg@gmail.com>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: 22938@debbugs.gnu.org
Subject: bug#22938: 24.5; Cannot rename files in directory with escaped spaces
Date: Tue, 8 Mar 2016 14:11:43 -0500 [thread overview]
Message-ID: <CAGv7PEDzNBbt25OEChHEB4XVkx4EQZaNanSZi2ceg6MFX6OW6g@mail.gmail.com> (raw)
In-Reply-To: <CAGv7PECSpC7e3dQR2vwDOSxsMKdGiTHpwh_WaGK26A0FMbd4Gw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]
Addendum: I have discovered that there are multiple ways to rename a file
in dired. I simply deleted the a, and replaced it with a b, while dired
was in Editable mode.
On Tue, Mar 8, 2016 at 1:45 PM, Marty Rosenberg <marty.rosenberg@gmail.com>
wrote:
> Strange, I just checked out git master, and reproduced it (I
> used e0400b72a24). Did you both quote and escape the space? (alternately,
> you can run mkdir escape\\\ me) I've reproduced this on both an ubuntu
> system, an arch-linux system, and a gentoo system. I haven't tried on a
> redhat based system, nor on OSX.
>
> On Tue, Mar 8, 2016 at 3:52 AM, Marcin Borkowski <mbork@mbork.pl> wrote:
>
>>
>> On 2016-03-08, at 09:29, Marty Rosenberg <marty.rosenberg@gmail.com>
>> wrote:
>>
>> > most of this happens outside of emacs:
>> > mkdir 'escape\ me'
>> > cd 'escape\ me'
>> > touch a
>> > emacs -Q .
>> > C-x C-q
>> > rename the file from a to b
>> > C-c C-c
>> >
>> > when I inspect the error, it looks like it is attempting to rename
>> > /home/mjrosenb/tmp/escapeme/a to /home/mjrosenb/tmp/escapeme/b
>> > which fails, because the name of the directory is 'escape\ me', not
>> > 'escapeme'
>>
>> Hi,
>>
>> and thanks for the report.
>>
>> However, it seems to work just fine on GNU Emacs 25.1.50.6 (commit
>> ac9a931). It might have been fixed in the meantime.
>>
>> Best,
>>
>> --
>> Marcin Borkowski
>> http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
>> Faculty of Mathematics and Computer Science
>> Adam Mickiewicz University
>>
>
>
[-- Attachment #2: Type: text/html, Size: 2473 bytes --]
next prev parent reply other threads:[~2016-03-08 19:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 8:29 bug#22938: 24.5; Cannot rename files in directory with escaped spaces Marty Rosenberg
2016-03-08 8:52 ` Marcin Borkowski
2016-03-08 18:45 ` Marty Rosenberg
2016-03-08 19:11 ` Marty Rosenberg [this message]
2016-03-08 19:19 ` Eli Zaretskii
2016-03-08 20:48 ` Andreas Schwab
2016-03-08 21:06 ` Eli Zaretskii
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=CAGv7PEDzNBbt25OEChHEB4XVkx4EQZaNanSZi2ceg6MFX6OW6g@mail.gmail.com \
--to=marty.rosenberg@gmail.com \
--cc=22938@debbugs.gnu.org \
--cc=mbork@mbork.pl \
/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.