emacs-devel
[Top][All Lists]
Advanced

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

Re: Automatic (e)tags generation and incremental updates


From: Eli Zaretskii
Subject: Re: Automatic (e)tags generation and incremental updates
Date: Tue, 12 Jan 2021 19:55:56 +0200

> Cc: tom@tromey.com, john@yates-sheets.org, philipk@posteo.net,
>  emacs-devel@gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Tue, 12 Jan 2021 19:32:18 +0200
> 
> > What about regenerating etags only if M-. etc. fail to find an
> > identifier?
> 
> There are downsides.
> 
> You will have to press M-. twice sometimes with that approach. 

Why twice? I thought about regenerating automatically once the search
fails, then retrying the search with an updated tags table.

> Completion will routinely fail to show some tags that should be present. 
> Also, if the rescan takes a while, I'm not sure you'd want to do that on 
> every 'M-.' failure.

You could also regenerate when the user switches to another branch.
That's not a very frequent thing to do.



reply via email to

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