From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Francesco =?UTF-8?Q?Potort=C3=AC?= Newsgroups: gmane.emacs.bugs Subject: bug#73484: 31.0.50; Abolishing etags-regen-file-extensions Date: Sat, 05 Oct 2024 18:38:22 +0200 Organization: The GNU project Message-ID: <87a5fiijy9.fsf@tucano.isti.cnr.it> References: <87tteaznog.fsf@zephyr.silentflame.com> <8734lrrj4e.fsf@zephyr.silentflame.com> <87o74c1ce1.fsf@zephyr.silentflame.com> <87jzezzg87.fsf_-_@zephyr.silentflame.com> <37e4b3cd-6363-4f55-9921-92a1182679dc@gutov.dev> <86ttdy50ja.fsf@gnu.org> <75fe4289-da41-454d-ba92-22a92ea7002f@gutov.dev> <86frpe2186.fsf@gnu.org> <8e305b6d-8ca8-4437-990f-183ebc007d18@gutov.dev> <865xqa1ggi.fsf@gnu.org> <86ttdtzoof.fsf@gnu.org> <8d7dc133-9828-4023-821f-e4403f899f81@gutov.dev> <86ttdsxt6x.fsf@gnu.org> <52cb1caa-9e7e-45df-b328-d60948d397f6@gutov.dev> <864j5rxca1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15527"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 73484@debbugs.gnu.org, spwhitton@spwhitton.name To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 05 18:39:09 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sx7oD-0003sI-Bb for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Oct 2024 18:39:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sx7o5-00086b-7Y; Sat, 05 Oct 2024 12:39:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sx7o2-00086F-4P for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2024 12:38:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sx7o1-0008II-QS for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2024 12:38:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=f4e4jcLQEFGllG+h5LkSH7oZQznXQ9PVQqS9gP4U7eQ=; b=WZkcJ+7cGCCw3usaMXGXWU8V1PM3GAXAJtQJjmbH/EYOTriNad9ZF/ERL7JG/eNf80NdN9qlntTDxAi6SSphZ+ZdkJYKnmtSnP7zm9/8P5xNq3IgKR5A4BJ7sRDPl5wHqO4cPtrxTCvtBZ8C5QMQwM+3pK2fKkrc5HQKqX3M6ZDSXd8SlXfQVbJ2cE4ZPh1c2Tjrdb4ZVKRGWdJsNIC9Tpc4MK/JsTowZQZyz2qpRB7t/HmsNBCog0+tSIBFGqOTDMC0gyXqaz1LstaVaNZw6QKksVqIN4cvVqU3xveyv4HVK2C8UKYOuw8o2dLtOOjUwOu/cXkWIW86PF+6hqIAcQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sx7o6-0001L8-1D for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2024 12:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Oct 2024 16:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73484 X-GNU-PR-Package: emacs Original-Received: via spool by 73484-submit@debbugs.gnu.org id=B73484.17281463225122 (code B ref 73484); Sat, 05 Oct 2024 16:39:01 +0000 Original-Received: (at 73484) by debbugs.gnu.org; 5 Oct 2024 16:38:42 +0000 Original-Received: from localhost ([127.0.0.1]:39501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sx7nm-0001KX-Bt for submit@debbugs.gnu.org; Sat, 05 Oct 2024 12:38:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sx7nj-0001KH-MP for 73484@debbugs.gnu.org; Sat, 05 Oct 2024 12:38:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sx7nY-0008EX-9O; Sat, 05 Oct 2024 12:38:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:Subject:In-Reply-To:To:Date: From; bh=f4e4jcLQEFGllG+h5LkSH7oZQznXQ9PVQqS9gP4U7eQ=; b=CbeBtqAhheL6KaGZ9sZU REpnHhfB/Ib2V++RHWxTb1mVkK1s6TUDBFKGzubQzhSJ+BuXxSzoTuPTpv/E0Mn7RB645/azbv4V6 NlQSihYgnxMbeRO8dzN24t41zDNb063cuo/lxAFOBgHax3PEsCoBxUdTldfpfxbEvI5sQXFo9YijN t+0As14WgBUcUeovSLR0QXs8/JmRIibRqpCq5YDqCPF2oYnLYq1PyWpCLHOg5YLtiu0U07Vp/hn7h UcTAUHFAQ6TmZOLhN1PmtGmBm1julu3ErpxXRK9u73WuugVel8kUeaEVDIjqtgonbwaUlAO10Ra/C zfIQWoJYGNIy/g==; In-Reply-To: (dmitry@gutov.dev) X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293046 Archived-At: Eli Zaretskii: >> How hard is it to add to a live TAGS file fake lines which look like >> this: >>=20 >> ^L >> foo,0 >>=20 >> (with random strings instead of "foo"), and then time some TAGS-using >> commands with and without these additions? Dmitry Gutov: >Okay, done that. > >'M-.' takes more or less the same. > >The file size of TAGS increased from 66 MB to 85 MiB. > >Won't measure time to generate now - because the current method and the=20 >"real" one will be different, but note that it's more relevant with=20 >etags-regen-mode because the scan is performed lazily: every time the=20 >user does the first search in a new project. Removing the Fortran and C/C++ fallbacks just for testing requires recompil= ing etags.c after removing the code beginning with /* Else try Fortran or C= . */. This would avoid parsing the file (except for detecting the sharp-ba= ng) and would leave the file name in the tags file, without tags.