Subject: bug#57350: 29.0.50; dired and filenames containing newlines

From: Andreas Schwab <[email-masked]>
Date: Wed, 24 Aug 2022 14:22:42 +0200

On Aug 24 2022, Eli Zaretskii wrote:

>> Cc: [email-masked], [email-masked]
>> From: Richard Stallman <[email-masked]>
>> Date: Tue, 23 Aug 2022 23:53:58 -0400
>> 
>>   > If you have files with names with embedded newline characters, adding
>>   > `b' to the switches will allow Dired to handle those files better.
>>   > ---
>> 
>>   > But that has other side effects some people don't like, which is why we
>>   > haven't changed the defaults.
>> 
>> What do people dislike about -b?
>
> It causes much more than the newline to show up in somewhat awkward
> formatting.  Most of those other characters don't need to be
> escaped/quoted for Emacs to DTRT, but 'ls' doesn't have any
> finer-tuned feature.

With support for --dired, there is already everything needed to handle
newlines in file names.

-- 
Andreas Schwab, SUSE Labs, [email-masked]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."