From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#67687: Feature request: automatic tags management Date: Sat, 30 Dec 2023 03:31:10 +0200 Message-ID: <979cf9e0-4d08-4c39-b5c8-11b0bb8801b4@gutov.dev> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38414"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 67687@debbugs.gnu.org, eskinjp@gmail.com To: Stefan Kangas , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 30 02:32: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 1rJODF-0009ka-9T for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Dec 2023 02:32:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJOCp-0003AF-NX; Fri, 29 Dec 2023 20:32:04 -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 1rJOCn-0003A6-UU for bug-gnu-emacs@gnu.org; Fri, 29 Dec 2023 20:32: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 1rJOCn-00032o-MH for bug-gnu-emacs@gnu.org; Fri, 29 Dec 2023 20:32:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rJOCn-0006Y8-MZ for bug-gnu-emacs@gnu.org; Fri, 29 Dec 2023 20:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Dec 2023 01:32: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.170389988224447 (code B ref 67687); Sat, 30 Dec 2023 01:32:01 +0000 Original-Received: (at 67687) by debbugs.gnu.org; 30 Dec 2023 01:31:22 +0000 Original-Received: from localhost ([127.0.0.1]:42631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJOC9-0006Lj-D9 for submit@debbugs.gnu.org; Fri, 29 Dec 2023 20:31:21 -0500 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:54129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJOC8-0006Fh-13 for 67687@debbugs.gnu.org; Fri, 29 Dec 2023 20:31:20 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 60ABD5C00E2; Fri, 29 Dec 2023 20:31:14 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 29 Dec 2023 20:31:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1703899874; x=1703986274; bh=IPYnNfjNVxYjef+oomTBiCsJQOqIQitC+/DkXOgxjJU=; b= grPYLlD9hfrq+w8k8X2EtG65Tqm/FSBWgfMo+7DX/v/QXH481AMzm/Ij2yA8dhgU FzNeFfvSoqLyC91eAoah1L21TPscyaiCGqkXYIyPZaYEw27slDhaS2ipNCyxhZFc iEoLVWe+b89YC6P25kWwY8X4hk72PV5FQtAugx8iS8pl08VjGlWHpyixhhcXPyIb hRs7BCZgvPk832SVEt4TlLjjAsX6AGubvd7yO1djFvVaIKv2mEdavYpLiD9s+7tl XrDD8OX8Aw2JJg6HqAZwK+aPgVbLi2jvwtdfzw5LoLLRLNfilPd+K9arvlgJARwu RhavayFlFf7K/sPNFYvH2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1703899874; x= 1703986274; bh=IPYnNfjNVxYjef+oomTBiCsJQOqIQitC+/DkXOgxjJU=; b=G uzug61SxrIUTEF7e4qSVha0JqnixlMT2zCigKwTUbNPoVCWTZzkmeUvsCvYcooJs 8MnUAdfJQXtRf7i6NsRyx2sq5BPL7qVNw7VJ2MI6prjdTwNtz8aZ+1QwwgOYcTXt egzEKXbfk0siV5sRHoFL2DgUKQC2aaXf/Jk4/IWSuXC6sk3laKW8qvtLjdUwae0N e/pabXFw1H+SZm+jq9RO4DXE/J3FQEYFfMAJTGSbcS6Pd45KtU3adLZj2fNkW+kx i/NvJtvqNAv1iNcgOCw248nLpI9qCBGJaQM95YF8r21t2dYDq+vCVpoDH4pXzSR2 oxH9Knl+EWl/2ZrMzHpuA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdefgedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 29 Dec 2023 20:31:12 -0500 (EST) Content-Language: en-US In-Reply-To: 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:277049 Archived-At: On 30/12/2023 00:17, Stefan Kangas wrote: > Dmitry Gutov writes: > >>> . there are no updates for NEWS and the Emacs manual >> >> I'll certainly add something to NEWS. Not sure where and what should be >> in the manual. > > How about a new node describing this feature under `(emacs) Tags > Tables`? Good suggestion, but that still leaves the problem of organizing the text. Do you want, perchance, to give it a try yourself? Optimally, it might need a significant rewrite: we wouldn't point the user to 'etags' right away, or the "Create Tags Table" section. The average user taking advantage of etags-regen-mode might not even need to know what a "tags table" is (or only know that in very broad strokes), so depending on our eventual approach we might drop that node, or rearrange the nodes in a particular order, prefacing that one ("Create Tags Table") as the approach for advanced users. >> Which brings a problem: the mode is now likely unusable over Tramp in >> any project of significant size. Something to improve later. > > Should this be documented somewhere? Maybe, maybe not. The previous solution using xargs and stat (as still implemented on the branch -- now outdated) should work for most remote hosts (unixy ones). So it's likely a matter of having a user interested in this and giving them a short enough patch to try.