unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Invalid face reference: tags-tag-face
@ 2008-02-13  6:08 Drew Adams
  0 siblings, 0 replies; only message in thread
From: Drew Adams @ 2008-02-13  6:08 UTC (permalink / raw)
  To: emacs-pretest-bug

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 22.1.90.1 (i386-mingw-nt5.1.2600)
 of 2008-01-30 on PRETEST
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'
 





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-13  6:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-13  6:08 Invalid face reference: tags-tag-face Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).