help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Interactive function displaying face attributes


From: Eli Zaretskii
Subject: Re: Interactive function displaying face attributes
Date: Tue, 09 Aug 2022 21:33:52 +0300

> Date: Tue, 9 Aug 2022 20:24:21 +0200 (CEST)
> From: carlmarcos--- via Users list for the GNU Emacs text editor 
> <help-gnu-emacs@gnu.org>
> 
> 
> I am writing this function to display face attributes.  The function works 
> interactively accepting a string from the user obtained from 
> `completing-read'.

What is that string?  If it's a face, then we already have
describe-face.

> For `char-after-point' I want to display the face attribute of the
> character after point.

Did you try "M-x describe-text-properties"?

> Having seen that there can be more than one face at point, what can I do? 

No, the face at a given buffer position can have only one value.



reply via email to

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