emacs-pretest-bug
[Top][All Lists]
Advanced

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

font-lock error (lazy-lock support-mode/sgml mode)


From: Urban Engberg
Subject: font-lock error (lazy-lock support-mode/sgml mode)
Date: Fri, 26 Sep 2003 11:21:18 +0200

In GNU Emacs 21.3.50.33 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-09-23 on uelinux
configured using `configure  'CFLAGS=-g -v''

(Latest cvs)

To reproduce:

  $ emacs -q --no-site-file -l test.el test.html

where test.el and test.html are as shown below:

test.el:

  (setq font-lock-support-mode 'lazy-lock-mode)
  (global-font-lock-mode 1 t)

test.html:

  <title>foobar</title>

This produces an error in font-lock-fontify-keywords-region as seen
below.  I haven't been able to determine why this happens, but
isolated it to sessions in which I have turned on lazy-lock as a
font-lock support mode.

  Debugger entered--Lisp error: (error "No match 3 in highlight (3 (cdr (assoc 
(downcase (match-string 1)) sgml-tag-face-alist)) prepend)")
     signal(error ("No match 3 in highlight (3 (cdr (assoc (downcase 
(match-string 1)) sgml-tag-face-alist)) prepend)"))
     error("No match %d in highlight %S" 3 (3 (cdr (assoc ... 
sgml-tag-face-alist)) prepend))
     font-lock-fontify-keywords-region(1 23 t)
     font-lock-default-fontify-region(1 23 t)
     font-lock-fontify-region(1 23 t)
     byte-code("ŠÃ ĎÅed       #ˆÆ ˆÇ‰+‡" [save-match-data-internal verbose 
font-lock-fontified match-data ((set-match-data save-match-data-internal)) 
font-lock-fontify-region font-lock-after-fontify-buffer t] 4)
     font-lock-default-fontify-buffer()
     font-lock-fontify-buffer()
     call-interactively(font-lock-fontify-buffer)
     execute-extended-command(nil)
     call-interactively(execute-extended-command)

Important settings:
  value of $LC_ALL: en_US.iso885915
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: t

-- 
address@hidden




reply via email to

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