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 #11 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
Subject: Re:Re: bug#43789: 27.1; Dired cannot handle file which name
 contains linebreak
Date: Sun, 4 Oct 2020 17:49:17 +0800 (CST)
[Message part 1 (text/plain, inline)]
Thank you, what about make this a part of default ls switch?





















At 2020-10-04 17:36:58, "Eli Zaretskii" <eliz <at> gnu.org> wrote:
>> Date: Sun, 4 Oct 2020 16:58:06 +0800 (CST)
>> From: "Zhu Zihao" <all_but_last <at> 163.com>
>> 
>> 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.
>
>You need to add -b to the 'ls' switches, and then it will work.  That
>is:
>
>  C-u C-x d
>  b RET
>
>The "b RET" part makes the switches passed to 'ls' be "-alb" instead
>of the default "-al".
[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.