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 14:25:58 +0100 Message-ID: <47EE4366.1070200@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> <47EE064A.1060105@gmx.at> <874papk8zl.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 1206797133 9255 80.91.229.12 (29 Mar 2008 13:25:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2008 13:25:33 +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 14:26:04 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 1Jfb4N-0006gB-K5 for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 14:26:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jfb3l-0007ZM-Uh for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 09:25:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jfb3J-0007Kj-OA for emacs-devel@gnu.org; Sat, 29 Mar 2008 09:24:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jfb3I-0007Js-2g for emacs-devel@gnu.org; Sat, 29 Mar 2008 09:24:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jfb3H-0007Jn-Rp for emacs-devel@gnu.org; Sat, 29 Mar 2008 09:24:55 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Jfb3H-0002yy-Cc for emacs-devel@gnu.org; Sat, 29 Mar 2008 09:24:55 -0400 Original-Received: (qmail invoked by alias); 29 Mar 2008 13:24:54 -0000 Original-Received: from 62-47-33-62.adsl.highway.telekom.at (EHLO [62.47.33.62]) [62.47.33.62] by mail.gmx.net (mp014) with SMTP; 29 Mar 2008 14:24:54 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19XGcxkvYlXRXg9+Ku9iAfzgXtevG5PiPU6ln9E46 ElShHrIzt0Uug8 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <874papk8zl.fsf@jurta.org> X-Y-GMX-Trusted: 0 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:93792 Archived-At: > Currently a complete rewrite of `display-buffer' is not possible because > not all C internals used in `display-buffer' are exposed to Lisp. IIUC we'd have to (1) Write `display-buffer-1' and `no-switch-window' in Elisp. (2) Expose `frame_sample_visibility' and `last_nonminibuf_frame' to Lisp code. Maybe also `record_buffer'. (3) Rewrite the `even-window-heights' stuff using `window-edges'. Somehow an `even-window-widths' is needed here anyway ;-) Nothing in (1) and (2) would have to get documented in Info. Am I missing something?