unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>,
	Ulrich Mueller <ulm@gentoo.org>
Cc: emacs-devel@gnu.org
Subject: Re: Regression in 22.2 jit-lock?
Date: Fri, 28 Mar 2008 17:58:09 -0400	[thread overview]
Message-ID: <87lk42a4um.fsf@stupidchicken.com> (raw)
In-Reply-To: <18413.13239.102103.522313@a1ihome1.kph.uni-mainz.de> (Ulrich Mueller's message of "Fri, 28 Mar 2008 19:06:47 +0100")

Ulrich Mueller <ulm@gentoo.org> 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  <monnier@iro.umontreal.ca>

	* 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.




  reply	other threads:[~2008-03-28 21:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28 18:06 Regression in 22.2 jit-lock? Ulrich Mueller
2008-03-28 21:58 ` Chong Yidong [this message]
2008-03-29  4:16   ` Stefan Monnier
2008-03-29  7:12     ` Ulrich Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lk42a4um.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=ulm@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).