GNU bug report logs - #67687
Feature request: automatic tags management

Previous Next

Package: emacs;

Reported by: Jon Eskin <eskinjp <at> gmail.com>

Date: Thu, 7 Dec 2023 11:45:02 UTC

Severity: wishlist

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


Message #158 received at 67687 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Francesco Potortì <pot <at> gnu.org>
Cc: 67687 <at> debbugs.gnu.org, eskinjp <at> gmail.com, michael.albinus <at> gmx.de,
 stefankangas <at> gmail.com, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#67687: Feature request: automatic tags management
Date: Tue, 2 Jan 2024 15:09:16 +0200
On 02/01/2024 12:41, Francesco Potortì wrote:
>> a) We won't add new files to the index, because we (apparently) can't
>> simply use the project's list of files -- there is no guarantee that it
>> matches the fileset that the original author of the TAGS file had in mind.
>>
>> b) There is no way to pick up the --regex options used for generating
>> the original TAGS, or any other options we don't know about. So if we
>> were to just use the logic of regenerating tags for newly changed files,
>> we would end up with a mix of tags in some files based on the set of
>> --regex used in the past, and with tags for new files based on the
>> configured set of --regex options.
> Maybe the TAGS files should contain information to regenerate them?

It would ideally need something more nuanced, like a list of globs to 
match and a list of globs to ignore, so that, for example, new files 
could also be added to the index.

And also the directory structure(s) involved (see my previous example of 
two dirs side-by-side)... overall, this seems like a difficult direction 
to proceed when we have an automatic approach for generating tags with 
its own settings already.




This bug report was last modified 1 year and 142 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.