From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#16577: Add regexp-based version of completion-ignored-extensions Date: Tue, 22 Feb 2022 08:56:51 -0500 Message-ID: References: <83mwig85an.fsf@gnu.org> <83d2jc81f8.fsf@gnu.org> <8361p39ar2.fsf@gnu.org> <87r17xsm7c.fsf_-_@gnus.org> <87fsocl3ot.fsf@gnus.org> <874k4sgpi1.fsf@gnus.org> <87k0dnca7g.fsf@gnus.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15501"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: vmalloc@gmail.com, Glenn Morris , Eli Zaretskii , 16577@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 22 14:59:54 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nMVhp-0003nn-II for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Feb 2022 14:59:53 +0100 Original-Received: from localhost ([::1]:47212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMVho-00010D-4T for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Feb 2022 08:59:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMVg2-0006t6-1E for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 08:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMVg1-0004jk-Ny for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 08:58:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMVg1-0005lz-O4 for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 08:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Feb 2022 13:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16577 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 16577-submit@debbugs.gnu.org id=B16577.164553822222113 (code B ref 16577); Tue, 22 Feb 2022 13:58:01 +0000 Original-Received: (at 16577) by debbugs.gnu.org; 22 Feb 2022 13:57:02 +0000 Original-Received: from localhost ([127.0.0.1]:40460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMVf4-0005ka-Cb for submit@debbugs.gnu.org; Tue, 22 Feb 2022 08:57:02 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:55514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMVf2-0005k4-2c for 16577@debbugs.gnu.org; Tue, 22 Feb 2022 08:57:00 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id EA6F8440974; Tue, 22 Feb 2022 08:56:53 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 82393440EE8; Tue, 22 Feb 2022 08:56:52 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1645538212; bh=ZP5s3130eyp9dSgTYdd20GWguxCci39+U5ktzA35QOw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EAz43YEMsxpV1zqt+SwkplzLa3JqSaF+ZFF7+b4kLbPc3DOc+uKkfMBKhLrsh912H 38bW+3A+GFyTKcZxwMCYGo018NoIupqGj/zC7OSUBnama+J8LeCZVUkwHOz61jWoNp YDV2ZrL/YQ6JJ+xvsCo7wF39Y5jkQpfy3dfthDgCvY7+i1ILLSb3I3Zt5ReTS4cNg8 4PhxnR6KUBfpCZ+D4IUkTHlI9cVx+UvF20m4q/KYwiDWj53/aEeIwgrcqOOUrUlv8m j4YTNxyxWXR3U0bM0S8k7jgLSaoP6o9ed3DYgn/hOoy8hlz3IAkrR2uXpFVUvVrq+M DNcGDWnyrKWkw== Original-Received: from pastel (unknown [45.72.197.68]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2E656120F21; Tue, 22 Feb 2022 08:56:52 -0500 (EST) In-Reply-To: <87k0dnca7g.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 22 Feb 2022 14:17:07 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:227432 Archived-At: > 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. [ Not sure I'd bother with the non-regexp variable (other than having to use \\. to match a dot, a regexp should work just as well). ] This is the best way long term, yes. We could mark `completion-ignored-extensions` as obsolete and in a few years we're back with a clean semantics and a simple variable. Stefan