bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29189: 25.3; Dired does not work with binary filenames


From: Eli Zaretskii
Subject: bug#29189: 25.3; Dired does not work with binary filenames
Date: Tue, 07 Nov 2017 19:08:42 +0200

> From: Andreas Schwab <schwab@suse.de>
> Date: Tue, 07 Nov 2017 11:00:13 +0100
> Cc: 29189@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'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]