From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: split-window-preferred-function Date: Sat, 29 Mar 2008 10:05:14 +0100 Message-ID: <47EE064A.1060105@gmx.at> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206783478 6327 80.91.229.12 (29 Mar 2008 09:37:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2008 09:37:58 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 29 10:38:29 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 1JfXW9-00005J-1f for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 10:38:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfXVW-0004wd-HY for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 05:37:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JfXSz-0001tT-Tl for emacs-devel@gnu.org; Sat, 29 Mar 2008 05:35:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JfXSx-0001pl-HS for emacs-devel@gnu.org; Sat, 29 Mar 2008 05:35:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfXSw-0001pA-Rt for emacs-devel@gnu.org; Sat, 29 Mar 2008 05:35:11 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JfXSv-0005KA-SG for emacs-devel@gnu.org; Sat, 29 Mar 2008 05:35:10 -0400 Original-Received: (qmail invoked by alias); 29 Mar 2008 09:35:06 -0000 Original-Received: from 62-47-32-50.adsl.highway.telekom.at (EHLO [62.47.32.50]) [62.47.32.50] by mail.gmx.net (mp030) with SMTP; 29 Mar 2008 10:35:06 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX183SUUaMeU30RyUkjAoCARdZPCqHBkNHTGhlLOYzU aJRtBmJgkWk/v3 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <871w5utnac.fsf@jurta.org> X-Y-GMX-Trusted: 0 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:93766 Archived-At: > Of course, I already noticed that this part is eligible for optimization > in one `or', but I decided to try writing a close equivalent of > C code in Lisp, so it would be easier to put both versions side-by-side > (in horizontally split windows ;-) and compare their logics. And I wrote > about this fact in the docstring as: > > This function tries to match the implementation of vertical splitting > in `display-buffer' as close as possible but with the logic of > horizontal splitting. > > Not a big deal, I think. You already wrote one third of `display-buffer' in Elisp. What do you think about rewriting the rest too?