emacs-devel
[Top][All Lists]
Advanced

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

Re: display-buffer-alist simplifications


From: martin rudalics
Subject: Re: display-buffer-alist simplifications
Date: Wed, 10 Aug 2011 09:09:44 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> So, IIUC, compared to
>
>     display-buffer-alist ::= list of (CONDITION . RULE)
>     RULE                 ::= (FUNCTIONS . ALIST)
>     FUNCTIONS            ::= list of FUNCTION
>
> DISPLAY-SPECIFIERS play the role of FUNCTIONS and the SOMETHING-ELSE is
> the ALIST, so it contains arguments to pass to each of the FUNCTIONS and
> some of those args may be specific to some of the functions while others
> may be obeys by all/some of the functions.

With the additional twist that whenever a condition fails, the head of
the alist (including that condition) is no more considered/obeyed for
displaying the buffer.

>> I'm lost here.  Do you mean that users who prefer the old
>> `display-buffer' behavior get overridden by the application whenever
>> it passes an argument but do get the old behavior when the application
>> does not pass an argument?
>
> Yes.

Ouch.

martin



reply via email to

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