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: Patch: prefer-window-split-horizontally Date: Wed, 15 Aug 2007 16:31:00 -0400 Message-ID: References: <87bqdajcr1.fsf@baldur.tsdh.de> <87vebij5p8.fsf@jurta.org> <877inwvakl.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187209882 20747 80.91.229.12 (15 Aug 2007 20:31:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2007 20:31:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 15 22:31:20 2007 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 1ILPWS-00008e-JB for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2007 22:31:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILPWS-0003Gf-5C for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2007 16:31:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ILPWP-0003GQ-5X for emacs-devel@gnu.org; Wed, 15 Aug 2007 16:31:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ILPWN-0003GE-N3 for emacs-devel@gnu.org; Wed, 15 Aug 2007 16:31:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILPWN-0003GB-HI for emacs-devel@gnu.org; Wed, 15 Aug 2007 16:31:15 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ILPWN-0005XI-A1 for emacs-devel@gnu.org; Wed, 15 Aug 2007 16:31:15 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id CFDC82CF2EF; Wed, 15 Aug 2007 16:31:14 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 197A43FE0; Wed, 15 Aug 2007 16:31:01 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 074876CA9E; Wed, 15 Aug 2007 16:31:00 -0400 (EDT) In-Reply-To: <877inwvakl.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Wed\, 15 Aug 2007 21\:53\:30 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-Detected-Kernel: Linux 2.6 (newer, 3) 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:76594 Archived-At: >>> What do you think about adding another variable >>> `split-window-function' with the default value >>> `split-window-vertically' or nil with the same meaning, and the >>> possible other value `split-window-horizontally'? This would be like >>> setting `ediff-split-window-function' to `split-window-horizontally'. >> >> Just for the record: we're talking about something used only in >> display-buffer so a name like `split-window-function' doesn't seem >> right. > The suggested variable's function could be used in `split-window', > couldn't it? Sounds more delicate: split-window is a lower-level function used by several other pieces of code that want to have precise control over the layout of windows inside a frame (e.g. Gnus). Stefan