GNU bug report logs - #22938
24.5; Cannot rename files in directory with escaped spaces

Previous Next

Package: emacs;

Reported by: Marty Rosenberg <marty.rosenberg <at> gmail.com>

Date: Tue, 8 Mar 2016 08:30:03 UTC

Severity: normal

Merged with 14521

Found in versions 24.2, 24.5

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 22938 <at> debbugs.gnu.org (full text, mbox):

From: Marty Rosenberg <marty.rosenberg <at> gmail.com>
To: Marcin Borkowski <mbork <at> mbork.pl>
Cc: 22938 <at> debbugs.gnu.org
Subject: Re: bug#22938: 24.5;
 Cannot rename files in directory with escaped spaces
Date: Tue, 8 Mar 2016 13:45:07 -0500
[Message part 1 (text/plain, inline)]
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.