[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
- Re: How to debug Error during redisplay, (continued)
- Re: How to debug Error during redisplay, Eli Zaretskii, 2013/01/12
- Re: How to debug Error during redisplay, Leo Liu, 2013/01/12
- Re: How to debug Error during redisplay, Leo Liu, 2013/01/12
- Re: How to debug Error during redisplay, Eli Zaretskii, 2013/01/12
- Re: How to debug Error during redisplay, Leo Liu, 2013/01/12
- Re: How to debug Error during redisplay, Eli Zaretskii, 2013/01/12
- Re: How to debug Error during redisplay, Stephen Berman, 2013/01/12
- Re: How to debug Error during redisplay, Eli Zaretskii, 2013/01/12
Re: How to debug Error during redisplay, Stefan Monnier, 2013/01/11