GNU bug report logs - #58664
29.0.50; Dired fails to operate on files with newline charachters in name

Previous Next

Package: emacs;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Thu, 20 Oct 2022 17:40:01 UTC

Severity: normal

Tags: wontfix

Found in version 29.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Philip Kaludercic <philipk <at> posteo.net>, 58664 <at> debbugs.gnu.org
Subject: bug#58664: 29.0.50; Dired fails to operate on files with newline charachters in name
Date: Thu, 24 Nov 2022 12:01:55 -0800
tags 58664 + wontfix
close 58664
thanks

Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Philip Kaludercic <philipk <at> posteo.net>
>> Date: Thu, 20 Oct 2022 17:39:12 +0000
>>
>>
>> If I create a file in the shell using
>>
>>    $ touch "one
>>    two"
>>    $ ls
>>    'one'$'\n''two'
>>
>> and try to open this directory using Dired, I get the following
>>
>>     -rw-r--r--. 1 philip philip    0 Oct 20 19:37 one
>>   two
>>
>> where the "t" in two is highlighted.  If I try to mark the file and
>> delete it, Dired attempts to delete the file "one", that luckily doesn't
>> exist.
>
> This is a known issue.  The best solution we have for it is to use -b
> in the ls switches used by Dired.  (That cannot be the default because
> -b has adverse effect in other cases.)

So I think this is a wontfix.  I'm therefore closing this bug report.




This bug report was last modified 2 years and 261 days ago.

Previous Next


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