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: Mon, 5 Feb 2018 23:10:34 +0300 Message-ID: <651fd4fb-bd0b-1cf5-62e0-aa8abe104817@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> 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 1517862128 2609 195.159.176.226 (5 Feb 2018 20:22:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Feb 2018 20:22:08 +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 Mon Feb 05 21:22:04 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 1einGT-0006Lg-Mi for ged-emacs-devel@m.gmane.org; Mon, 05 Feb 2018 21:21:21 +0100 Original-Received: from localhost ([::1]:58354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1einIV-00049E-11 for ged-emacs-devel@m.gmane.org; Mon, 05 Feb 2018 15:23:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ein6C-0000w8-Mb for emacs-devel@gnu.org; Mon, 05 Feb 2018 15:10:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ein67-0007FA-T9 for emacs-devel@gnu.org; Mon, 05 Feb 2018 15:10:44 -0500 Original-Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:46451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ein67-0007E8-MV; Mon, 05 Feb 2018 15:10:39 -0500 Original-Received: by mail-oi0-x236.google.com with SMTP id x21so9030526oie.13; Mon, 05 Feb 2018 12:10:39 -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=LMX7B3We0BigFXBnG3X6utkpmbqgN7nHqFVf24FN8ec=; b=V6lFanDptYuyCIUywBOuinqYCAEAXvqKVjJnlZaiyqodDjaYd6Oq9HhzTi/ILAgh32 WENGzoAHHnQj8FJqt6CQZI79zcis8O8uaUhIPYFSFdai4RYGJ3A/SE0Lfsx77lX0b/Jr Enz9HzWrDR2e98h+mEb0pWYo/6DDSSS379k7QxY2Jsv0/v36jf/tZ1OVL50zPUoD33s9 f845DRHt6QnuqcRJAzhZKJ4L519XmPMSu0ZY5tHRv1AZAujRxZMbkmzENp4Vv+D1issd oOarQsDxIFitTFcsMwAHqjqIRBCmH8o8grThiuv/EIfBQe6Wu5gKw+7LXg11gRFoY/nI DvMg== 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=LMX7B3We0BigFXBnG3X6utkpmbqgN7nHqFVf24FN8ec=; b=YjyNEQCjYVSLvhJjqRRhrlQlT1JsNgy1QXVrmQXlWZdHz558ChDrzwy9o9yuifIcyq kO0B3KwblqeTAM9XJBlZeWq8Bo6NWvkBFN5ZYrG+H76E/RP30Jt7cGabrpGW2aGtA0hm vnlHAVDVdPr+HaMSsoijGQqFOpNJAH1t9iEaFeorDQMkUX0vRfrGOcsb3/+1362jBk5C MSIrvvZJbjMhw50oSAFkmR4pJVyuKa3Z01gzTYbvtcs90wDhbH+jzuOXXIujt1OYDxGv jI+IxBEi89HKrlxR/4J7OgiUlF2YOpff2cBb7nYP1c6uEhFmo0fQTHtVdoJBMe23QR/a mv2w== X-Gm-Message-State: APf1xPABzDdfJeL+ewJhREb8gxYSegcRJPoEhuE/W8qtCnn8+qXBWepf rshFebwCk23Qlz7eoNQNefWfu4t5 X-Google-Smtp-Source: AH8x227d4O/rA+cQRbZE1l7Iv47XQbx+rhxVekIlhp04cH1q6jCrJzzSUNv9tyiMUiJOwiezXHH1GA== X-Received: by 10.202.16.19 with SMTP id 19mr6361oiq.290.1517861438759; Mon, 05 Feb 2018 12:10:38 -0800 (PST) Original-Received: from [10.9.0.58] (nat2.webazilla.com. [74.117.181.234]) by smtp.googlemail.com with ESMTPSA id k32sm5007118otb.69.2018.02.05.12.10.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Feb 2018 12:10:37 -0800 (PST) In-Reply-To: <83372f8ix9.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::236 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:222557 Archived-At: On 2/5/18 20:06, Eli Zaretskii wrote: >> Cc: Eli Zaretskii , emacs-devel@gnu.org >> From: Dmitry Gutov >> Date: Mon, 5 Feb 2018 02:40:59 +0300 >> >> I wonder if 'make tags' would be able to make use of it somehow. If not, >> I'll probably have to reimplement it in Elisp anyway. Eli, any thoughts? > > Not sure I understand the question. Are you asking if "make TAGS" > could run "etags -u"? I think it could, but we'd need some Make > wizardry to generate a list of files modified after TAGS was last > written. Currently, we just generate a list of all the relevant > source files. For modified files, it could check modification times, similarly to how it can recompile only files it needs to. I think. But I'm asking if you have any idea for how to deal with _deleted_ files? I.e. files that have been deleted since 'make tags' was last run.