From: Drew Adams <drew.adams@oracle.com>
To: Juri Linkov <juri@linkov.net>, Lars Ingebrigtsen <larsi@gnus.org>
Cc: Gereon Kaiping <gereon.kaiping@gmail.com>, 24184@debbugs.gnu.org
Subject: bug#24184: 25.0.94; dired-copy-filename-as-kill does not quote or properly separate file names
Date: Mon, 16 Apr 2018 15:35:56 -0700 (PDT) [thread overview]
Message-ID: <e003f744-925f-46da-a75c-23bb55a74c76@default> (raw)
In-Reply-To: <874lka51h4.fsf@mail.linkov.net>
> I think filenames should be quoted only when really necessary. IOW,
> only if (not (equal (shell-quote-argument "this file") "this file"))
> but not when (equal (shell-quote-argument "this-file") "this-file").
Even stronger than that. There is no reason to suppose
that everyone wants to yank the text only in contexts
where it should be double-quoted.
On the contrary. People have been usefully yanking it
and using it without quotes for decades. This is a useful,
longstanding Emacs feature.
If someone wants a different copy or paste or both behavior
then s?he can define a new command and bind a key to it.
If someone thinks that Emacs itself needs such a command
and key then s?he can propose it. But there is zero reason
to co-opt this fine feature by replacing it by something else.
next prev parent reply other threads:[~2018-04-16 22:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-08 14:08 bug#24184: 25.0.94; dired-copy-filename-as-kill does not quote or properly separate file names Gereon Kaiping
2018-04-15 23:13 ` Lars Ingebrigtsen
2018-04-16 20:40 ` Juri Linkov
2018-04-16 22:35 ` Drew Adams [this message]
2021-08-15 12:24 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e003f744-925f-46da-a75c-23bb55a74c76@default \
--to=drew.adams@oracle.com \
--cc=24184@debbugs.gnu.org \
--cc=gereon.kaiping@gmail.com \
--cc=juri@linkov.net \
--cc=larsi@gnus.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).