unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-devel@gnu.org
Subject: Re: Customize how xrefs are followed in help-mode?
Date: Thu, 16 May 2019 12:30:03 -0700	[thread overview]
Message-ID: <87d0kidwp0.fsf@ericabrahamsen.net> (raw)
In-Reply-To: CAM-tV-9YCSRqjmOe3mRFjK_eSLYCWu6-5+zKkq1udBDtc2seZg@mail.gmail.com

Noam Postavsky <npostavs@gmail.com> writes:

> On Thu, 16 May 2019 at 15:19, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
>>
>> It's always bothered me that following a function/variable definition
>> button from a *Help* buffer goes to the file in a separate window -- I
>> almost always want to re-use the *Help* window.
>>
>> Essentially, help-mode.el:209 hard-codes the use of `pop-to-buffer', I'd
>> like to be able to use `pop-to-buffer-same-window'.
>>
>> From a user's standpoint, I guess what I'd prefer is to be able to give
>> a prefix arg to RET when following the button, but I don't see any way
>> of passing that arg down, plus there's no good equivalent for the mouse
>> click.
>>
>> Would people consider a customization option to control this?
>
> I think this the same as Bug#35487, where there are some suggestions
> to use display-buffer-alist to control this.

Oh weird, Tak Kunihiro posted his final solution (which I'm stealing)
just a few hours ago, dunno how I missed that.

Thanks!

Eric




  reply	other threads:[~2019-05-16 19:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-16 19:18 Customize how xrefs are followed in help-mode? Eric Abrahamsen
2019-05-16 19:22 ` Noam Postavsky
2019-05-16 19:30   ` Eric Abrahamsen [this message]
2019-05-16 20:14     ` Noam Postavsky
2019-05-17 12:55 ` Stefan Monnier
2019-05-17 16:16   ` Eric Abrahamsen
2019-05-19 19:50 ` Juri Linkov
2019-05-21  0:31   ` Eric Abrahamsen

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=87d0kidwp0.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).