From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73484: 31.0.50; Abolishing etags-regen-file-extensions Date: Sat, 05 Oct 2024 20:12:25 +0300 Message-ID: <86y132v5hi.fsf@gnu.org> 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> <87a5fiijy9.fsf@tucano.isti.cnr.it> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16282"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, 73484@debbugs.gnu.org, spwhitton@spwhitton.name To: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 05 19:13:23 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 1sx8LK-00047C-Cn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Oct 2024 19:13:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sx8Ky-0005xy-AE; Sat, 05 Oct 2024 13:13:00 -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 1sx8Kw-0005xT-A7 for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2024 13:12: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 1sx8Kv-0006Jl-Py for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2024 13:12:58 -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:From:Date:To:Subject; bh=FI06RPe0dZNhY3jXzeu20Vmz5BmMlpN99R9OIEjtJP4=; b=U/BzaBvOQgRaHeyx4B0u0oT+uKDYVYntI5QlPgZVWSgMTJ5hSPwBjXg8deJh1J+pOuuQnr1rtQNwEa6yxwZRrBEe91G80zvr6sX0VPyWpiFK4pDiW1nhihKey2J6QmqflvJgwUZwuFlDrKbKKiUOpBO04584j3MseCmxJbSfDtXWhRbGe+vS1Q+FPyMF0k8DTjNnU2GqAzl+9+8/1xthYXDf4w0TfiGlTSXSRjOnc8g8QB6Jg3qYVlc97/e75JMeLZd/GSK4Zf5u3iuLhjJvUb5Sv5N94LxHLm34lePUKa1WzrfBuvvOxArc9ri5fnkE4VKzznU8IhVhqMKnjMLTaw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sx8L0-000387-7T for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2024 13:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Oct 2024 17:13:02 +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.172814836211988 (code B ref 73484); Sat, 05 Oct 2024 17:13:02 +0000 Original-Received: (at 73484) by debbugs.gnu.org; 5 Oct 2024 17:12:42 +0000 Original-Received: from localhost ([127.0.0.1]:39524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sx8Kf-00037I-Q9 for submit@debbugs.gnu.org; Sat, 05 Oct 2024 13:12:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sx8Kc-00036v-Tm for 73484@debbugs.gnu.org; Sat, 05 Oct 2024 13:12: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 1sx8KS-0006Fj-EC; Sat, 05 Oct 2024 13:12: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:From: Date; bh=FI06RPe0dZNhY3jXzeu20Vmz5BmMlpN99R9OIEjtJP4=; b=pa96D5azZMNEoQhFI+Ca /h1n/kksiI05fJBQnN+003BHAwaywXhey3SypY9zREhgeSsgt01CNYm3z8GOruHtKm2MVVh2blXYF 31l/MdEBfg1maOlI4nvGjV6xfb4/cEYB4kUoD2rAvel9Xw/dGFky6bVz8mOAkkOWGYPA/i50JgbQM fvQ7byg7G7g5087Xf1cAPKjvvpUrinN85o8GShx7quMRzJaMqvhZVm3UJLkGYV/usKrpvcL+tiSLr MydfQ+yj69DeICo/VAc+S7S+xZKbXYy5FurEX4sVhGo4H1/jpSVz6TNOPt3E8Fb/qQkRV5GTuyA3Y xhrqExabLG+QwA==; In-Reply-To: <87a5fiijy9.fsf@tucano.isti.cnr.it> (message from Francesco =?UTF-8?Q?Potort=C3=AC?= on Sat, 05 Oct 2024 18:38:22 +0200) 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:293047 Archived-At: > From: Francesco Potortì > Date: Sat, 05 Oct 2024 18:38:22 +0200 > Cc: spwhitton@spwhitton.name, > 73484@debbugs.gnu.org, > Eli Zaretskii > > Eli Zaretskii: > >> How hard is it to add to a live TAGS file fake lines which look like > >> this: > >> > >> ^L > >> foo,0 > >> > >> (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 > >"real" one will be different, but note that it's more relevant with > >etags-regen-mode because the scan is performed lazily: every time the > >user does the first search in a new project. > > Removing the Fortran and C/C++ fallbacks just for testing requires recompiling etags.c after removing the code beginning with /* Else try Fortran or C. */. This would avoid parsing the file (except for detecting the sharp-bang) and would leave the file name in the tags file, without tags. We are not talking about disabling the fallbacks, we are talking about something else: the impact of having in TAGS names of files where no tags were found (e.g., because their language was not recognized and the fallbacks are disabled).