[Top][All Lists]

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

Re: display-buffer-alist simplifications

From: Stefan Monnier
Subject: Re: display-buffer-alist simplifications
Date: Tue, 09 Aug 2011 14:14:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> I agree that SPECIFIER doesn't say that it's a function call.
> Actually in logic, second part of the rule is called ACTION.

In my world, none of the logics we use has such "actions", but I can
definitely live with ACTION instead of RULE.

> I'm worried about size, but with your design this problem could be later
> mitigated with something like this in `display-buffer':

>   (let ((function (intern (format "display-buffer-%s" (car specifiers)))))
>     (if (functionp function)
>         (apply function args)))



reply via email to

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