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#67687: Feature request: automatic tags management Date: Sun, 31 Dec 2023 18:42:55 +0200 Message-ID: <835y0e2ui8.fsf@gnu.org> References: <2f86b882-9ec1-f63f-d90b-5f8f7ae114f2@gutov.dev> <58D84A29-9A63-45BA-AD8B-B476CDC931A1@gmail.com> <812729c8-726f-d60e-2603-2d8e588929fd@gutov.dev> <835y0sgg12.fsf@gnu.org> <979cf9e0-4d08-4c39-b5c8-11b0bb8801b4@gutov.dev> <83v88e3moc.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10140"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67687@debbugs.gnu.org, eskinjp@gmail.com, michael.albinus@gmx.de, stefankangas@gmail.com To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 31 17:44:30 2023 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 1rJyvL-0002OH-R3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 31 Dec 2023 17:44:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJyux-0006Jh-8o; Sun, 31 Dec 2023 11:44:03 -0500 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 1rJyuw-0006J4-0o for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2023 11:44:02 -0500 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 1rJyuu-0002lk-PO for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2023 11:44:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rJyuv-0005me-Pj for bug-gnu-emacs@gnu.org; Sun, 31 Dec 2023 11:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Dec 2023 16:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67687 X-GNU-PR-Package: emacs Original-Received: via spool by 67687-submit@debbugs.gnu.org id=B67687.170404099022148 (code B ref 67687); Sun, 31 Dec 2023 16:44:01 +0000 Original-Received: (at 67687) by debbugs.gnu.org; 31 Dec 2023 16:43:10 +0000 Original-Received: from localhost ([127.0.0.1]:46918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJyu6-0005l9-7z for submit@debbugs.gnu.org; Sun, 31 Dec 2023 11:43:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJyu4-0005kx-Mg for 67687@debbugs.gnu.org; Sun, 31 Dec 2023 11:43:09 -0500 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 1rJytx-0002dq-G8; Sun, 31 Dec 2023 11:43:01 -0500 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=I/hYznn+VB/NkqH4UI4tWHkPNEYhkq+n3eFs9I6h9Wg=; b=R556Xy3IMImQ K1oRr97IHCdNk0cSe9KlAYgIIfpAkuEtVw7mKt9RHRx4ZsdtWA+z2RO6IjZ4j7ZTiwPNQtUmVg6il GzWrZJkdfqKmbPEEwgOO5XqSeGYM4WHD19mZiTRcgLR2vOxOSpX9FFD6rf8GAvGDDTsCM8HKDjLkD gNcgrwV9OPRuZCyTb2tUTC7H0bt0OIUD1FUJvekI8njRQ54Hz6vie36BUB/E2camDwDBCXHCnnhga rdvURg7SPkcjqeOpxOMPeeTNR38xSgy6KhpI0ehCTKoRqe+0WU5B1KTD5EnV2U946CjQyejr1wzPO iCo7dIR3glkZad9OcMsjjw==; In-Reply-To: (message from Dmitry Gutov on Sun, 31 Dec 2023 17:25:35 +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:277150 Archived-At: > Date: Sun, 31 Dec 2023 17:25:35 +0200 > Cc: eskinjp@gmail.com, 67687@debbugs.gnu.org, michael.albinus@gmx.de > From: Dmitry Gutov > > On 31/12/2023 08:34, Eli Zaretskii wrote: > >> +Note that this feature disables itself if you have already manually > >> +visited a tags table (with @kbd{M-x visit-tags-table}, or through an > >> +explicit prompt triggered by some feature that requires tags). > > This aspect is IMO somewhat problematic. I wasn't aware of it, and > > now that I read this, I'm not sure it is correct and will meet user > > expectations. > > I'm pretty sure you asked for it: that even when this mode is on, it > shouldn't interfere with completion tables explicitly visited by the user. "Interfere" and "prevent automatic regeneration" is not the same. I think this probably warrants a separate defcustom: some people might want such regeneration, even if the tags table was loaded manually, others won't. And I think the default should be to regenerate them regardless. > And either way it seems like a prerequisite for enabling > etags-regen-mode by default sometimes in the future. How so? The fact that I loaded TAGS doesn't necessarily mean I don't want it updated when the sources change. Or what am I missing?