From: Eli Zaretskii <eliz@gnu.org>
To: "Zhu Zihao" <all_but_last@163.com>
Cc: 43789@debbugs.gnu.org
Subject: bug#43789: 27.1; Dired cannot handle file which name contains linebreak
Date: Sun, 04 Oct 2020 12:36:58 +0300 [thread overview]
Message-ID: <83v9fqe3id.fsf@gnu.org> (raw)
In-Reply-To: <368aeb12.1603.174f2d51c6d.Coremail.all_but_last@163.com>
> Date: Sun, 4 Oct 2020 16:58:06 +0800 (CST)
> From: "Zhu Zihao" <all_but_last@163.com>
>
> 1. Use touch from coreutils or find-file in Emacs to create a file which name contains a linebreak. (e.g.
> "line\nbreak")
> 2. Visit it in dired, you cannot do anything with this file because the characters after "\n" was ignored by
> dired.
You need to add -b to the 'ls' switches, and then it will work. That
is:
C-u C-x d
b RET
The "b RET" part makes the switches passed to 'ls' be "-alb" instead
of the default "-al".
next prev parent reply other threads:[~2020-10-04 9:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-04 8:58 bug#43789: 27.1; Dired cannot handle file which name contains linebreak Zhu Zihao
2020-10-04 9:36 ` Eli Zaretskii [this message]
2020-10-04 9:49 ` bug#43789: " Zhu Zihao
2020-10-04 10:54 ` Eli Zaretskii
2020-10-05 7:39 ` Lars Ingebrigtsen
2020-10-05 7:47 ` bug#43789: " Zhu Zihao
2020-10-05 7:49 ` Andreas Schwab
2020-10-05 8:10 ` Eli Zaretskii
2020-10-05 8:18 ` bug#43789: " Zhu Zihao
2020-10-05 9:40 ` Eli Zaretskii
2020-10-05 8:26 ` Lars Ingebrigtsen
2020-10-05 9:30 ` Michael Albinus
2020-10-05 9:51 ` Eli Zaretskii
2020-10-06 16:11 ` bug#43789: " Zhu Zihao
2020-10-06 16:25 ` Eli Zaretskii
2020-10-05 16:53 ` Drew Adams
2020-10-06 2:30 ` Richard Stallman
2020-10-06 8:59 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83v9fqe3id.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=43789@debbugs.gnu.org \
--cc=all_but_last@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.