Re: mumamo-do-fontify errors in nxhmtl-mode
"Lennart Borgman (gmail)" <[email protected]>
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Message-ID | <[email protected]> |
Florent Georges wrote:
>
>
> "Lennart Borgman (gmail)" wrote:
>
> Hi
>
> > I think this might be a problem with that for the default
> > face there is a face named default, but no variable named
> > default.
>
> > Could you try executing the folloing
>
> > M-: (defvar default 'default)
>
> But faces are identified by a symbol, aren't they?
>
> I think it is a common practice to define a variable to hold a face
> symbol as well as defining a face whose the name (a symbol) is the same
> as this variable name, for its default value. But I don't think this
> is the case for the face 'default'.
I thought too it was common practice, but it looks like I have been
misunderstanding that. See this thread on Emacs devel, especially the
answers from Stefan and Jason:
http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg01561.html
> I think the question is: why the code doesn't use the symbol
> 'default' instead?
Yes, probably that is the right question. Unfortunately it is quite hard
to find out exactly where the offending code is when the error happens
during fontification. (A patch to Emacs C sources is needed to make this
easier.)
> Regards,
>
> --drkm
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/emacs-nxml-mode/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/emacs-nxml-mode/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/