bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61038: 30.0.50; `project-query-replace-regexp' also attempts search


From: Mickey Petersen
Subject: bug#61038: 30.0.50; `project-query-replace-regexp' also attempts search and replace in auto-save files
Date: Wed, 25 Jan 2023 07:30:14 +0000
User-agent: mu4e @VERSION@; emacs 30.0.50

Dmitry Gutov <dgutov@yandex.ru> writes:

> On 24/01/2023 12:37, Mickey Petersen wrote:
>> I think it'd be more useful if auto-save files (or even backup files)
>> were excluded from all the various `project-' commands that operate on
>> project files.
>
> I think that depends on the project backend.
>
> The default implementation uses grep-find-ignored-files (which include
> auto-save files, I think?).
>
> But the vc-aware backend ignores generally what the repository
> configuration tells it to ignore. Which would generally include
> auto-save files as well, but that depends on factors external to
> Emacs.
>
> What kind of backend were you trying this command with?

Default git backend. However, I'd charge that Emacs should know about
its own backup files (and not necessarily those of other Emacs
instances that may be running.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]