GNU bug report logs -
#22938
24.5; Cannot rename files in directory with escaped spaces
Previous Next
Full log
Message #14 received at 22938 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> mbork.pl> wrote:
>
>>
>> On 2016-03-08, at 09:29, Marty Rosenberg <marty.rosenberg <at> 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
>>
>
>
[Message part 2 (text/html, inline)]
This bug report was last modified 9 years and 71 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.