From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Generation of tags for the current project on the fly Date: Wed, 07 Feb 2018 05:26:31 +0200 Message-ID: <83d11h7a54.fsf@gnu.org> References: <4559858d-eb32-d071-fdad-e51430700260@yandex.ru> <83shbb30z1.fsf@gnu.org> <8360863o6a.fsf@gnu.org> <27a58fb2-d2ee-e5fc-158d-ec41be401987@yandex.ru> <83y3l0za1f.fsf@gnu.org> <259c557d-e3a3-c01b-9ba3-30df09d247ea@yandex.ru> <83inc3znpu.fsf@gnu.org> <98f4f0c3-6815-bf86-fa23-1a330c60b9f3@yandex.ru> <87lggwkuth.fsf@tromey.com> <877esgqdhk.fsf@tromey.com> <1fad0c79-cd65-df83-9dcc-2650fed4dad1@yandex.ru> <76696ae3-318c-bb83-bbf9-a4f8680114ba@yandex.ru> <87lggsnkwc.fsf@tromey.com> <854cd0fd-5e4f-771a-0f58-b94373a2f98c@yandex.ru> <878tcgaqd9.fsf@tromey.com> <22dbecf2-4153-9410-722f-e98e48481302@yandex.ru> <83372f8ix9.fsf@gnu.org> <651fd4fb-bd0b-1cf5-62e0-aa8abe104817@yandex.ru> <83eflx7vw2.fsf@gnu.org> <2acd2301-771d-1749-36b7-a08fa6d668e8@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1517973935 14007 195.159.176.226 (7 Feb 2018 03:25:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Feb 2018 03:25:35 +0000 (UTC) Cc: tom@tromey.com, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 07 04:25:31 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejGMG-0002S4-Gt for ged-emacs-devel@m.gmane.org; Wed, 07 Feb 2018 04:25:16 +0100 Original-Received: from localhost ([::1]:41732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejGOH-0005mn-W6 for ged-emacs-devel@m.gmane.org; Tue, 06 Feb 2018 22:27:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejGNa-0005m4-EX for emacs-devel@gnu.org; Tue, 06 Feb 2018 22:26:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejGNX-0001sT-BY for emacs-devel@gnu.org; Tue, 06 Feb 2018 22:26:38 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejGNX-0001sN-7S; Tue, 06 Feb 2018 22:26:35 -0500 Original-Received: from [176.228.60.248] (port=1937 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ejGNW-0000oI-JQ; Tue, 06 Feb 2018 22:26:35 -0500 In-reply-to: <2acd2301-771d-1749-36b7-a08fa6d668e8@yandex.ru> (message from Dmitry Gutov on Tue, 6 Feb 2018 23:41:29 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222611 Archived-At: > X-Spam-Status: No, score=2.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, > RCVD_IN_SORBS_WEB,T_DKIM_INVALID autolearn=disabled version=3.3.2 > Cc: tom@tromey.com, emacs-devel@gnu.org > From: Dmitry Gutov > Date: Tue, 6 Feb 2018 23:41:29 +0300 > > Well... It's a normal occurrence in most projects. Maybe not in Emacs, > but what about GCC and the rest, which also use 'make tags'? > > Also, the developer might be developing some new feature on a branch > (adding new files), and switch back and forth between branches, > effectively deleting and recreating said files. > > It would be nice to keep the index up-to-date automatically during all > that. Many users would expect that, I think. Then I guess we should ask "etags -u" to do that automatically, i.e. for every file name it finds in TAGS to check whether that file exists, and if not, remove all its tags from the file.