GNU bug report logs - #35578
dired cannot deal with files with newlines in their names

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 5 May 2019 12:33:02 UTC

Severity: minor

Merged with 22477, 43789

Found in versions 24.5, 27.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 35578 <at> debbugs.gnu.org
Subject: bug#35578: dired cannot deal with files with newlines in their names
Date: Sun, 05 May 2019 08:32:18 +0800
Dired's d x sequence to delete files cannot deal with e.g.,
$ ls
'BR186585-'$'\n''en_'$'\n''.png'
'BR186585-'$'\320\n\211''_'$'\320''.png'
It says "deleting... done" but a 'g' command reveals they are still
there as good as new.

Maybe dired should not be fooled by newlines is filenames somehow...




This bug report was last modified 4 years and 226 days ago.

Previous Next


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