|
From: | Dmitry Gutov |
Subject: | bug#59722: 30.0.50; project-find-regexp searches project-ignored files |
Date: | Wed, 30 Nov 2022 17:09:38 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
I have the following `project.el' configuration: (setq xref-search-program 'ripgrep) and the following `.dir-locals.el' file in a project: ((nil . ((project-ignores . ("apps/**/*.scm"))))) As expected, e.g. `project-find-file' ignores all `.scm' files in the `apps' subdirectory of the project, however `project-find-regexp' does not ignore them. TL;DR, Expected: `project-find-regexp' honors `project-ignores'
Hi! 'project-ignores' is not a variable, it's a generic function.What backend are you using? If it's (most likely) project-vc, then the variable you must be looking for is 'project-vc-ignores'.
To answer the "what backend" question, you can evaluate (project-current).
[Prev in Thread] | Current Thread | [Next in Thread] |