bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57350: 29.0.50; dired and filenames containing newlines


From: Lars Ingebrigtsen
Subject: bug#57350: 29.0.50; dired and filenames containing newlines
Date: Tue, 23 Aug 2022 12:53:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Robert Marshall <robert@capuchin.co.uk> writes:

> I was sent a file whose name contained a newline:
>
>  drwxrwxr-x   9 robert robert    12288 Aug 23 08:22 .
>   -rw-rw-r--   1 robert robert  4887658 Aug 23 08:22 21st August Draft 
> Newsletter
>  FINAL.pdf

Unfortunately, dired just isn't designed to work with these kinds of
files.

But you can make it work by changing `dired-listing-switches':

---
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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]