emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

another jit-lock bug


From: Karl Chen
Subject: another jit-lock bug
Date: Tue, 22 Jun 2004 01:43:16 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]