unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jonathan Oddie <j.j.oddie@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Want split-window-vertically to split *vertically*
Date: Mon, 14 Nov 2011 16:51:25 +0000	[thread overview]
Message-ID: <16676211-2EB1-4301-9241-EF3CF3E6A3F5@gmail.com> (raw)
In-Reply-To: <mailman.14705.1321279291.797.help-gnu-emacs@gnu.org>


Hi Mark,
> 
> I am using Emacs 23.3.1 and want to know how to make split-window-vertically do as documented: split *vertically* no matter how wide the frame is.  There clearly is logic that decides to split *horizontally* when the frame is relatively wide.  Why does C-x 2 act this way when the other behavior is available (normally) on C-x 3?
> 

My Emacs (also 23.3.1) seems to behave the way you would like out of
the box, so I'm not sure what causes this. (Is C-x 2 really bound to
`split-window-vertically' and not `split-window-sensibly'?) Maybe I
just don't have a wide enough screen ;-)

However, I did find myself wanting to convince Dired's `o' command
recently to always split the window vertically rather than
horizontally and I think you might want to look at the variables
`split-height-threshold' and `split-width-threshold'. Setting
`split-height-threshold' very low was the temporary fix I needed in my
case. There is also the variable `split-window-preferred-function'
which might be of interest, though I think that is used mostly by
`switch-to-buffer-other-window' and friends.

HTH,
Jonathan

> (I frequently read very wide log files.  Besides that, I know what I'm doing, so want Emacs to "trust" me?)
> 
> Thanks,
> 
> Mark
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.gnu.org/archive/html/help-gnu-emacs/attachments/20111114/b0712d26/attachment.html>
> 
> ------------------------------
> 
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> https://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> 
> 
> End of help-gnu-emacs Digest, Vol 108, Issue 28
> ***********************************************




       reply	other threads:[~2011-11-14 16:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.14705.1321279291.797.help-gnu-emacs@gnu.org>
2011-11-14 16:51 ` Jonathan Oddie [this message]
2011-11-14 20:14   ` Want split-window-vertically to split *vertically* Peter Dyballa
2011-11-14 14:01 Ludwig, Mark
2011-11-14 14:27 ` Tassilo Horn
2011-11-14 14:51   ` Ludwig, Mark
2011-11-14 14:59     ` Tassilo Horn
2011-11-14 15:41 ` FreeHCK

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=16676211-2EB1-4301-9241-EF3CF3E6A3F5@gmail.com \
    --to=j.j.oddie@gmail.com \
    --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).