Subject: Re: bug#16577: Add regexp-based version of completion-ignored-extensions

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 22 Feb 2022 14:17:07 +0100

Stefan Monnier <[email-masked]> writes:

> There are several file name patterns I've wanted to ignore but couldn't
> because enumerating them all is somewhere between inconvenient
> and impossible (whereas a regexp would cover them easily).

I wonder whether it would be easier to add two new variables, but
perhaps that's excessive.

That is, completion-ignored-extensions as before, and
completion-ignored-files (a list of strings) and
completion-ignored-regexp (a regexp or a list of regexps).  The
advantage is that the semantics on all three variables would be pretty
self evident, and would require no special syntax anywhere.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no