emacs-devel
[Top][All Lists]
Advanced

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

Re: How to debug Error during redisplay


From: Stefan Monnier
Subject: Re: How to debug Error during redisplay
Date: Sat, 12 Jan 2013 08:08:53 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> You can try (setq font-lock-support-mode nil) then turn font-lock-mode off
>> and then back on, so as to make it not use jit-lock.  If you're lucky,
>> the same problem will occur, but this time it'll be in a context where
>> debug-on-error works.
> But I couldn't get it to work. I did:
> 1. M-: (setq font-lock-support-mode nil)
> 2. M-x font-lock-mode
> 3. M-x font-lock-mode

Indeed, adaptive-wrap uses jit-lock directly and not font-lock, so the
above doesn't help.
We should really improve jit-lock.el to provide a "debugging mode" where
it somehow runs the code at some other time than during redisplay, so it
can be debugged better.


        Stefan



reply via email to

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