From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Oddie Newsgroups: gmane.emacs.help Subject: Re: Want split-window-vertically to split *vertically* Date: Mon, 14 Nov 2011 16:51:25 +0000 Message-ID: <16676211-2EB1-4301-9241-EF3CF3E6A3F5@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1321289593 4225 80.91.229.12 (14 Nov 2011 16:53:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Nov 2011 16:53:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 14 17:53:09 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RPzmK-0007SA-AA for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Nov 2011 17:53:04 +0100 Original-Received: from localhost ([::1]:34153 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPzmJ-0000WS-Ru for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Nov 2011 11:53:03 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:32884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPzkq-0005Wu-K1 for help-gnu-emacs@gnu.org; Mon, 14 Nov 2011 11:51:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPzkn-0000yL-V1 for help-gnu-emacs@gnu.org; Mon, 14 Nov 2011 11:51:32 -0500 Original-Received: from mail-ww0-f41.google.com ([74.125.82.41]:64893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPzkn-0000yB-Qg for help-gnu-emacs@gnu.org; Mon, 14 Nov 2011 11:51:29 -0500 Original-Received: by wwf25 with SMTP id 25so4926668wwf.0 for ; Mon, 14 Nov 2011 08:51:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=6qTUrcZSJLCrOPNXxVj++CezKK5oYxH6FpN04wN5cvE=; b=Q25rWHOc0AzRaKDVg5ilbskR7PkUhDibftdhMtvHI/36FesQL9e6VEPZeUGgSUYUcp DM9KzJnui9WfZ1MKaxdkjedDaPLQXGTXfc2+XJh3/Abg4qIIVNRai5zQKDu1czsyroQB qxNdRflMcr+yZI9Dfc0Iv7BnwtmEWprKrI5UQ= Original-Received: by 10.180.3.71 with SMTP id a7mr26789422wia.0.1321289488368; Mon, 14 Nov 2011 08:51:28 -0800 (PST) Original-Received: from stu-40-200.magd.ox.ac.uk (stu-40-200.magd.ox.ac.uk. [129.67.40.200]) by mx.google.com with ESMTPS id v6sm12626752wiv.10.2011.11.14.08.51.26 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Nov 2011 08:51:27 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.41 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:82912 Archived-At: Hi Mark, >=20 > 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? >=20 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?) >=20 > Thanks, >=20 > Mark >=20 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: = >=20 > ------------------------------ >=20 > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > https://lists.gnu.org/mailman/listinfo/help-gnu-emacs >=20 >=20 > End of help-gnu-emacs Digest, Vol 108, Issue 28 > ***********************************************