GNU bug report logs - #43789
27.1; Dired cannot handle file which name contains linebreak

Previous Next

Package: emacs;

Reported by: "Zhu Zihao" <all_but_last <at> 163.com>

Date: Sun, 4 Oct 2020 09:14:01 UTC

Severity: minor

Merged with 22477, 35578

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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: bug#35578: closed (Re: bug#43789: 27.1; Dired cannot handle file
 which name contains linebreak)
Date: Tue, 06 Oct 2020 16:27:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#43789: dired cannot deal with files with newlines in their names

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 35578 <at> debbugs.gnu.org.

-- 
43789: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43789
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: "Zhu Zihao" <all_but_last <at> 163.com>
Cc: 43789-done <at> debbugs.gnu.org, michael.albinus <at> gmx.de
Subject: Re: bug#43789: 27.1; Dired cannot handle file which name
 contains linebreak
Date: Tue, 06 Oct 2020 19:25:53 +0300
> Date: Wed, 7 Oct 2020 00:11:35 +0800 (CST)
> From: "Zhu Zihao" <all_but_last <at> 163.com>
> Cc: "Michael Albinus" <michael.albinus <at> gmx.de>, 43789 <at> debbugs.gnu.org
> 
> I think I get an acceptable solution. thank you  all!
> 
> We may close this issue now.

Done, thanks.

[Message part 3 (message/rfc822, inline)]
From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 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 225 days ago.

Previous Next


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