Summary: | =app-editors/emacs-23: 'font-get' function exits with debug backtrace | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sebastian Glita <gseba> |
Component: | Current packages | Assignee: | Emacs project <emacs> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | james |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sebastian Glita
2009-08-07 18:37:53 UTC
Please paste the output of 'emerge --info' into a bugzilla comment to assist the maintainers in resolving this issue (In reply to comment #0) > 4. evaluate: (font-get > "-adobe-courier-medium-r-normal--17-123-100-100-m-100-iso8859-1" :family) > > Actual Results: > debug(error (wrong-type-argument font > "-adobe-courier-medium-r-normal--17-123-100-100-m-100-iso8859-1")) Documentation of font-get says: (font-get FONT KEY) Return the value of FONT's property KEY. FONT is a font-spec, a font-entity, or a font-object. So a string argument is not allowed. The following should work though: (font-get (font-spec :name "-adobe-courier-medium-r-normal--17-123-100-100-m-100-iso8859-1") :family) > font-get gets actually called from (x-symbol-mode). Whose last released version 4.51 is from 2003, so breakage with recent Emacs doesn't really surprise me (yes, I'm aware of bug 199220). (In reply to comment #1) > Please paste the output of 'emerge --info' into a bugzilla comment to assist > the maintainers in resolving this issue Not really necessary here, since the bug is reproducible without this info. Closing as INVALID, since the function works as documented. |