From: Joakim Hove <hove@ntnu.no>
Subject: Re: I prefer horizontal split of windows
Date: Mon, 28 Nov 2005 10:06:47 +0100 [thread overview]
Message-ID: <k0nveyduons.fsf@metropolis.fi.uib.no> (raw)
In-Reply-To: 1132971156.957833.133940@o13g2000cwo.googlegroups.com
Hello,
thank you both 'rgb' and Johan for answering.
> I'd say switch-to-buffer-other-window is a likely spot for advise.
I have tried advising both switch-to-buffer-other-window, and
diplay-buffer. That works for e.g. M-x manual-entry, i.e. the man page
is displayed in a vertical window, but unfortunately *not* for
e.g. C-h x or tab completion.
> But a bug report might do better in the long run.
> That calls pop-to-buffer which hard codes nil in it's call to
> display-buffer.
>
> Fdisplay_buffer (buf, other_window, Qnil)
Yes, it seems like the call to Fsplit_window() in Fdisplay_buffer()
has a hard-coded nil value, and I certainly agree that there should
be room for user-customization there. However, the fact that advising
(display-buffer) does not do the trick, seems to indicate that other
functions are involved for some of these cases, e.g. for the C-h
family of functions.
Anyway, I have a partial solution.
Joakim
--
Joakim Hove
hove AT ntnu.no /
Tlf: +47 (55 5)8 27 13 / Stabburveien 18
Fax: +47 (55 5)8 94 40 / N-5231 Paradis
http://www.ift.uib.no/~hove/ / 55 91 28 18 / 92 68 57 04
prev parent reply other threads:[~2005-11-28 9:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-25 13:21 I prefer horizontal split of windows Joakim Hove
2005-11-25 15:16 ` Johan Bockgård
2005-11-25 17:45 ` rgb
2005-11-26 2:12 ` rgb
2005-11-28 9:06 ` Joakim Hove [this message]
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=k0nveyduons.fsf@metropolis.fi.uib.no \
--to=hove@ntnu.no \
/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).