From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: split-window-preferred-function Date: Thu, 03 Apr 2008 09:02:58 +0200 Message-ID: <87ve2zo1y5.fsf@member.fsf.org> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207206239 18856 80.91.229.12 (3 Apr 2008 07:03:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2008 07:03:59 +0000 (UTC) Cc: martin rudalics , rms@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 03 09:04:28 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 1JhJUk-000113-JH for ged-emacs-devel@m.gmane.org; Thu, 03 Apr 2008 09:04:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhJU7-0002Ce-RM for ged-emacs-devel@m.gmane.org; Thu, 03 Apr 2008 03:03:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JhJTZ-0001bS-MG for emacs-devel@gnu.org; Thu, 03 Apr 2008 03:03:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JhJTZ-0001aT-0O for emacs-devel@gnu.org; Thu, 03 Apr 2008 03:03:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhJTY-0001a9-OM for emacs-devel@gnu.org; Thu, 03 Apr 2008 03:03:08 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JhJTT-0003Ka-Ui; Thu, 03 Apr 2008 03:03:04 -0400 Original-Received: from out4.smtp.messagingengine.com ([66.111.4.28]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JhJTT-0005Oj-A4; Thu, 03 Apr 2008 03:03:03 -0400 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id ACEDFE46DF; Thu, 3 Apr 2008 03:03:02 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 03 Apr 2008 03:03:02 -0400 X-Sasl-enc: ljFOGhxY1M0QAzNIR31wostfjM1jZ4sXsRaOO0XPOLq3 1207206182 Original-Received: from localhost (dslb-092-072-014-008.pools.arcor-ip.net [92.72.14.8]) by mail.messagingengine.com (Postfix) with ESMTPA id E785F15EEB; Thu, 3 Apr 2008 03:03:00 -0400 (EDT) Mail-Followup-To: Juri Linkov , martin rudalics , emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca In-Reply-To: <87hcejc318.fsf@jurta.org> (Juri Linkov's message of "Thu, 03 Apr 2008 01:27:19 +0300") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. 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:94247 Archived-At: Juri Linkov writes: Hi Juri, >> BTW, do we want a `split-width-threshold'? > > In my initial patch I presented the variable `split-width-threshold', > but in the final installed patch I dropped this variable, because I > realized that it is not necessary. > > The reason is simple: there is no sense to have more than two > automatically horizontally split side-by-side windows. For instance, > I use the smallest readable font and on a wide screen I get 200 > columns. I get 221 columns on my 24" (1900 dots wide) display. There already are 30" displays out there that are 2500 dots wide. Three side-by-side windows are ok with them. So IMO your assumption is not valid. > Splitting them in three parts gives less than 80-column wide windows > that is not comfortable width to work in most buffers. Generally I'd agree that windows with less than 80 columns are not comfortable, but that's a thing a user should decide. > However, what is very much necessary, and what is still missing in > `split-window-preferred-horizontally' is the ability to split > _vertically_ in horizontally split windows. Indeed, vertical splitting if horizontal splitting won't work (and the other way round) would be a good feature. But I had a different implementation in mind. How about my idea I described in <871w5oo2qa.fsf@member.fsf.org>? Bye, Tassilo