[Top][All Lists]

[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:15:21 +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 18:48:24 +0200
> (insert-file-contents "...") takes 0.15 in this example, which would 
> make it possible to use if etags implemented the same logic that we do 
> in Elisp currently

Which logic is that? what does it do?

> > Anyway, TAGS and etags.el were designed to be very tolerant to
> > changes, so you shouldn't need to update very often.
> I want it to update reliably; maybe not too often (depending on a 
> project), but if a user switches to a different Git branch, they should 
> be confident that they'll see the changes reflected in the index soon. 
> Even (and especially) if those are big changes.

What about regenerating etags only if M-. etc. fail to find an

> Right now only the update-on-save feature is in there, but I have to 
> tell you, having a newly written function in the index right away 
> (without having to invoke any commands or switch to the terminal) is 
> pretty nice.

Of course, but then the user will need to be prepared to pay the
price.  TANSTAAFL.

reply via email to

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