GNU bug report logs - #22477
24.5; Dired does not work if file names contain newlines

Previous Next

Package: emacs;

Reported by: Aura Kelloniemi <kaura.dev <at> sange.fi>

Date: Wed, 27 Jan 2016 16:35:03 UTC

Severity: minor

Merged with 35578, 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


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 22477 <at> debbugs.gnu.org, Aura Kelloniemi <kaura.dev <at> sange.fi>
Subject: Re: bug#22477: 24.5;
 Dired does not work if file names contain newlines
Date: Tue, 16 Feb 2016 17:46:24 +1100
Glenn Morris <rgm <at> gnu.org> writes:

> Aura Kelloniemi wrote:
>
>> 1. Create a file which contains a newline character in its name.
>
> If you like to do weird things like that, adding "-b" to
> dired-listing-switches helps.

The reason characters like that are problematic is because we're using
"ls" and then parsing the output, I guess?  Is there any particular
reason dired is still doing that?  Is the ls-lisp.el implementation
noticeably slower still?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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