From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Chen Newsgroups: gmane.emacs.devel Subject: another jit-lock bug Date: Tue, 22 Jun 2004 01:43:16 -0700 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: quarl+dated+1088325557.3e362f@nospam.quarl.org NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087893813 26220 80.91.224.253 (22 Jun 2004 08:43:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Jun 2004 08:43:33 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jun 22 10:43:26 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 1BcgsH-00063p-00 for ; Tue, 22 Jun 2004 10:43:25 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BcgsH-0001ZJ-00 for ; Tue, 22 Jun 2004 10:43:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bcgta-0008JL-3b for emacs-devel@quimby.gnus.org; Tue, 22 Jun 2004 04:44:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BcgtX-0008JE-JR for emacs-devel@gnu.org; Tue, 22 Jun 2004 04:44:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BcgtW-0008In-Ou for emacs-devel@gnu.org; Tue, 22 Jun 2004 04:44:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcgtW-0008Id-JG for emacs-devel@gnu.org; Tue, 22 Jun 2004 04:44:42 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BcgsB-0007BU-Iz for emacs-devel@gnu.org; Tue, 22 Jun 2004 04:43:19 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BcgsA-0008IU-00 for ; Tue, 22 Jun 2004 10:43:18 +0200 Original-Received: from hkn.eecs.berkeley.edu ([128.32.47.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jun 2004 10:43:18 +0200 Original-Received: from quarl by hkn.eecs.berkeley.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jun 2004 10:43:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: hkn.eecs.berkeley.edu X-Quack-Archive: 1 Gmane-From: 1 User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:BYAZmgqONqUFgXO59RXpvwj+2Y8= 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:25178 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25178 emacs -q (global-set-key "\r" (lambda () (interactive) (newline) (indent-according-to-mode))) (global-font-lock-mode) (setq font-lock-support-mode 'jit-lock-mode) C-x C-f /tmp/a.sh if true ; then # when you press return here, auto indent succeeds fi case z in asdf) # auto indent fails here only when font-lock-support-mode is # jit-lock-mode, using (indent-according-to-mode) as part of an # interactive key (if you manually evaluate # (indent-according-to-mode) it works) -- Karl 2004-06-22 01:39