[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35564: [PATCH v2] Tweak dired warning about "wildcard" characters
From: |
Kévin Le Gouguec |
Subject: |
bug#35564: [PATCH v2] Tweak dired warning about "wildcard" characters |
Date: |
Tue, 18 Jun 2019 10:52:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
npostavs@gmail.com writes:
> (rx-to-string `(or (seq (or bos blank)
> (group-n 1 ,char)
> (or eos blank))
> (seq ?` (group-n 1 ,char) ?`)))
Ah! Thanks for teaching me about \(?NUM: ... \), I did not know this
Elisp extension. This makes the whole thing much more readable.
For a minute I thought that maybe this patch should also add (require
'rx) somewhere in dired-aux.el, but AFAICT this is not necessary since
rx-to-string is autoloaded… Do I understand correctly?
Thanks again for the review, and for your efforts with bug#36237.
(And thank you Stefan for your advice on being superstitious about the
right things :) )
bug#35564: [PATCH v3] Tweak dired warning about "wildcard" characters, Kévin Le Gouguec, 2019/06/26