From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: split-window-preferred-function Date: Fri, 04 Apr 2008 19:52:43 -0400 Message-ID: References: <47E188D5.5030502@gmx.at> <87hcf1rrdj.fsf@jurta.org> <87r6e3k3hc.fsf@jurta.org> <87d4pfzt2j.fsf@jurta.org> <47ED4BF7.9060507@gmx.at> <871w5utnac.fsf@jurta.org> <47EE064A.1060105@gmx.at> <874papk8zl.fsf@jurta.org> <47F34982.2000706@gmx.at> <87hcejc318.fsf@jurta.org> <87ve2zo1y5.fsf@member.fsf.org> <87bq4qfyuu.fsf@jurta.org> <87ve2yx7fz.fsf@member.fsf.org> <87y77twn6n.fsf@member.fsf.org> <87myo9w9lu.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207353185 26358 80.91.229.12 (4 Apr 2008 23:53:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2008 23:53:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 05 01:53:37 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 1Jhvis-0001u2-2g for ged-emacs-devel@m.gmane.org; Sat, 05 Apr 2008 01:53:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhviF-00038v-E4 for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 19:52:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JhviB-00038c-HY for emacs-devel@gnu.org; Fri, 04 Apr 2008 19:52:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jhvi9-00038E-IT for emacs-devel@gnu.org; Fri, 04 Apr 2008 19:52:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jhvi9-00038B-E5 for emacs-devel@gnu.org; Fri, 04 Apr 2008 19:52:45 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jhvi9-0001pD-7Q for emacs-devel@gnu.org; Fri, 04 Apr 2008 19:52:45 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqoCAMJb9kfO+J/WdGdsb2JhbACBXI9zASqaEQ X-IronPort-AV: E=Sophos;i="4.25,606,1199682000"; d="scan'208";a="17850509" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 04 Apr 2008 19:52:44 -0400 Original-Received: from pastel.home ([206.248.159.214]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id KBE01144; Fri, 04 Apr 2008 19:52:44 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C5C0D872B; Fri, 4 Apr 2008 19:52:43 -0400 (EDT) In-Reply-To: <87myo9w9lu.fsf@member.fsf.org> (Tassilo Horn's message of "Sat, 05 Apr 2008 00:14:53 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:94387 Archived-At: >>>> I still think this is wrong: the choice should be based on >>>> split-window-preferred-aspect-ratio. >> >>> I cannot imagine how that would work. Especially what would prevent >>> splitting to create windows which are too narrow? >> >> The height and width thresholds would, of course. > Ah, ok. I've thought split-window-preferred-aspect-ratio would obsolete > those two. So now I agree with you. No, of course it can't replace them. Also I originally thought aspect-ratio wouldn't be needed, we could just use (/ height-threshold weight-threshold), but that wouldn't work: I much prefer tall windows, but would prefer to use a height threshold smaller than 80. Stefan