all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "numbchild@gmail.com" <numbchild@gmail.com>
To: Emanuel Berg <moasen@zoho.com>
Cc: emacs-help <help-gnu-emacs@gnu.org>
Subject: Re: make xref--show-location reuse current window
Date: Thu, 21 Dec 2017 13:55:03 +0800	[thread overview]
Message-ID: <CAL1eYuLG2MpHA0uj-58HuVTcWkdOH-ORZfeUz3TibkoHbcvUGA@mail.gmail.com> (raw)
In-Reply-To: <86lgi5dzxc.fsf@zoho.com>

You can use this config:

(add-to-list 'display-buffer-alist
             '("^\\*xref\\*$" (display-buffer-same-window)))



[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Fri, Dec 15, 2017 at 12:42 AM, Emanuel Berg <moasen@zoho.com> wrote:

> Amos Bird wrote:
>
> > What can I do to make xref--show-location
> > reuse current source window?
>
> In general, look for an option (setting) to do
> this, if there isn't one, see if the interface
> takes an argument (if so, write a small Elisp
> wrapper that always passes the same argument
> value), but if it doesn't, examine the code to
> see where this actually happens, then remove or
> alter it in a ~duplicated function.
>
> I could perhaps offer better help, if I had
> that function to begin with. But I don't and
> I have nothing xref- at all actually. What is
> it and how did you get it?
>
> --
> underground experts united
> http://user.it.uu.se/~embe8573
>


  reply	other threads:[~2017-12-21  5:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5701.1513268573.27995.help-gnu-emacs@gnu.org>
2017-12-14 16:42 ` make xref--show-location reuse current window Emanuel Berg
2017-12-21  5:55   ` numbchild [this message]
2017-12-21 19:52   ` John Mastro
2017-12-14 16:22 Amos Bird

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

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

  git send-email \
    --in-reply-to=CAL1eYuLG2MpHA0uj-58HuVTcWkdOH-ORZfeUz3TibkoHbcvUGA@mail.gmail.com \
    --to=numbchild@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=moasen@zoho.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.