GNU bug report logs -
#24543
25.1; describe-symbol doesn't show face with same name as a variable
Previous Next
Reported by: Alex <agrambot <at> gmail.com>
Date: Sun, 25 Sep 2016 18:50:02 UTC
Severity: normal
Found in version 25.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Alex <agrambot <at> gmail.com> writes:
> Alex <agrambot <at> gmail.com> writes:
>
>> 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.
>
> This is because describe-symbol isn't returning (buffer-string) like
> describe-{function, variable} are.
>
> I've attached a patch fixing this problem.
>
> Additionally, I have attached another patch that re-orders the placement
> of variables/faces in describe-symbol, to put more emphasis on the
> variable entry rather than the face.
Ping. Eli?
This bug report was last modified 7 years and 345 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.