unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Spain <d.spain@comcast.net>
To: help-gnu-emacs@gnu.org
Subject: xref mode question
Date: Fri, 15 Nov 2019 16:23:57 -0500	[thread overview]
Message-ID: <002d7166-73c8-09ac-f409-8fd87575c819@comcast.net> (raw)

I'm using Emacs 25.2.2 and am trying to figure out a way in which from 
the XREF window of an Emacs tags table search to get it to visit an 
entry listed in that same window and not overwrite the original source 
window I had open which I'm visiting the tag from. In other words, I'd 
like the XREF window to go away and be replaced with the source from the 
followed xref.

I miss the older functionality of the default binding of 'C-x 4 .' or as 
it was known in Emacs 23 and previous versions (find-tag-other-window).

I DO like the newer xref mechanism as it shows all found references, I 
just want to be able to visit a specific xref without losing my original 
source window in the process.

I thought maybe the <TAB> key would do this in the XREF buffer, the 
documentation would lead me to believe that, BUT the <TAB> key doesn't 
do anything but attempt to insert a tab into the XREF buffer. I do have 
a customization set on the <TAB> key for c-mode for the way I prefer it 
to work. Could that be causing trouble? I tend to doubt that.

Any suggestions appreciated.

Thanks,
David Spain



             reply	other threads:[~2019-11-15 21:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-15 21:23 David Spain [this message]
2019-11-15 23:28 ` xref mode question Drew Adams
2019-11-16  8:00 ` Eli Zaretskii
2019-11-16  8:04   ` 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=002d7166-73c8-09ac-f409-8fd87575c819@comcast.net \
    --to=d.spain@comcast.net \
    --cc=help-gnu-emacs@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.
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).