>>>> "Ville" == Ville Skytt <Ville>
writes:
Ville> On Fri, 2003-10-17 at 20:33, Adrian Aichner wrote:
> >>>>> "Jany" == Jany Quintard
<jany.quintard(a)free.fr> writes:
>
Jany> I use xemacs under Linux (debian, uname -a -> Linux figue
2.4.19 #1 Thu
Jany> Sep 5 08:36:40 CEST 2002 i686 unknown) and Windows 2000.
>
Jany> I can't use the dsssl-mode, while I am
able to use the
Jany> lisp-mode on the same files.
>
Jany> If I set the mode by hand and try to swith to
highlighting, I get the
Jany> following message:
Jany> Range must be t or a character: "+-*/.<>!?$%_&~^:"
>
>> Hi Jany,
>
>> please do the following:
Ville> [...]
Ville> Oops, I investigated this a bit and started a GNU sync but forgot to
Ville> post. The offending bit is this:
Ville> (setq font-lock-defaults '(dsssl-font-lock-keywords
Ville> nil t (("+-*/.<>=?$%_&~^:"
. "w"))
Ville> beginning-of-defun
Ville> (font-lock-mark-block-function . mark-defun)))
Ville> Actually my XEmacs 21.4.14 reports a bit differently:
Ville> Signaling: (error "Char table range must be t, charset, char, or
Ville> vector" "+-*/.<>=?$%_&~^:")
Ville> [...]
Mine[1] reports this:
Signaling: (error "Range must be t or a character"
"+-*/.<>=!?$%_&~^:")
put-char-table("+-*/.<>=!?$%_&~^:" 2 #s(char-table type syntax data
( (?\^@ ?\^H) 3 ?\t 0 ?\n 524300 ?\^K 3 (?\^L ?\r) 0 (?\^N ?\^_) 3 ?\ 0 ?! 3 ?\" 7
?\# 8519811 (?$ ?&) 3 ?\' 128 ?\( (4 . ?\)) ?\) (5 . ?\() (?* ?+) 3 ?\, 128 (?-
?/) 3 (?0 ?9) 2 ?: 3 ?\; 8388619 (?< ?\?) 3 ?@ 131 (?A ?Z) 2 ?\[ (4 . ?\]) ?\\ 9 ?\] (5
. ?\[) (?^ ?_) 3 ?\` 128 (?a ?z) 2 ?{ (4 . ?}) ?| 2621440 ?} (5 . ?{) (?~ ?ÿ) 3)))
simple-set-syntax-entry("+-*/.<>=!?$%_&~^:" 2 #s(char-table type
syntax data ( (?\^@ ?\^H) 3 ?\t 0 ?\n 524300 ?\^K 3 (?\^L ?\r) 0 (?\^N ?\^_) 3 ?\ 0 ?! 3
?\" 7 ?\# 8519811 (?$ ?&) 3 ?\' 128 ?\( (4 . ?\)) ?\) (5 . ?\() (?* ?+) 3 ?\,
128 (?- ?/) 3 (?0 ?9) 2 ?: 3 ?\; 8388619 (?< ?\?) 3 ?@ 131 (?A ?Z) 2 ?\[ (4 . ?\]) ?\\
9 ?\] (5 . ?\[) (?^ ?_) 3 ?\` 128 (?a ?z) 2 ?{ (4 . ?}) ?| 2621440 ?} (5 . ?{) (?~ ?ÿ)
3)))
modify-syntax-entry("+-*/.<>=!?$%_&~^:" "w" #s(char-table
type syntax data ( (?\^@ ?\^H) 3 ?\t 0 ?\n 524300 ?\^K 3 (?\^L ?\r) 0 (?\^N ?\^_) 3 ?\ 0
?! 3 ?\" 7 ?\# 8519811 (?$ ?&) 3 ?\' 128 ?\( (4 . ?\)) ?\) (5 . ?\() (?* ?+)
3 ?\, 128 (?- ?/) 3 (?0 ?9) 2 ?: 3 ?\; 8388619 (?< ?\?) 3 ?@ 131 (?A ?Z) 2 ?\[ (4 .
?\]) ?\\ 9 ?\] (5 . ?\[) (?^ ?_) 3 ?\` 128 (?a ?z) 2 ?{ (4 . ?}) ?| 2621440 ?} (5 . ?{)
(?~ ?ÿ) 3)))
font-lock-set-defaults-1()
font-lock-mode(nil)
call-interactively(font-lock-mode)
command-execute(font-lock-mode t)
execute-extended-command(nil)
call-interactively(execute-extended-command)
Ville> Hints how to properly fix this are welcome.
Don't know the correct fix yet, but a string of characters is not
acceptable.
Footnotes:
[1] "XEmacs 21.4 (patch 14) \"Reasonable Discussion\" [Lucid]
(i586-pc-win32) of Sun Sep 14 2003 on D5DC120J"
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/