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.devel Subject: Re: Automatic (e)tags generation and incremental updates Date: Sun, 10 Jan 2021 18:49:26 +0200 Message-ID: <835z44hh49.fsf@gnu.org> References: <779a6328-9ca5-202a-25a2-b270c66fe6dd@yandex.ru> <8fc5e96c-ebb8-c668-9b2a-c7c4ee54c0b9@yandex.ru> <83r1mwltob.fsf@gnu.org> <0bee9ab4-46bc-b6fd-97b6-e26cc80f1610@yandex.ru> <875z45dbm7.fsf@tromey.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="966"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, emacs-devel@gnu.org, john@yates-sheets.org, dgutov@yandex.ru To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 10 17:50:16 2021 Return-path: Envelope-to: ged-emacs-devel@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 1kydux-00006h-Nv for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Jan 2021 17:50:15 +0100 Original-Received: from localhost ([::1]:41626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyduw-0007mt-Ro for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Jan 2021 11:50:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kydu3-0007Nm-QV for emacs-devel@gnu.org; Sun, 10 Jan 2021 11:49:19 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49766) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kydu2-0007xA-Cu; Sun, 10 Jan 2021 11:49:18 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2171 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kydu1-0003Yg-QK; Sun, 10 Jan 2021 11:49:18 -0500 In-Reply-To: <875z45dbm7.fsf@tromey.com> (message from Tom Tromey on Sat, 09 Jan 2021 14:49:36 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262857 Archived-At: > From: Tom Tromey > Cc: Eli Zaretskii , emacs-devel@gnu.org, philipk@posteo.net, > tom@tromey.com, john@yates-sheets.org > Date: Sat, 09 Jan 2021 14:49:36 -0700 > > I tend to think that conceptually each buffer should point to its > corresponding tags table. What about buffers that don't belong to any project? M-. generally works (or should work) in any buffer. > It seems to me that the default ought to be to update the tags table on M-. > One nice way to do this would be to run etags in the background, so that > the work of updating would be done in parallel with the user typing, > since presumably you'd want to ensure that etags has finished before > jumping to the result (or fulfilling a completion request). The common use case is that you place point on a symbol and type M-., in which case you don't need (and don't expect) to type anything else.