unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Forcing M-X compile to split window vertically?
@ 2012-01-10 18:34 Roy Smith
  2012-01-11  2:57 ` Bob Proulx
  0 siblings, 1 reply; 3+ messages in thread
From: Roy Smith @ 2012-01-10 18:34 UTC (permalink / raw)
  To: help-gnu-emacs

I'm using GNU Emacs 23.1.1.  When I run M-X compile, the window is split into two.  Depending on the aspect ratio of my original window, it automagically splits it horizontally or vertically.  How can I force it to only split vertically?

---
Roy Smith
roy@panix.com




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Forcing M-X compile to split window vertically?
  2012-01-10 18:34 Forcing M-X compile to split window vertically? Roy Smith
@ 2012-01-11  2:57 ` Bob Proulx
  2012-01-11  3:00   ` Roy Smith
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Proulx @ 2012-01-11  2:57 UTC (permalink / raw)
  To: Roy Smith; +Cc: help-gnu-emacs

Roy Smith wrote:
> I'm using GNU Emacs 23.1.1.  When I run M-X compile, the window is
> split into two.  Depending on the aspect ratio of my original
> window, it automagically splits it horizontally or vertically.  How
> can I force it to only split vertically?

I found that annoying too.  The documentation says:

     By default, these commands split the window vertically when there is
  only one.  You can customize the variables `split-height-threshold' and
  `split-width-threshold' to split the window horizontally instead.

So setting split-width-threshold to nil solves the problem.

  (setq split-width-threshold nil)

Bob



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Forcing M-X compile to split window vertically?
  2012-01-11  2:57 ` Bob Proulx
@ 2012-01-11  3:00   ` Roy Smith
  0 siblings, 0 replies; 3+ messages in thread
From: Roy Smith @ 2012-01-11  3:00 UTC (permalink / raw)
  To: Bob Proulx; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 129 bytes --]

You da man!

On Jan 10, 2012, at 9:57 PM, Bob Proulx wrote:

>  (setq split-width-threshold nil)


--
Roy Smith
roy@panix.com




[-- Attachment #2: Type: text/html, Size: 4100 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-11  3:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-10 18:34 Forcing M-X compile to split window vertically? Roy Smith
2012-01-11  2:57 ` Bob Proulx
2012-01-11  3:00   ` Roy Smith

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).