[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18875: 25.0.50; Dired -- add support for ls --time-style with a spac
From: |
Lars Ingebrigtsen |
Subject: |
bug#18875: 25.0.50; Dired -- add support for ls --time-style with a space |
Date: |
Sun, 22 Aug 2021 17:00:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes:
> The commit 04f723dec944eaa7b5e99373840a8bf920ba5fdd
> broke my config with the error signaled by insert-directory:
> (error "Listing directory failed but ‘access-file’ worked")
>
> When dired-listing-switches is customized to
> "-Alv --block-size='1"
Hm, well, that's not a valid shell string, is it?
It should be "-Alv --block-size=\"'1\"" or something like that to be
valid...
Hm... Oh! The doc string actually documents this (that it's not using
shell quoting).
---
Options that include embedded whitespace must be quoted
like this: "--option=value with spaces"; you can use
‘combine-and-quote-strings’ to produce the correct quoting of
each option.
---
So this was the original answer to this bug report. I'll revert the
change.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no