all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gregory Heytings <gregory@heytings.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: robert@capuchin.co.uk, larsi@gnus.org, 57350@debbugs.gnu.org,
	rms@gnu.org
Subject: bug#57350: 29.0.50; dired and filenames containing newlines
Date: Wed, 31 Aug 2022 12:32:02 +0000	[thread overview]
Message-ID: <534c9018d2ed63a04fd6@heytings.org> (raw)
In-Reply-To: <835yi8u1a8.fsf@gnu.org>


>
> A lot of coding.  The --dired option tells Emacs where the file name 
> begins and ends, but it does nothing to remove the literal newline 
> character in the Dired buffer that breaks the file name entry into two 
> (or more) lines.
>

Is this not an enhancement that we could ask in ls, I mean, escaping only 
newlines with \n and backslashed with \\ (instead of all non-graphic 
characters as --escape does)?  I guess the --dired option is only used by 
Emacs, so this should be a safe change.





  parent reply	other threads:[~2022-08-31 12:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-23  7:52 bug#57350: 29.0.50; dired and filenames containing newlines Robert Marshall
2022-08-23 10:53 ` Lars Ingebrigtsen
2022-08-24  3:53   ` Richard Stallman
2022-08-24  6:38     ` Michael Albinus
2022-08-24 10:24     ` Lars Ingebrigtsen
2022-08-26  3:37       ` Richard Stallman
2022-08-26  6:54         ` Eli Zaretskii
2022-08-31  2:38           ` Richard Stallman
2022-08-31 10:59             ` Eli Zaretskii
2022-08-31 11:06               ` Andreas Schwab
2022-08-31 12:32               ` Gregory Heytings [this message]
2022-08-24 10:58     ` Eli Zaretskii
2022-08-24 12:22       ` Andreas Schwab

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=534c9018d2ed63a04fd6@heytings.org \
    --to=gregory@heytings.org \
    --cc=57350@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    --cc=rms@gnu.org \
    --cc=robert@capuchin.co.uk \
    /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.