I've noticed that if you have unmatched string quotes (',",`) in
comments in ksh-mode, that XEmacs gets confused about what's inside
and outside quotes in the code, but only sometimes. Ideas anyone?
M-x font-lock-fontify-buffer fixes things.
For example:
xemacs -vanilla this file:
# -*- ksh -*-
# Don't put unmatched quotes in comments
compctl -j -P % -x 's[-] p[1]' -k signals -- kill
compctl -z -P '%' bg
compctl -j -P '%' fg wait jobs disown
compctl -A shift
compctl -caF type whence which where
compctl -F unfunction
compctl -a unalias
compctl -v unset vared
compctl -v -S '=' -q declare export integer local readonly typeset
compctl -e disable
compctl -d enable
then M-x font-lock-mode
then start adding and removing space at the beginning of the lower
lines; the string regions get confused. Now remove the "'" in the
comment and all is well.
greg
Show replies by date