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 #17 received at 22938 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Marty Rosenberg <marty.rosenberg <at> gmail.com>
Cc: 22938 <at> debbugs.gnu.org, mbork <at> mbork.pl
Subject: Re: bug#22938: 24.5;
 Cannot rename files in directory with escaped spaces
Date: Tue, 08 Mar 2016 21:19:12 +0200
> Date: Tue, 8 Mar 2016 13:45:07 -0500
> From: Marty Rosenberg <marty.rosenberg <at> gmail.com>
> Cc: 22938 <at> debbugs.gnu.org
> 
> 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.

You are right, I see it too.

AFAICS, the problem is in wdired-normalize-filename: it removes the
backslash and the following blank from the name, thus creating a name
of a file that doesn't exist.




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.