GNU bug report logs -
#59722
30.0.50; project-find-regexp searches project-ignored files
Previous Next
Full log
Message #8 received at 59722 <at> debbugs.gnu.org (full text, mbox):
On 30/11/2022 16:35, Rudolf Adamkovič via Bug reports for GNU Emacs, the
Swiss army knife of text editors wrote:
>
> 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).
This bug report was last modified 2 years and 191 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.