From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.help Subject: Re: etags to xref changed navigation Date: Tue, 23 Apr 2024 19:33:53 +0000 Message-ID: <87ttjrlvq6.fsf@posteo.net> References: <87sezdqvox.fsf@vps.thesusis.net> <87pluhjnk5.fsf@posteo.net> <87a5lk6lrw.fsf@vps.thesusis.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18340"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Phillip Susi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 23 21:34:39 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 1rzLuZ-0004XI-8S for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 23 Apr 2024 21:34:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzLtz-00052f-BR; Tue, 23 Apr 2024 15:34:03 -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 1rzLtw-00052W-3T for help-gnu-emacs@gnu.org; Tue, 23 Apr 2024 15:34:00 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzLtt-0007jt-Pa for help-gnu-emacs@gnu.org; Tue, 23 Apr 2024 15:33:59 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 72826240101 for ; Tue, 23 Apr 2024 21:33:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1713900834; bh=nwt/h34wrSi2X3yUcCVR5qM/z/mWbExUvaqzNGhrfsU=; h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=jZorP+jE2aiSNry7KocEwxGldIFaw0KNHi748j+kUcriHHnIdmTN+js6jRNK2AQYW ElfN0PrOM/2SLmU46H/lJ7au6d4aHNiu7PIUBaqI0lpT3RRrHoM0/M6fpz7ZwYrCIq 1I6tF4z/A0c5E4L/tF3gAYGYth94IsvBbBzFFt/vIBslR1YtP478YboqBJaNtpO2Vh +kHWOg15KM915CHO2mPGlr/TQt2tfnSL3Idn2Io6b/5QxFdUK+pyQxvIEjC2x3YnrX vm99iy/iBxzX3pUWS+G1FbIGdrBA9w8+wmOeg6EC+30DfngnUlCyFKMEsrGlc7mME/ hOTUbAb8h9GjQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VPC3P4ywvz9rxD; Tue, 23 Apr 2024 21:33:53 +0200 (CEST) In-Reply-To: <87a5lk6lrw.fsf@vps.thesusis.net> (Phillip Susi's message of "Tue, 23 Apr 2024 13:17:55 -0400") OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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:146455 Archived-At: Phillip Susi writes: > Philip Kaludercic writes: > >> Not necessarily, you can use M-g M-n and M-g M-p from the buffer you >> invoked xref in to navigate definitions as well. > > Ahh, that does the trick, just with two chords instead of one. Note that these are just the next-error and previous-error functions. You could just as well (re)bind them to whatever other key you prefer, if you feel that this is something you use frequently enough. I personally find the M- prefix simple and convenient enough to not need a shorter chord. > And a > C-x 0 to dismiss the xref buffer first. You could change this by setting xref-show-definitions-function to the right function. -- Philip Kaludercic on peregrine