[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regression in 22.2 jit-lock?
From: |
Chong Yidong |
Subject: |
Re: Regression in 22.2 jit-lock? |
Date: |
Fri, 28 Mar 2008 17:58:09 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Ulrich Mueller <address@hidden> writes:
> I've prepared a minimal example to reproduce the different behaviour:
>
> 1. Open attached file test.sh with "emacs -Q"
> 2. Remove one of the double quotes inside function foo()
>
> While in 22.1 fontification of function bar() is delayed by 0.5
> seconds, namely the default value of jit-lock-context-time, it is
> immediate in 22.2.
>
> #!/bin/bash
>
> foo() {
> echo "it's a test"
> }
>
> bar() {
> cat <<-EOF >baz.el
> ;;; baz.el
> (require 'quux)
> EOF
> }
Thanks for spotting this. The bug was introduced by the following
change. Stefan?
2007-07-23 Stefan Monnier <address@hidden>
* 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.