GNU bug report logs - #4834
23.1; Invalid face reference: tags-tag-face

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 30 Oct 2009 21:40:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#4834: marked as done (23.1; Invalid face reference:
 tags-tag-face)
Date: Sat, 31 Oct 2009 18:50:05 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 31 Oct 2009 14:44:13 -0400
with message-id <87zl77floi.fsf <at> stupidchicken.com>
and subject line Re: 23.1; Invalid face reference: tags-tag-face
has caused the Emacs bug report #4834,
regarding 23.1; Invalid face reference: tags-tag-face
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
4834: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4834
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 23.1; Invalid face reference: tags-tag-face
Date: Fri, 30 Oct 2009 14:32:50 -0700
I sent this bug, same Subject line, to emacs-pretest-bug on
2008-02-12, before there was a bug tracker. Never got any response.
 
The bug is still there, in release 23.1.
 
Here's the recipe (from the first bug report). Where it says
`list-tags', you must provide the name of a function in the tags
table, obviously.
 
> emacs -Q
> visit a tags table, and then do M-x list-tags.
> Check buffer *Messages* for error message:
>   "Invalid face reference: tags-tag-face"
>  
> It is soon updated, so you see, for instance, 
>  "Invalid face reference: tags-tag-face [161 times]"
>  
> The problem seems to be the (multiple) occurrences of things like
> this:
>  
> (make-text-button 
>  pt (point)
>  'tag-info tag-info
>  'file-path path
>  'goto-func goto-func
>  'action (lambda (button)
>     (let ((tag-info (button-get button 'tag-info))
>    (goto-func (button-get button 'goto-func)))
>       (tag-find-file-of-tag (button-get button 'file-path))
>       (widen)
>       (funcall goto-func tag-info)))
>  'face 'tags-tag-face ; <====== SHOULD NOT BE QUOTED
>  'type 'button)
>  
> The problem is that `tags-tag-face' is not a face; it is a variable
> whose value is a face - face `default', by default. Presumably, the
> quote should be removed. There are several such occurrences in
> etags.el - in fact all occurrences of `tags-tag-face' seem to be
> incorrectly quoted.
 
 
 
In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
 



[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 4834-done <at> debbugs.gnu.org
Subject: Re: 23.1; Invalid face reference: tags-tag-face
Date: Sat, 31 Oct 2009 14:44:13 -0400
> emacs -Q
> visit a tags table, and then do M-x list-tags.
> Check buffer *Messages* for error message:
>   "Invalid face reference: tags-tag-face"
>
> It is soon updated, so you see, for instance,
>  "Invalid face reference: tags-tag-face [161 times]"

Fixed, thanks.

This bug report was last modified 15 years and 202 days ago.

Previous Next


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