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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> suse.de>
Cc: vianchielfaura <at> gmail.com, 29189 <at> debbugs.gnu.org
Subject: Re: bug#29189: 25.3; Dired does not work with binary filenames
Date: Tue, 07 Nov 2017 19:08:42 +0200
> From: Andreas Schwab <schwab <at> suse.de>
> Date: Tue, 07 Nov 2017 11:00:13 +0100
> Cc: 29189 <at> debbugs.gnu.org
> 
> > touch $'\265'
> >
> > 1. Navigate to the directory containing said file with Dired
> > 2. Mark file for deletion with d
> > 3. x
> >
> > Expected:
> >
> > File deleted
> 
> It works if you add b to dired-listing-switches, though the buffer isn't
> properly updated afterwards.

Here (with the latest emacs-26 branch) it doesn't produce any error
messages, and the buffer is updated to remove the name of that file,
but 'g' brings it back, so it wasn't really deleted.

I stepped into Fdelete_file, and saw that the file name is correctly
encoded before calling 'unlink'.




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.