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

From: "Zhu Zihao" <all_but_last <at> 163.com>
To: "Eli Zaretskii" <eliz <at> gnu.org>
Cc: 43789 <at> debbugs.gnu.org, Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re:Re: bug#43789: 27.1; Dired cannot handle file which name
 contains linebreak
Date: Wed, 7 Oct 2020 00:11:35 +0800 (CST)
[Message part 1 (text/plain, inline)]
I think I get an acceptable solution. thank you  all!


We may close this issue now.






At 2020-10-05 17:51:00, "Eli Zaretskii" <eliz <at> gnu.org> wrote:
>> 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.
[Message part 2 (text/html, inline)]

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.