Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125617 - app-emacs/color-theme "Wrong type argument: symbolp,..." error
Summary: app-emacs/color-theme "Wrong type argument: symbolp,..." error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Emacs project
URL: http://www.emacswiki.org/cgi-bin/wiki...
Whiteboard:
Keywords:
Depends on: 142422
Blocks:
  Show dependency tree
 
Reported: 2006-03-09 09:17 UTC by PL Hayes
Modified: 2006-08-07 21:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PL Hayes 2006-03-09 09:17:25 UTC
I think this bug affects only emacs-cvs users. It did mine and I found the following fix for it at emacswiki.org:

     (defun color-theme-face-attr-construct (face frame)
       (if (atom face)
           (custom-face-attributes-get face frame)
         (if (and (consp face) (eq (car face) 'quote))
             (custom-face-attributes-get (cadr face) frame)
           (custom-face-attributes-get (car face) frame)))))
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2006-05-15 09:16:32 UTC
Which emacs port? (app-editors/emacs or app-editors/emacs-cvs).  Could you try starting emacs with --debug-init and post the backtrace here?  It sounds like a return of the old easy-menu bug.
Comment 2 PL Hayes 2006-05-15 09:58:23 UTC
I'm using emacs-cvs but it's a color-theme bug; it has been fixed in color-theme cvs and the fix put up on emacswiki:

http://www.emacswiki.org/cgi-bin/wiki/ColorTheme#toc6

With --debug-init (after commenting out the fix in my .emacs) nothing different happened. I guess --debug-init only deals with errors occurring strictly within the init file. When I started color-theme-select I got an *error message, as expected, but nothing else happened. I could trace the relevant functions and describe what happens and put the output here and figure out why the above code fixes it but is that really necessary? 

* face-attribute: Wrong type argument: symbolp, (font-latex-doctex-documentation-face font-lock-preprocessor-face)
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2006-08-07 21:59:05 UTC
version 6.6.0 was added to portage which should resolve this bug,