Subject: bug#24543: closed (Re: bug#24543: 25.1; describe-symbol doesn't show face with same name as a variable)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 05 Aug 2017 08:54:02 +0000

Your bug report

#24543: 25.1; describe-symbol doesn't show face with same name as a variable

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
24543: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24543
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#24543: 25.1; describe-symbol doesn't show face with same name as a variable
From: Eli Zaretskii <[email-masked]>
To: Alex <[email-masked]>
Cc: [email-masked]
Date: Sat, 05 Aug 2017 11:53:00 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Alex <[email-masked]>
> Cc: [email-masked]
> Date: Fri, 28 Jul 2017 14:45:24 -0600
> 
> > if so, could it break some of the users of this function out there?
> 
> Potentially, but I don't see that being an issue in this case. The
> return value isn't documented, so users shouldn't be (and likely aren't)
> relying on describe-face always returning nil. It makes more sense to
> treat describe-face like describe-{function, variable}.

OK, I pushed the changes.

Thanks.

Subject: 25.1; describe-symbol doesn't show face with same name as a variable
From: Alex <[email-masked]>
To: [email-masked]
Date: Sun, 25 Sep 2016 12:49:11 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

Recipe:

emacs -Q
C-h o font-lock-comment-face RET

Only the variable of this name is shown, not the face (which can be
viewed with describe-face, of course).

It appears that when the face only shares a name with a function, then
both the function and face are shown. Only a variable shadows the face
in describe-symbol.