From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: Regression in 22.2 jit-lock? Date: Sat, 29 Mar 2008 08:12:08 +0100 Message-ID: <18413.60360.722585.550712@a1ihome1.kph.uni-mainz.de> References: <18413.13239.102103.522313@a1ihome1.kph.uni-mainz.de> <87lk42a4um.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206774758 18258 80.91.229.12 (29 Mar 2008 07:12:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Mar 2008 07:12:38 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 29 08:13:08 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JfVFU-0003Fa-GV for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 08:13:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfVEt-00023l-80 for ged-emacs-devel@m.gmane.org; Sat, 29 Mar 2008 03:12:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JfVEp-00023g-Ng for emacs-devel@gnu.org; Sat, 29 Mar 2008 03:12:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JfVEo-00023U-72 for emacs-devel@gnu.org; Sat, 29 Mar 2008 03:12:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfVEo-00023R-3p for emacs-devel@gnu.org; Sat, 29 Mar 2008 03:12:26 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JfVEn-0003xv-7u for emacs-devel@gnu.org; Sat, 29 Mar 2008 03:12:25 -0400 Original-Received: from a1iwww1.kph.uni-mainz.de ([134.93.134.1]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JfVEl-0004Sb-Rq for emacs-devel@gnu.org; Sat, 29 Mar 2008 03:12:24 -0400 Original-Received: from a1ihome1.kph.uni-mainz.de (a1ihome1.kph.uni-mainz.de [134.93.134.75]) by a1iwww1.kph.uni-mainz.de (8.14.2/8.13.4) with ESMTP id m2T7CArD030827; Sat, 29 Mar 2008 08:12:10 +0100 Original-Received: from a1ihome1.kph.uni-mainz.de (localhost [127.0.0.1]) by a1ihome1.kph.uni-mainz.de (8.14.2/8.14.1) with ESMTP id m2T7CANO012735; Sat, 29 Mar 2008 08:12:10 +0100 Original-Received: (from ulm@localhost) by a1ihome1.kph.uni-mainz.de (8.14.2/8.14.2/Submit) id m2T7C9N7012730; Sat, 29 Mar 2008 08:12:09 +0100 In-Reply-To: X-Mailer: VM 8.0.9 under Emacs 22.1.1 (i686-pc-linux-gnu) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 1) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:93761 Archived-At: >>>>> On Sat, 29 Mar 2008, Stefan Monnier wrote: >> 2007-07-23 Stefan Monnier >> * progmodes/sh-script.el (sh-font-lock-backslash-quote) >> (sh-font-lock-flush-syntax-ppss-cache): New funs. >> (sh-font-lock-syntactic-keywords): Use them to distinguish the >> different possible cases for \'. >> (sh-font-lock-paren): Mark the relevant text with font-lock-multiline. > Hmm... so the "relevant text" marked with font-lock-multiline is so > large that it causes sluggishness... Not sure what to do about it, Well, the real file is here (too large to attach): Go to line 292 and insert something; it is quite sluggish in 22.2. (Setting jit-lock-defer-time will help a little, but in 22.1 it was just fine with the default configuration.) Ulrich