From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.devel Subject: Re: `split-window-preferred-horizontally' Date: Sat, 07 Jun 2008 00:36:37 +0200 Organization: disorganized Message-ID: <87fxrq198q.fsf@localhorst.mine.nu> References: <87k5h28i23.fsf@localhorst.mine.nu> <4849B3D7.6090809@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1212792007 19628 80.91.229.12 (6 Jun 2008 22:40:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2008 22:40:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 07 00:40:49 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K4kc2-0007w9-ID for ged-emacs-devel@m.gmane.org; Sat, 07 Jun 2008 00:40:46 +0200 Original-Received: from localhost ([127.0.0.1]:40497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4kbF-0007VN-KG for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2008 18:39:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4kZn-0006q0-Ri for emacs-devel@gnu.org; Fri, 06 Jun 2008 18:38:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4kZl-0006oC-Ql for emacs-devel@gnu.org; Fri, 06 Jun 2008 18:38:26 -0400 Original-Received: from [199.232.76.173] (port=34611 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4kZl-0006o1-Im for emacs-devel@gnu.org; Fri, 06 Jun 2008 18:38:25 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:49954 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4kZl-0008Nn-4h for emacs-devel@gnu.org; Fri, 06 Jun 2008 18:38:25 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K4kZc-00040h-Vj for emacs-devel@gnu.org; Fri, 06 Jun 2008 22:38:16 +0000 Original-Received: from e178059063.adsl.alicedsl.de ([85.178.59.63]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jun 2008 22:38:16 +0000 Original-Received: from david.hansen by e178059063.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jun 2008 22:38:16 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178059063.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:L6vdnM2lUH+t9wY4cgickWkt7wI= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:98552 Archived-At: On Sat, 07 Jun 2008 00:01:59 +0200 martin rudalics wrote: > I'm afraid the default value of `split-width-threshold' is too large for > you. Please try with a smaller value and tell me whether it still > behaves weirdly. I yet have to find a solution how "sensibly" should > behave. Can you suggest one? That's how I would like it: If the *frame* is >= 160 chars wide - if it is already (horizontally) split use the *other* window with all the `*-other-window' commands and `display-buffer' - otherwise split it horizontally. If the *frame* is < 160 chars wide do above with s/horizontally/vertically/ (as the default behavior already is). I suspect that emacs thinks my already (horizontally) split frame is to small because the *window* is just 80 + ε chars wide. David