[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: prefer-window-split-horizontally

From: Juri Linkov
Subject: Re: Patch: prefer-window-split-horizontally
Date: Thu, 16 Aug 2007 23:23:29 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>     There was an idea to rewrite the whole `display-buffer' in Lisp, and make
>     it more customizable.  But it seems it is impossible to rewrite it
>     completely, because the current C implementation processes its input
>     argument `frame' which isn't given to display-buffer-function:
> So what?  How does that stop us from replacing the C code with Lisp code?

Actually this stop us from duplicating Fdisplay_buffer in Lisp as a
function that is called via `display-buffer-function' from the C function
Fdisplay_buffer (because we can't add a new argument `frame' which will break
existing user functions called via `display-buffer-function'), but this
doesn't stop us from replacing the whole C function `Fdisplay_buffer' with
Lisp code.

Juri Linkov

reply via email to

[Prev in Thread] Current Thread [Next in Thread]