unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Morgan <djm_uk@protonmail.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
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	[thread overview]
Message-ID: <j-GzYL51n2PYDA0QuV7LEuEs81STlNc795e8P8l5vfjUER99L9Clc1eXU-us3aomv9btqmvbLZHgi2LyTKNfNzE2SHE6hZt_kTfMuPT1uz8=@protonmail.com> (raw)
In-Reply-To: <be85f576-1bef-0d57-89aa-3f0d8e0dc967@yandex.ru>

------- Original Message -------
On Friday, August 5th, 2022 at 01:12, Dmitry Gutov <dgutov@yandex.ru> 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 and 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 already
> > > 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 list, so in brief...

I was unaware of switch-to-buffer-obey-display-actions, so thought that other-{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 less useful.



  reply	other threads:[~2022-08-05 11:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-04 15:30 Add xref-find-references-other-window and xref-find-references-other-frame to xref.el David Morgan
2022-08-04 19:26 ` Philip Kaludercic
2022-08-05  0:12   ` Dmitry Gutov
2022-08-05 11:24     ` David Morgan [this message]
2022-08-05  0:15 ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='j-GzYL51n2PYDA0QuV7LEuEs81STlNc795e8P8l5vfjUER99L9Clc1eXU-us3aomv9btqmvbLZHgi2LyTKNfNzE2SHE6hZt_kTfMuPT1uz8=@protonmail.com' \
    --to=djm_uk@protonmail.com \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).