From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Lee Newsgroups: gmane.emacs.help Subject: Re: configuration: how to make emacs re-parse code more quickly Date: Wed, 17 Sep 2003 14:58:21 GMT Organization: ~ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063810881 17298 80.91.224.253 (17 Sep 2003 15:01:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2003 15:01:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 17 17:01:19 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19zdnz-00089W-00 for ; Wed, 17 Sep 2003 17:01:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19zdnT-0001EM-K8 for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Sep 2003 11:00:47 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!in.100proofnews.com!in.100proofnews.com!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr24.news.prodigy.com.POSTED!404941e6!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:ign23tXpROKmYHABtUrGCBLPBPU= Original-Lines: 21 Original-NNTP-Posting-Host: 216.62.199.3 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssvr24.news.prodigy.com 1063810701 ST000 216.62.199.3 (Wed, 17 Sep 2003 10:58:21 EDT) Original-NNTP-Posting-Date: Wed, 17 Sep 2003 10:58:21 EDT X-UserInfo1: [[PGGVSEAJWMAP\YKBCB^]\@PJ_^PBQLGPQRZQ]KEYUNDQUCCNSUAACY@L[ZX__HGFD]JBJNSFXTOOGA_VWY^_HG@FW_HUTHOH]TBPGCO\P^PLP^@[GLHUK@WLECKFVL^TYG[@RMWQXIWM[SDDYWNLG_G[_BWUCHFY_Y@AS@Q[B\APPF@DCZM_PG_VSCPQZM Original-Xref: shelby.stanford.edu gnu.emacs.help:116668 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12590 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12590 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.