emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs just dies during fontification


From: Eli Zaretskii
Subject: Re: Emacs just dies during fontification
Date: Sun, 20 Dec 2009 06:08:53 +0200

> From: Lennart Borgman <address@hidden>
> Date: Sun, 20 Dec 2009 03:52:01 +0100
> 
> I have problem finding an error because Emacs just dies during
> fontification when I try to call `message'. It does not happen when I
> do not add the calls to `message'. (But then I do not get the info I
> need.)
> 
> Anyone understands what might be going on?

If you mean that you added calls to `message' inside a fontification
function, then it's a no-no, because fontification functions are
called by the display engine as part of rendering the display.  A call
to `message' causes Emacs to re-enter redisplay, which again causes it
to call the fontification functions, and you then have infinite
recursion on your hands.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]