Hi,
If you start XEmacs, open a new php file (for instace by C-x C-f
"yadayada.php" <enter>) and then write on the first line:
$_COOKIE[
this error message will pop up: (and after that just about anything will
trigger the same error message).
Error caught in `font-lock-pre-idle-hook': (error No match 1 in
highlight (1 font-lock-constant-face nil nil))
The weird thing is that it needs to be exactly 6 chars between the $_
and [ portion (I've tried) but there can be just about any chars (upper,
lower, etc). I've verified this on a Debian unstable system with swedish
locale as well as one with american locale settings.
I've also verified this on a Windows version of XEmacs (debian and
windows using 21.4 patch 13 "Rational FORTRAN win32 sun may 25 2003).
Please let me know if you can reproduce this.
I've also tried this after moving all of my own configuration files away
and the problem still persists, makes PHP editing kind of painful. A
backtrace gave the
information appended below.
Regards,
David Härdeman
PS
This bug is also added by me in the Debian database at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=203065
--- Backtrace ---
Signaling: (error "No match 1 in highlight (1 font-lock-constant-face
nil nil)")
signal(error ("No match 1 in highlight (1 font-lock-constant-face nil
nil)"))
cerror("No match %d in highlight %S" 1 (1 font-lock-constant-face nil
nil))
apply(cerror "No match %d in highlight %S" (1 (1
font-lock-constant-face nil nil)))
error("No match %d in highlight %S" 1 (1 font-lock-constant-face nil nil))
font-lock-fontify-keywords-region(595 633 nil)
font-lock-default-fontify-region(595 633 nil)
font-lock-fontify-region(595 633)
#<compiled-function (beg end val) "...(5)" [end beg
font-lock-fontify-region] 3>(595 633 t)
map-range-table(#<compiled-function (beg end val) "...(5)" [end beg
font-lock-fontify-region] 3> #s(range-table data ((595 633) t)))
#<compiled-function (buffer dummy) "...(49)"
[font-lock-pending-buffer-table zmacs-region-stays font-lock-range-table
buffer remhash buffer-live-p clear-range-table map-extents
#<compiled-function ... "...(32)" ... 5> nil font-lock-pending t
put-text-property map-range-table
#<compiled-function ... "...(5)" ... 3>] 9>(#<buffer
"compose.php"> t)
maphash(#<compiled-function (buffer dummy) "...(49)"
[font-lock-pending-buffer-table zmacs-region-stays font-lock-range-table
buffer remha
sh buffer-live-p clear-range-table map-extents #<compiled-function ...
"...(32)" ... 5> nil font-lock-pending t put-text-property map-range-
table #<compiled-function ... "...(5)" ... 3>] 9> #<hash-table size
0/29
weakness key 0x1998>)
font-lock-fontify-pending-extents()
byte-code("..." [font-lock-pending-buffer-table hash-table-count 0
font-lock-fontify-pending-extents] 2)
font-lock-pre-idle-hook()