Subject: Re: bug#45428: 27.1; (quote (quote (quote ...))) unexpectedly works as anonymous face

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 26 Dec 2020 23:19:09 +0100

Markus Triska <[email-masked]> writes:

> In this case, the anonymous face is not specified as a property list,
> but as a symbolic expression of the form (quote (quote (quote ...))),
> and still works. Is this the intended result, and can we rely on it? If
> so, could you please document it?

I think it's just that Emacs is liberal in what it receives, and tries
to muddle through.  For instance, the following works fine:

(insert (propertize "hello" 'face (list (list (list :height 10.0)))))

But this isn't something we'd want to document -- we document the
recommended forms to use, even if Emacs is more liberal in what it
accepts, sometimes.

Anybody else got an opinion here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no