unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24184: 25.0.94; dired-copy-filename-as-kill does not quote or properly separate file names
@ 2016-08-08 14:08 Gereon Kaiping
  2018-04-15 23:13 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Gereon Kaiping @ 2016-08-08 14:08 UTC (permalink / raw)
  To: 24184

Enhancement Request:

> Start emacs
> Find a directory containing more than one file with space in the file
> name, opening that directory in dired
> Mark more than one file, eg. using `m`
> Run 'dired-copy-filename-as-kill for example by pressing `w`
> Notice that there is no difference between the space separating file
> names and the spaces in file names

$ touch "this file" "that file"
$ emacs -Q
C-x C-f RET m m w

gives

that file this file

but should give something like

"that file" "this file"

or

that file
this file

to be much more useful. The former looks cleanest, because then the
content can be yanked as elisp list, but would of course require that
not only filenames are quoted, but that also " be quoted inside file
names.

--
Gereon





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-15 12:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-08-15 12:24       ` Lars Ingebrigtsen

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