[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52166: Dired doesn't handle filenames with newlines
From: |
Eli Zaretskii |
Subject: |
bug#52166: Dired doesn't handle filenames with newlines |
Date: |
Sun, 28 Nov 2021 21:42:12 +0200 |
> From: Tor Kringeland <tor.a.s.kringeland@ntnu.no>
> Date: Sun, 28 Nov 2021 20:26:21 +0100
>
> Create a file named `
> file.txt` in `dired' (that is, with a newline included). It's possible
> to mark this file, but when I try to delete it, `dired' complains that
> there is "No file on this line".
>
> Moreover, only "file.txt" is displayed on the next line, with no
> indication that the filename starts with a newline. This makes it easy
> to miss it at a glance. It could be helpful to have an option of the
> filename instead being displayed like "^Jfile.txt" instead.
You need to add -b to the ls switches used by Dired, and then you will
have what you want.