From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.help Subject: Re: Tuningo f compile mode Date: Wed, 17 Jul 2013 09:12:38 -0700 (PDT) Message-ID: <5b8ffdf8-dea8-4525-8501-f8076131f6bb@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1374077716 31580 80.91.229.3 (17 Jul 2013 16:15:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jul 2013 16:15:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 17 18:15:23 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UzUNu-0000bp-9r for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jul 2013 18:15:22 +0200 Original-Received: from localhost ([::1]:33872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzUNt-0006TD-No for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Jul 2013 12:15:21 -0400 X-Received: by 10.224.172.129 with SMTP id l1mr10249831qaz.4.1374077559628; Wed, 17 Jul 2013 09:12:39 -0700 (PDT) X-Received: by 10.50.126.33 with SMTP id mv1mr231378igb.1.1374077559385; Wed, 17 Jul 2013 09:12:39 -0700 (PDT) Original-Path: usenet.stanford.edu!t19no1836490qam.0!news-out.google.com!dk8ni416qab.0!nntp.google.com!t19no1836482qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.95.53.224; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.53.224 User-Agent: G2/1.0 Injection-Date: Wed, 17 Jul 2013 16:12:39 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:199944 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92209 Archived-At: 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)))