From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: [bug] python-mode, jit-lock, syntax-pss during file load Date: Mon, 21 Jun 2004 18:04:54 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.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 1087837628 13717 80.91.224.253 (21 Jun 2004 17:07:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Jun 2004 17:07:08 +0000 (UTC) Cc: Emacs Developement List Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jun 21 19:06:59 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BcSG3-0000s7-00 for ; Mon, 21 Jun 2004 19:06:59 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BcSG3-0004eO-00 for ; Mon, 21 Jun 2004 19:06:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcSHJ-0006nO-Fh for emacs-devel@quimby.gnus.org; Mon, 21 Jun 2004 13:08:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BcSFx-0006HQ-He for emacs-devel@gnu.org; Mon, 21 Jun 2004 13:06:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BcSFr-0006G4-OA for emacs-devel@gnu.org; Mon, 21 Jun 2004 13:06:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcSFr-0006FZ-Bb for emacs-devel@gnu.org; Mon, 21 Jun 2004 13:06:47 -0400 Original-Received: from [148.79.80.39] (helo=albion.dl.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BcSE4-0004nh-UF for emacs-devel@gnu.org; Mon, 21 Jun 2004 13:04:57 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 1BcSE2-0001mO-00; Mon, 21 Jun 2004 18:04:54 +0100 Original-To: Karl Chen User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25158 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25158 Karl Chen writes: > Other font lock support modes (or no font lock) might also have > problems. Proper handling of quotes definitely depends on font-lock (unfortunately). > I think the fix is to force syntaxification/ > fontification before python-guess-indent is called. At that stage, I guess it's only necessary to font-lock-fontify-syntactically-region up to the limit that it checks for the indent.