From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sergei Kolomeeyets Newsgroups: gmane.emacs.help Subject: Re: Tuningo f compile mode Date: Sun, 21 Jul 2013 15:43:14 +0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1374407011 24204 80.91.229.3 (21 Jul 2013 11:43:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Jul 2013 11:43:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 21 13:43:33 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 1V0s31-0005Ur-Ij for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Jul 2013 13:43:31 +0200 Original-Received: from localhost ([::1]:34432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0s30-0004vO-RN for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Jul 2013 07:43:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0s2p-0004uL-4E for help-gnu-emacs@gnu.org; Sun, 21 Jul 2013 07:43:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V0s2m-0000Vb-3K for help-gnu-emacs@gnu.org; Sun, 21 Jul 2013 07:43:19 -0400 Original-Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:42380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0s2l-0000VM-QZ for help-gnu-emacs@gnu.org; Sun, 21 Jul 2013 07:43:16 -0400 Original-Received: by mail-wg0-f48.google.com with SMTP id f11so5100559wgh.27 for ; Sun, 21 Jul 2013 04:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=29y+ME2VkfMHsPTvA5WfxXhYL+XfAlHHkt8SqODLtmY=; b=xYDEX2s+G0mhYOANnS5cUYNqfaB50a/+bizSJ7v5/5VtoHmgLGfjI+zZ4DJMczF4MO 3a2e/ArEITvwHxsJkVKzoOOHkRRFECNF+m9LaxVNt5uLkQl0+zynxP+CIkVWtiVgUWwG kS+nkBRpXXFy91VEPZN4WhORlnhJNI88ODgs6vwKBHt1KRFjSo/GLemgJB7eyRrK6MUu nrrgAxtOsuj3ehuDSzbQtNOqci7pxzqPpx4ndzWbN23nri8PQXhq6lIN4VTW6NI+anDB SI0fusxOfxjJAWwiieoOk/IbdS/iyp5aqne4q+a6HZySJRlvuth0KqR4g8F514mjIoa5 3Qjw== X-Received: by 10.180.189.37 with SMTP id gf5mr10298248wic.9.1374406994696; Sun, 21 Jul 2013 04:43:14 -0700 (PDT) Original-Received: by 10.216.89.66 with HTTP; Sun, 21 Jul 2013 04:43:14 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::230 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:92287 Archived-At: Hi, Peter, Thanks a lot for your answer! The line (setq split-width-threshold nil) inserted into ~/.emacs - has cured the problem. By the way: 1. Everything indicated that I confused the adjectives 'vertical' and 'horizontal' writing about splitting. It was my native Russian concepts of how to describe splitting that 'helped' me ;-) Of course, I complained about an inconvenient _horizontal_ splitting trying to find a way to recover 'normal' and convenient vertical windows. 2. The problem came to the scene after I had made a console font a bit smaller (12 instead of default 14). Despite having 160 as split-width-threshold value, emacs makes two horizontal windows of about 80-100 characters. So it is supposed to be normal for emacs - while splitting windows horizontally - to split a line of 160 characters into two lines that consist of 80. Again thanks! Regards, Sergey. 2013/7/17 Peter Dyballa > > Am 17.07.2013 um 11:41 schrieb Sergei Kolomeeyets: > > > When I press M-` or M-x compile Emacs split the main window vertically = to > > show a compile buffer. It is very inconvenient. > > It is very convenient. I like it this way. > > > How can I change it to horizontal splitting like C-x-1? > > Horizontal splitting would occur when GNU Emacs' frame is wide enough tha= t > two buffers side by side are so wide that text can be displayed in > reasonably long lines. So by default the variable split-width-threshold h= as > a value greater than 100, could be it's 160. By reducing that value it > becomes more likely that insanely narrow windows are created. > > > split-width-threshold is a variable defined in `window.el'. > > Documentation: > Minimum width for splitting windows sensibly. > If this is an integer, `split-window-sensibly' may split a window > horizontally only if it has at least this many columns. If this > is nil, `split-window-sensibly' is not allowed to split a window > horizontally. > > See also split-height-threshold. > > -- > Greetings > > Pete > > If it dies, it's biology. If it blows up, it's chemistry. If it doesn't > work, it's physics. > =E2=80=93 University washroom sgraffito > >