From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Generation of tags for the current project on the fly Date: Tue, 6 Feb 2018 23:41:29 +0300 Message-ID: <2acd2301-771d-1749-36b7-a08fa6d668e8@yandex.ru> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1517952010 1295 195.159.176.226 (6 Feb 2018 21:20:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Feb 2018 21:20:10 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 Cc: tom@tromey.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 06 22:20:05 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 1ejAed-0007c7-Ex for ged-emacs-devel@m.gmane.org; Tue, 06 Feb 2018 22:19:51 +0100 Original-Received: from localhost ([::1]:35569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejAge-00089X-PB for ged-emacs-devel@m.gmane.org; Tue, 06 Feb 2018 16:21:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejA3d-0002lJ-SR for emacs-devel@gnu.org; Tue, 06 Feb 2018 15:41:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejA3a-0008OT-Ok for emacs-devel@gnu.org; Tue, 06 Feb 2018 15:41:37 -0500 Original-Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:41292) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ejA3a-0008Nn-Hi; Tue, 06 Feb 2018 15:41:34 -0500 Original-Received: by mail-lf0-x242.google.com with SMTP id f136so4633953lff.8; Tue, 06 Feb 2018 12:41:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1RH33MmwpQlwpDeSHZqUjER8fW1n2W/ax4LbTcuTKoI=; b=TatfMDkgC81A831hHH3qwgXa+/63PaNIT7QjgA8KiajV8eChxQhrgnZNIjU6HmoY9J Sfpe0EeFlDaEzNTIyv8JX1snq1q86sAmTcGD20somwvqzk1yspSoE7MSBPDBj6tSFDXE 1/OXEtGCqw8o4o+YRO+6UbRg6n6kSzw86E0uwzBygWfIrT8EebP25TGUq12Bzp4opugc 1CIJTqqblkxCr4Ucj5p9qDsdC2FGTYPvU2s91x8La4J3Six9Byabeu9KjKPNHWUph7fz N6euOZUsw9psrtbEIN0TebnjAvYNSQVp67fCAvRVKtAhC6y/Kvk0QMZO+ewyUnxx5Ecx Kfyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1RH33MmwpQlwpDeSHZqUjER8fW1n2W/ax4LbTcuTKoI=; b=uF2l6k1o6QB/xLmbYTi+lofiFdx07q86zl2REAC+E5l2X+20maNTw7STYWQ25gZkwd QY/o4t7xHDQZ8VVXCX0Ysus2g8fBIjhB1PznNmW4R00TK4bFZXd5hdeTrWvSGNNszGIN Ji5zhAvPO/b3cl/rqV3KwPFb4XAWzHsQdN9gsQFGHolUcfcXIakB+hzNYuZELTGTW0MF e3SLjZ/axsmFbHE47XwP06mxs1vmkunRityt4TJ/CCPHvgnJcIaniTcAU6M6r94RmUH4 DKLbUsfv7awzEPJGsfKDoFvRR3xedf+tLcnD0J0PJ65azP4RQq7aplsiGXq0d00eufoK A+Hw== X-Gm-Message-State: APf1xPA1agzPaZlpr0QfSzyhl61eg8GVfoZbDXHr8wXeCyghLCw65wot bab9cjDYoz0JwnUQWkQ+CZELVMeg X-Google-Smtp-Source: AH8x227Mxdo1RLDeBc+Fy72JxwkgDPbQwv28E0QyE8jFm1eWsSWwG72N//oDJynDZxLygt5bVOt9bA== X-Received: by 10.25.59.80 with SMTP id i77mr2422980lfa.28.1517949692591; Tue, 06 Feb 2018 12:41:32 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id 2sm2400697lje.38.2018.02.06.12.41.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 12:41:31 -0800 (PST) In-Reply-To: <83eflx7vw2.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::242 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:222593 Archived-At: On 2/6/18 22:36, Eli Zaretskii wrote: > Is that important? We almost never delete files, certainly not C > files. Lisp files get moved into obsolete/, so maybe the same rule > that detects and deletes "orphan" *.elc files could update TAGS on > behalf of deleted/moved Lisp files. 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.