GNU bug report logs - #24543
25.1; describe-symbol doesn't show face with same name as a variable

Previous Next

Package: emacs;

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

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24543: closed (25.1; describe-symbol doesn't show face with
 same name as a variable)
Date: Sat, 05 Aug 2017 08:54:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 05 Aug 2017 11:53:00 +0300
with message-id <83a83ewg43.fsf <at> gnu.org>
and subject line Re: bug#24543: 25.1; describe-symbol doesn't show face with same name as a variable
has caused the debbugs.gnu.org bug report #24543,
regarding 25.1; describe-symbol doesn't show face with same name as a variable
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24543: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24543
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alex <agrambot <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; describe-symbol doesn't show face with same name as a variable
Date: Sun, 25 Sep 2016 12:49:11 -0600
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.


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Alex <agrambot <at> gmail.com>
Cc: 24543-done <at> debbugs.gnu.org
Subject: Re: bug#24543: 25.1;
 describe-symbol doesn't show face with same name as a variable
Date: Sat, 05 Aug 2017 11:53:00 +0300
> From: Alex <agrambot <at> gmail.com>
> Cc: 24543 <at> debbugs.gnu.org
> 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.


This bug report was last modified 7 years and 294 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.