[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in Info pages when using indirect buffer
From: |
Juri Linkov |
Subject: |
Re: Bug in Info pages when using indirect buffer |
Date: |
Mon, 23 Jan 2006 03:57:45 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
> But actually `M-n' selects a new cloned Info buffer in the same window.
> This behavior was changed as a side effect of moving the string "*info*"
> from `same-window-buffer-names' to `same-window-regexps' (and adding
> a regexp for the suffix <N>).
>
> Can you explain how that change led to this result?
> It sounds like this is due to some other kind of bug.
`C-h i' displays an Info buffer in the same window, so `C-u N C-h i'
should display `*info*<N>' buffer in the same window as well. This was
achieved by removing `*info*' from `same-window-buffer-names' and adding
`*info*<[0-9]+>' to `same-window-regexps'.
A side effect of this is the changed behavior of `M-n' which now
displays a new cloned buffer *info*<N> in the same window.
Actually there is no problem with this, but I thought that some users may
want to display a cloned buffer in another window. This can be done by
creating a new keybinding `C-x 4 M-n' to `clone-indirect-buffer-other-window'.
Of course, every user who wants this can put this binding to .emacs,
or to remove `*info*<[0-9]+>' from `same-window-regexps'.
--
Juri Linkov
http://www.jurta.org/emacs/