help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tuningo f compile mode


From: Rustom Mody
Subject: Re: Tuningo f compile mode
Date: Wed, 17 Jul 2013 09:12:38 -0700 (PDT)
User-agent: G2/1.0

On Wednesday, July 17, 2013 3:11:14 PM UTC+5:30, Sergei Kolomeeyets wrote:
> Hello, all!
> When I press M-` or M-x compile Emacs split the main window vertically to
> show  a compile buffer. It is very inconvenient. How can I change it to
> horizontal splitting like C-x-1?

Try something along this line
You may need to play with compile-command

(defun my-compile ()
  (interactive)
  (let ((split-height-threshold nil)
        (split-width-threshold 80))
    (compile compile-command)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]