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: Thu, 18 Jan 2018 01:44:19 +0300 Message-ID: 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> 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 1516228960 13505 195.159.176.226 (17 Jan 2018 22:42:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 Jan 2018 22:42:40 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 Cc: Eli Zaretskii , emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 17 23:42:35 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 1ebwPe-0002uS-Ms for ged-emacs-devel@m.gmane.org; Wed, 17 Jan 2018 23:42:30 +0100 Original-Received: from localhost ([::1]:40122 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebwRe-00073X-KB for ged-emacs-devel@m.gmane.org; Wed, 17 Jan 2018 17:44:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebwRX-00072g-Gz for emacs-devel@gnu.org; Wed, 17 Jan 2018 17:44:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebwRT-0001Ye-Hx for emacs-devel@gnu.org; Wed, 17 Jan 2018 17:44:27 -0500 Original-Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:33058) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ebwRT-0001Xx-Am; Wed, 17 Jan 2018 17:44:23 -0500 Original-Received: by mail-lf0-x22e.google.com with SMTP id t139so9278596lff.0; Wed, 17 Jan 2018 14:44:23 -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=xRuI4brg+u8cM5OsBfLckdsbSKbXw64xHvAltbLAN4s=; b=XZJgh+kUtC3URztpg8Ej/HYEx+G+vWQxQGZsfKjBAWkRyXtBjrv6x/MYV7JieldkTC C+s8y9+S7dofbmzvAvrK31Gg+mrpbccJwVcGrL74HVTE9OOlLk1vUA1cvoMC5YpwLtI6 wTybcmYQXSogjj82irIGveql73K6HQup9EhXpNCch+Lp1OUKihQU3kxwepLzmk+6rnwN oq6zgAfoiwV3Qx6Ke/rOhdJI5X1iNpsg5Zv6DuCuodiVgEGTrXjpVa5aMDMlVrztkZLT zs3qWlWjCZhFsOueRFi7HmJ7/QcKnCh78BX04dtWKvID+cKds6K0VWSC/S/T+XxVVvD7 /24Q== 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=xRuI4brg+u8cM5OsBfLckdsbSKbXw64xHvAltbLAN4s=; b=inY23OSxT22bAgt6bMROWxIZ9ZSlkTGtitKLWXBetGmNq9P2nP/h4cvsAOhfvfw+S6 F22weaKRST9hFj3RVqICKcSmL4rT7dm9KBTZKydzsJwDA5FSUiVyjui4kdIZF9X3HqyM vhlA4vG/qT1mCa87lAcoGwJWAaEjJMAHA/fl26aKumfXXXvu42M7LK3tvN9GUaS4SEBU TxVK+delGvlZbsHetEYTbZcWRDycBxShq2ylZw2kCDPw//1VHsWnEGaF/+YeVK96F/Hh P8nkz6jedfi57GguqEh2w8i/1+PB0eTVPWrL7w7STHlwWp5N9Dj93OQankjn4z7sF3WM 95wg== X-Gm-Message-State: AKwxytfFTmOJ2kNw3Fxbf0Uk+9ZWY/JZ3DURwqtY3NCbUD4ZoJfUEf0H DXlMafidu3H0MnI46t5oJmyiIyQk X-Google-Smtp-Source: ACJfBot4P5Ic0H0v0d96bNVgmwttoNMuJbz/QoydIkZpKgGlpJQ/VPjbdQGVUiDiFfkcjZiAQGS64g== X-Received: by 10.46.127.4 with SMTP id a4mr2419904ljd.121.1516229061695; Wed, 17 Jan 2018 14:44:21 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id 76sm979591lfq.7.2018.01.17.14.44.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2018 14:44:20 -0800 (PST) In-Reply-To: <87lggwkuth.fsf@tromey.com> 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::22e 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:222062 Archived-At: Hi Tom, On 1/18/18 01:02, Tom Tromey wrote: > A while ago I wrote to this list about some work I'd done in etags. > This was one of the features -- that is, I made "etags -u" work in etags > mode, not just ctags mode. ctags supports incremental updates? > The overall thrust of the project was to combine the use of a config > file in the source tree with auto-updating. The former I considered > necessary to (1) avoid dealing with Makefiles and whatnot (and, building > tags in the source tree is much nicer when doing out-of-tree builds...), > and (2) make it so that Emacs could run "etags -u" on save without > needing to teach it about the correct command line arguments -- they are > in the config file (ages ago I did this same project but stored the > command line arguments in the TAGS file; but this patch was never > accepted). The config file duplicates some info in .gitignore and project-vc-ignores, though. Which is unfortunate. I also doubt that 'make tags' will go away anytime soon. Any chance your code supports something analogous to 'global --single-update' (except with multiple file arguments, hopefully)? That's what I've been trying to describe. > I suppose I could push my branch to git if that would be convenient. > Just let me know. I'm sure it would be helpful, even if only to study the approach.