* Re: make xref--show-location reuse current window
[not found] <mailman.5701.1513268573.27995.help-gnu-emacs@gnu.org>
@ 2017-12-14 16:42 ` Emanuel Berg
2017-12-21 5:55 ` numbchild
2017-12-21 19:52 ` John Mastro
0 siblings, 2 replies; 4+ messages in thread
From: Emanuel Berg @ 2017-12-14 16:42 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: make xref--show-location reuse current window
2017-12-14 16:42 ` make xref--show-location reuse current window Emanuel Berg
@ 2017-12-21 5:55 ` numbchild
2017-12-21 19:52 ` John Mastro
1 sibling, 0 replies; 4+ messages in thread
From: numbchild @ 2017-12-21 5:55 UTC (permalink / raw)
To: Emanuel Berg; +Cc: emacs-help
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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: make xref--show-location reuse current window
2017-12-14 16:42 ` make xref--show-location reuse current window Emanuel Berg
2017-12-21 5:55 ` numbchild
@ 2017-12-21 19:52 ` John Mastro
1 sibling, 0 replies; 4+ messages in thread
From: John Mastro @ 2017-12-21 19:52 UTC (permalink / raw)
To: help-gnu-emacs
Emanuel Berg <moasen@zoho.com> wrote:
> 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?
xref.el was added in Emacs 25.1. From NEWS:
** New package Xref replaces Etags's front-end and UI.
The new package Xref provides a generic framework and new commands to
find and move to definitions of functions, macros, data structures
etc., as well as go back to the location where you were before moving
to a definition. It supersedes and obsoletes many Etags commands,
while still using the etags.el code that reads the TAGS tables as one
of its back-ends.
John
^ permalink raw reply [flat|nested] 4+ messages in thread
* make xref--show-location reuse current window
@ 2017-12-14 16:22 Amos Bird
0 siblings, 0 replies; 4+ messages in thread
From: Amos Bird @ 2017-12-14 16:22 UTC (permalink / raw)
To: Help Gnu Emacs mailing list
Hi,
What can I do to make xref--show-location reuse current source
window?
regards,
--
Amos Bird
amosbird@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-12-21 19:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
2017-12-21 19:52 ` John Mastro
2017-12-14 16:22 Amos Bird
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).