[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: configuration: how to make emacs re-parse code more quickly
From: |
Peter Lee |
Subject: |
Re: configuration: how to make emacs re-parse code more quickly |
Date: |
Wed, 17 Sep 2003 14:58:21 GMT |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) |
Michael> What is annoying is this has happened and I type the
Michael> closing quote, it takes another 3-4 seconds before my
Michael> code goes back to normal. Is there any way to configure
Michael> emacs to detect that closing quote more quickly? Or
Michael> else, is there anything I can bind a key to that will
Michael> manually re-parse the code and determine that the string
Michael> is terminated?
There are 3 different font lock modes: fast, jit, and lazy. I'm
guessing you are using lazy. Do 'M-x customize-group RET font-lock'
and experiment with changing the font-lock-support-mode. Then have a
look at that particular mode's settings.
You can manually fontify the buffer by doing:
'M-x font-lock-fontify-buffer', and you could bind that to a key if
all else fails.