[Top][All Lists]

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

Re: display-buffer-alist simplifications

From: Juri Linkov
Subject: Re: display-buffer-alist simplifications
Date: Fri, 29 Jul 2011 14:04:54 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

> I don't know why the condition part of defface specs doesn't use a
> plist, and always figured it was a historical accident.

Inner structures of the condition part of defface already use a plist:

    (((supports :slant italic))
     :slant italic)
    (((supports :underline t))
     :underline t)

And since nested structures are allowed in defface specs like:

     :box (:line-width 2 :color "grey40" :style released-button)

I see no problem using them in the condition part as well.

> So, should "the same conditional" mean `equal'?  Then it will no longer
> be possible to use a single display-buffer-alist to affect ALL
> `reuse-window' conditional specs passed to `display-buffer'.  I am
> personally fine with that.

This means more data duplication in specs.  But this duplication
can be removed via the inheritance mechanism.

reply via email to

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