unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Changing horizontal window split default to vertical?
Date: Tue, 20 Feb 2007 23:24:46 -0500	[thread overview]
Message-ID: <jwvmz38m962.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.4804.1171958583.2155.help-gnu-emacs@gnu.org

>> Although I'm using the mighty Emacs for nearly 16 years now, I encountered a
>> new problem with its behaviour (of course, this is not the guilt of Emacs,
>> but of the now mainstream 16:10 displays): When I start Emacs with two
>> files (often a *cpp, and its *h), Emacs opens the two buffers in two
>> windows, one above and one below a horizontal splitter. I like to have them
>> left and right from a vertical splitter. Is there a switch or some magic
>> lisp setting, I can add to my .emacs to make Emacs do this?

> (setq split-window-horizontally t) ?

I can't see any mention of this variable in Emacs's sources.  Looking at the
code of display-buffer, I think the only solution is to write a new function
that does the same (except split horizontally) and then place it on
display-buffer-function :-(


        Stefan

      parent reply	other threads:[~2007-02-21  4:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20  5:50 Changing horizontal window split default to vertical? Stephan Kuhagen
2007-02-20  8:18 ` Alexey Pustyntsev
2007-02-20  8:28 ` David Hansen
     [not found] ` <mailman.4805.1171960713.2155.help-gnu-emacs@gnu.org>
2007-02-20  9:33   ` Stephan Kuhagen
     [not found] ` <mailman.4804.1171958583.2155.help-gnu-emacs@gnu.org>
2007-02-20  8:33   ` Stephan Kuhagen
2007-02-20 13:39     ` Alexey Pustyntsev
2007-02-21  4:24   ` Stefan Monnier [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=jwvmz38m962.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@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.
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).