From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Morgan Newsgroups: gmane.emacs.devel Subject: Re: Add xref-find-references-other-window and xref-find-references-other-frame to xref.el Date: Fri, 05 Aug 2022 11:24:09 +0000 Message-ID: References: <87iln7kdyt.fsf@posteo.net> Reply-To: David Morgan Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4220"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 05 13:27:25 2022 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 1oJvUD-0000xk-Be for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Aug 2022 13:27:25 +0200 Original-Received: from localhost ([::1]:33566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJvUB-0004Pc-Qk for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Aug 2022 07:27:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJvRK-0001Zp-LM for emacs-devel@gnu.org; Fri, 05 Aug 2022 07:24:26 -0400 Original-Received: from mail-4322.protonmail.ch ([185.70.43.22]:62171) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJvRI-0002sB-5a for emacs-devel@gnu.org; Fri, 05 Aug 2022 07:24:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1659698653; x=1659957853; bh=M0YGUYVOrFMnklpNezsfAu1vdWFHyWGMxXiowH3h7Tg=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=NICZFL0tdwpMao6/bxPFa/csDv6U7a2yC3BKRBHDCsCJeoXJPstkJFjkEBgBbMqT+ OJ+gkYbce2XLQBIGqek/Q1RfJVBQ2YBaT6pVOaBDSBeB+lSOcVurXjCa4hWP9eBUOI ep7ktVCbXfp5/vPd+fv5LMuK6L6GrgLBoFii6NM6TERKo/vbv6HF/Ch1drQdc+06Fz xGAVrMyqdmBEDHrDV+EPgTJ7Ud76Ka6uW4g5nFSen1jJoFHRbII1cpDDxNbUY1Kjlz dOXhUGnNFFUnb4F3YriUVQ2yI3srnTYdQI4OqccYXpWf7Js8p6bOVRG3Nt/Hmmxx+r DjmZpaIeRijCw== In-Reply-To: Feedback-ID: 22107024:user:proton Received-SPF: pass client-ip=185.70.43.22; envelope-from=djm_uk@protonmail.com; helo=mail-4322.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:293108 Archived-At: ------- Original Message ------- On Friday, August 5th, 2022 at 01:12, Dmitry Gutov wrote= : > On 04.08.2022 22:26, Philip Kaludercic wrote: > > > David Morgandjm_uk@protonmail.com writes: > > > > > I would like to add the functions xref-find-references-other-window a= nd xref-find-references-other-frame (plus keybindings to xref.el). > > > > > > We already have xref-find-definitions-other-window (C-x 4 .) and xref= -find-definitions-other-frame (C-x 5 .), but xref-find-references (M-?) has= no equivalent other-window/frame versions. > > > Are these really necessary, considering that the prefix-commands C-x = 4 > > > 4/C-x 5 5 already exists? C-x 4 . (as opposed to C-x 4 M-.) is alread= y > > > a bit confusing, and overriding ?, that some people use instead of C-= h > > > to list the bindings under a prefix might not help. > > > I'm inclined to agree. > > David, how do you feel about typing the slightly longer sequences 'C-x 4 > 4 M-?' and 'C-x 5 5 M-?' rather than having separate commands? Apologies, I responded to the replies I received, but without CCing the lis= t, so in brief... I was unaware of switch-to-buffer-obey-display-actions, so thought that oth= er-{window,frame}-prefix didn't work with xref-find-references. Now that I'= ve set that, it does work, which certainly makes having separate commands l= ess useful.