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: Patch: prefer-window-split-horizontally Date: Wed, 15 Aug 2007 20:57:08 +0200 Message-ID: <87bqd8vd6j.fsf@baldur.tsdh.de> References: <87bqdajcr1.fsf@baldur.tsdh.de> <87vebij5p8.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187204396 1768 80.91.229.12 (15 Aug 2007 18:59:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2007 18:59:56 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 15 20:59:54 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 1ILO5x-00062C-K9 for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2007 20:59:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILO5x-0000Tx-Az for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2007 14:59:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ILO5u-0000Tf-7s for emacs-devel@gnu.org; Wed, 15 Aug 2007 14:59:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ILO5t-0000TD-I9 for emacs-devel@gnu.org; Wed, 15 Aug 2007 14:59:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILO5t-0000Sy-En for emacs-devel@gnu.org; Wed, 15 Aug 2007 14:59:49 -0400 Original-Received: from main.gmane.org ([80.91.229.2] 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 1ILO5s-0004wQ-Uw for emacs-devel@gnu.org; Wed, 15 Aug 2007 14:59:49 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ILO5C-0003UQ-1B for emacs-devel@gnu.org; Wed, 15 Aug 2007 20:59:06 +0200 Original-Received: from dslb-084-063-029-201.pools.arcor-ip.net ([84.63.29.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Aug 2007 20:59:06 +0200 Original-Received: from tassilo by dslb-084-063-029-201.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Aug 2007 20:59:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-063-029-201.pools.arcor-ip.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAACXBIWXMAAABIAAAASABGyWs+ AAAATnRFWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYACmV4aWYKICAgICAgMjAKNDU3ODY5NjYwMDAw NGQ0ZDAwMmEwMDAwMDAwODAwMDAwMDAwMDAwMAqJuBZbAAAACXZwQWcAAAAwAAAAMADO7oxXAAAB jUlEQVRIx5VVWxLEIAjzJh6Ny+WMfm95iKhYu87ObIuEQARb2p+rjEc8P/wBgK3MK2yVbiFZlXYI 1E4kO6UHqIDYNsBjFivHQ2DonllKEFStHYB2TD4mBnqyYID4ryVmhUtOxeTErK68k9XpYfi9bP4P My/5E9WiWswAeVz9x3KEyCUAiF5mDJ5kXIFCa2BoN7k7MQARwbo2Zeg1aHySU212VlXltxJGSlBT xdQSIxOuTdrGAIxQSuGGykvN9aWumB5cJclXwz8Z+ZGQ9oqkRgGgglh89P5hz6EP1NJ7aTvVie3Z b3EettGpvXqYRO5v7c0csbHhZRjviObz4JOwzc9hpkfLbNMzmcvtlnBu2m6NNX6Y2SBJSfk9R7S2 zGOJrtMW5XdCCRfDuknZaEeVsEWkXbirSsca1qrDYKK9MSTn9w5IEEfAcnQyAXoZfS0aSXOVm8PL JytRCkTH9k5v+Er4whCTuwLgE5uP0zGlvwHJJFxqwHQzfGGAfgbwFSD5rH1xOweAvqf0T2u8rh9P LJ2hezyQygAAACp6VFh0Q29tbWVudAAAeNrzCnB1t0rPK9XNSE1M0csqSFcwMjerMDIzBABomgep tDkYGQAAABp6VFh0anBlZzpjb2xvcnNwYWNlAAB42jMEAAAyADIppJqJAAAAIXpUWHRqcGVnOnNh bXBsaW5nLWZhY3RvcgAAeNozqjACAAG7AN1zYDKrAAAAAElFTkSuQmCC User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:GDLBtmWpk0A3tddev4L7TH+trL8= X-Detected-Kernel: 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:76590 Archived-At: Richard Stallman writes: Hi Richard, > 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'. > > It seems like overfeaturism to me. I don't think so. Although I don't know emacs internals very much, the changes shouldn't be too big, e.g. modify `split-window' so that it splits according the return value of `split-window-function' if no other args except WINDOW are given. And I think that the function in `split-window-function' should return any symbol naming a function instead of only `split-window-vertically' and `split-window-vertically'. `split-window' could then funcall it. I'd like to define functions such as `split-window-horizontally-and-balance'. What do you think? Bye, Tassilo -- Once you go Norris, you are physically unable to go back.