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

From: Markus Triska <[email-masked]>
Date: Tue, 29 Dec 2020 19:39:48 +0100

Eli Zaretskii <[email-masked]> writes:

>> I recognize that it is a list. However, I do not recognize that each of
>> its elements is given "by any of the above forms", i.e., by any of:
>> 
>> >   . a face symbol
>> >   . a property list of attribute/value pairs
>> >   . a cons cell of the form (foreground-color . COLOR)
>> >   . a cons cell of the form (background-color . COLOR)
>> 
>> Could you please clarify which of these forms match (quote (quote ...)) ?
>
> It's a list, obviously.  And the face specification as a list can be
> recursive, because it can be a list of any mix of any of the allowed
> forms, including a list.

That's different from the documentation you quoted, which said "by any
of the above forms", not "by any of the allowed forms".

If it is any mix of any of the allowed forms, could you please consider
stating that in the documentation?

Thank you,
Markus