From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Susi Newsgroups: gmane.emacs.help Subject: Re: etags to xref changed navigation Date: Tue, 23 Apr 2024 13:02:17 -0400 Message-ID: <87frvc6mhy.fsf@vps.thesusis.net> References: <87sezdqvox.fsf@vps.thesusis.net> <86edax5s9t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2395"; mail-complaints-to="usenet@ciao.gmane.io" To: Eli Zaretskii , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 23 19:02:53 2024 Return-path: Envelope-to: geh-help-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 1rzJXh-0000K7-9L for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 23 Apr 2024 19:02:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzJXE-0007nv-EW; Tue, 23 Apr 2024 13:02:24 -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 1rzJXC-0007nf-IY for help-gnu-emacs@gnu.org; Tue, 23 Apr 2024 13:02:22 -0400 Original-Received: from vps.thesusis.net ([2600:1f18:60b9:2f00:53ac:1e74:4794:50c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzJXA-0006Gb-Vx; Tue, 23 Apr 2024 13:02:22 -0400 Original-Received: by vps.thesusis.net (Postfix, from userid 1000) id 6454C3034D; Tue, 23 Apr 2024 13:02:17 -0400 (EDT) In-Reply-To: <86edax5s9t.fsf@gnu.org> Received-SPF: pass client-ip=2600:1f18:60b9:2f00:53ac:1e74:4794:50c; envelope-from=phill@thesusis.net; helo=vps.thesusis.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146449 Archived-At: Eli Zaretskii writes: > The old behavior is supposed to be necessary much less with xref, > since xref's search is more accurate, and usually finds only one > candidate. So I'd be interested to know in what programming language > do you see many candidates, and why. Typically there is only one *definition*, but many *referenecs*. > In addition, you haven't explained why you find the navigation in the > XREF buffer slow and cumbersome. Basically, once you switch to the > XREF buffer, you can display next/previous candidate with a single > key, which is not more typing than "M-," (and there's the ability to > select a candidate that is not next or previous, something "M-," > couldn't give you). In addition, you can customize the variable > xref-auto-jump-to-first-definition to the value 'move' or 'show', in > which case the first candidate will be shown even if there are several > candidates. I find the window splitting to be a bit annoying, and if I want to poke around each callsite a bit, I have to keep switching windows with C-o to move between exploring, and moving to the next callsite. > If you still want to have the old behavior back, you can rebind M-. to > find-tag and M-, to tags-loop-continue, which still exist, just > without the default key binding. Do they still function the same, especially if you are using eglot? I thought I checked and found that tags-loop-continue was obsolete/removed in emacs 29.