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: Sun, 29 Sep 2024 13:56:19 +0300 Message-ID: <86o7464tkc.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24377"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73484@debbugs.gnu.org, spwhitton@spwhitton.name To: dmitry@gutov.dev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 29 12:57:53 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 1surcf-0006Af-FA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Sep 2024 12:57:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1surcV-0001Xz-Et; Sun, 29 Sep 2024 06:57:43 -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 1surcK-0001XG-4T for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 06:57:35 -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 1surcJ-0005FG-C6 for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 06:57:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=lyYapNloY6hfwl4j5y32NO8rD8f9apjuViYPPJD1TnQ=; b=iE2aEP0OlG0RlRRWqPeT/QxqOoBvFsiPaXtdqAbMxdmi2uOnhv7rLo+6yNMJAxqNDwna1PwQexAcCR3EtDqCYBT8Mel4lZqmKIIMYP5A5fHRtjQAu2PxCKrQq/bb0qTI7c43xwBFtasy/EQQxtsgr8/3HSDq6Dc1tjROx3UIkF9II4T4mDSKbZY+HPm41NO7dKKOInhBeVWsEX3tIBWX6+mKavmyxvwI6RGQ1giocL70HJKSO1ivPGtTXPlKmqeuO56Gk3i4FdQn0mu4Q2XM1icynmUhD2YLJcc8xX8sVHBJJlEaZar24pzFBhnm+AQEaH/VFJ+s0nqUYJ9jTvs9XQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1surco-0003aj-GI for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2024 06:58: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: Sun, 29 Sep 2024 10:58: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.172760742513641 (code B ref 73484); Sun, 29 Sep 2024 10:58:02 +0000 Original-Received: (at 73484) by debbugs.gnu.org; 29 Sep 2024 10:57:05 +0000 Original-Received: from localhost ([127.0.0.1]:40150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1surbt-0003Xx-2w for submit@debbugs.gnu.org; Sun, 29 Sep 2024 06:57:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1surbp-0003XJ-VK for 73484@debbugs.gnu.org; Sun, 29 Sep 2024 06:57:03 -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 1surbD-0005D3-EN; Sun, 29 Sep 2024 06:56:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=lyYapNloY6hfwl4j5y32NO8rD8f9apjuViYPPJD1TnQ=; b=V1URICKQT0uT QZO0CHzWPmcTdH8x0AxA+p4WJf0iVY8CNWT8dKaGSK8504PW+NoHcIA5fVPL9SL5R/XJvY4S+ebpz VFU3vILO2OM9PD8oA6FTUr4cpEDMM1jnbrgjpyT519sAMH1GHg3beRp+glGbTX9YRlFLERUftzHdP k7/TB0JiWmNo4pszLtHMBkVeGCEZDLkSfzeg3CHPTXrzoq/2XwEbKCl8o9OuR1mJVqZjEYbu/NczT aN9c8TeutTw83HO6t9QtiipZhEAp93cjIKpthtkjRf7fUYrZkroB3O5w3IWOX2yFlW8UPTCQAS/yt zNcsceS6QM/tjMt4kpO1Eg==; In-Reply-To: <86ttdy50ja.fsf@gnu.org> (message from Eli Zaretskii on Sun, 29 Sep 2024 11:25:45 +0300) 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:292627 Archived-At: > Cc: 73484@debbugs.gnu.org, spwhitton@spwhitton.name > Date: Sun, 29 Sep 2024 11:25:45 +0300 > From: Eli Zaretskii > > I understand that we need to disable the Fortran and C fallbacks to > avoid false positives, but what do we want to do if the fallbacks are > disabled and no suitable language parser is found using the file name? > Just skip the file and do nothing? emit a warning? something else? Wait a minute... we already have "--language=none", which means only do regexp processing, if any. If no regexps were specified, 'none' produces a single entry for a file, stating just its name, like this: ^L foo,0 where ^L is a literal \f character. Is the intent here to prevent even that from being written to TAGS? If not, then we don't need any new command-line option; instead, etags-regen could simply pass the "--language=none" option before each file with no extension, and be done, no? Or maybe this is "the missing link" between this and the shebang processing?