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: Wed, 02 Apr 2008 11:36:14 +0200 Message-ID: <87lk3woay9.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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207128996 22992 80.91.229.12 (2 Apr 2008 09:36:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Apr 2008 09:36:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 02 11:37:08 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 1JgzP1-0006vh-WC for ged-emacs-devel@m.gmane.org; Wed, 02 Apr 2008 11:37:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgzOP-0004HM-MX for ged-emacs-devel@m.gmane.org; Wed, 02 Apr 2008 05:36:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JgzOJ-0004FV-5D for emacs-devel@gnu.org; Wed, 02 Apr 2008 05:36:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JgzOE-0004F3-Gv for emacs-devel@gnu.org; Wed, 02 Apr 2008 05:36:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgzOE-0004F0-A1 for emacs-devel@gnu.org; Wed, 02 Apr 2008 05:36:18 -0400 Original-Received: from out4.smtp.messagingengine.com ([66.111.4.28]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JgzOD-0003uv-WC for emacs-devel@gnu.org; Wed, 02 Apr 2008 05:36:18 -0400 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 29D00E4942 for ; Wed, 2 Apr 2008 05:36:17 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 02 Apr 2008 05:36:17 -0400 X-Sasl-enc: sFjBTvt3urQtWEQ8AcnombYX1CSjAFF+I08zEv9Z8x84 1207128976 Original-Received: from localhost (dslb-084-063-001-210.pools.arcor-ip.net [84.63.1.210]) by mail.messagingengine.com (Postfix) with ESMTPA id 70F002C2B2 for ; Wed, 2 Apr 2008 05:36:16 -0400 (EDT) Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <47F34982.2000706@gmx.at> (martin rudalics's message of "Wed, 02 Apr 2008 10:53:22 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) 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:94178 Archived-At: martin rudalics writes: Hi Martin, > BTW, do we want a `split-width-threshold'? What would that do? Judging from the name I think it would inhibit splitting if the resulting window would be smaller than that threshold and reuse the least recently used window instead. I'd welcome such a feature (I usually don't want windows that are smaller than 80 columns), but wouldn't we need the same for height, too? Additionally we might need something like `split-window-special-regexp' for buffers that should not obey this threshold. For example I can imagine that a minimum width of 80 columns is not what users expect for a buffer displaying a speedbar-like file tree. But maybe that's not needed if all modes that use such special buffers call `split-window' with explicit `size' parameter. Bye, Tassilo