From: Dmitry Gutov <dgutov@yandex.ru>
To: "Rudolf Adamkovič" <salutis@me.com>, 59722@debbugs.gnu.org
Subject: bug#59722: 30.0.50; project-find-regexp searches project-ignored files
Date: Wed, 30 Nov 2022 17:09:38 +0200 [thread overview]
Message-ID: <9de53f42-8f76-3770-b059-d78a5252d31a@yandex.ru> (raw)
In-Reply-To: <m27czc1pdt.fsf@me.com>
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).
next prev parent reply other threads:[~2022-11-30 15:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-30 14:35 bug#59722: 30.0.50; project-find-regexp searches project-ignored files Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-30 15:09 ` Dmitry Gutov [this message]
2022-11-30 23:20 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-30 23:30 ` Dmitry Gutov
2022-12-04 23:36 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-05 0:43 ` Dmitry Gutov
2022-12-09 16:21 ` Dmitry Gutov
2022-12-11 12:38 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-11 20:13 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9de53f42-8f76-3770-b059-d78a5252d31a@yandex.ru \
--to=dgutov@yandex.ru \
--cc=59722@debbugs.gnu.org \
--cc=salutis@me.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).