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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 43789 <at> debbugs.gnu.org, all_but_last <at> 163.com
Subject: Re: bug#43789: 27.1;
 Dired cannot handle file which name contains linebreak
Date: Mon, 05 Oct 2020 12:51:00 +0300
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Date: Mon, 05 Oct 2020 11:30:50 +0200
> Cc: 43789 <at> debbugs.gnu.org
> 
> "Zhu Zihao" <all_but_last <at> 163.com> writes:
> 
> > Step to reproduce:
> >
> > 1. Use touch from coreutils or find-file in Emacs to create a file
> > which name contains a linebreak. (e.g. "line\nbreak")
> > 2. Visit it in dired, you cannot do anything with this file because
> > the characters after "\n" was ignored by dired.
> 
> I recommend to avoid file names containing line breaks. Tramp, for
> example, cannot handle them at all.

Cannot agree more.  And I think we shouldn't tweak our implementation
too much for such use cases, given that there's an easy workaround.




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

Previous Next


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