GNU bug report logs - #29189
25.3; Dired does not work with binary filenames

Previous Next

Package: emacs;

Reported by: Allen Li <vianchielfaura <at> gmail.com>

Date: Tue, 7 Nov 2017 09:04:01 UTC

Severity: minor

Found in version 25.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Allen Li <vianchielfaura <at> gmail.com>
Cc: schwab <at> suse.de, 29189 <at> debbugs.gnu.org
Subject: Re: bug#29189: 25.3; Dired does not work with binary filenames
Date: Sat, 11 Nov 2017 10:20:36 +0200
> From: Allen Li <vianchielfaura <at> gmail.com>
> Date: Fri, 10 Nov 2017 22:59:56 -0800
> Cc: bug-gnu-emacs <at> gnu.org, Andreas Schwab <schwab <at> suse.de>, 29189 <at> debbugs.gnu.org
> 
> On Wed, Nov 8, 2017 at 12:44 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > I don't understand why -b should be used at all.  In my testing, it
> > wasn't needed.  Maybe this depends on the locale?  What's yours?
> 
> en_US.UTF-8
> 
> Without -b, the filename in Dired is two binary characters, \300 and
> \265.  With -b, the filename in Dired is four characters, \265

Sorry, it seems I was confused.  You didn't originally say what file
name you expected to see in Dired.  If the expected file name is \265,
a single byte, but you see \300\265 instead, then the problem is not
in deletion, the problem is in how Dired prepares file names for
display.  I will look into that when I have time, if no one beats me
to it.




This bug report was last modified 6 years and 261 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.