jed-users mailing list

[2008 Date Index] [2008 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: HTML syntax highlighting


Duke <dukeofperl@xxxxxxx> wrote:
> [17:43:51][dnormandin@tigger:~]$ jed -batch -n /private/tmp/foo.html
> loading /opt/local/share/jed/lib/site.sl
> loading /opt/local/share/jed/lib/os.sl
> loading /opt/local/share/jed/lib/menus.sl
> loading /opt/local/etc/jed.conf
> loading /opt/local/share/jed/lib/compress.sl
> loading /opt/local/share/jed/lib/modeinfo.sl
> Reading /private/tmp/foo.html
> loading /opt/local/share/jed/lib/html.sl
> S-Lang Error: Type Mismatch: Unable to typecast Null_Type to String_Type
> S-Lang Traceback: undefinekey
> S-Lang Error: Type Mismatch: called from line 475, file:
> /opt/local/share/jed/lib/html.sl

What version of jed and slang are you using?  That is, what does the
following produce?

   jed --version

It looks like you are using 0.99.18.  If so, try around line 475 of
html.sl, change:

  undefinekey (_Reserved_Key_Prefix, $1);
  definekey("html_keymap", _Reserved_Key_Prefix, $1);

to

  if (_Reserved_Key_Prefix != NULL)
  {
     undefinekey (_Reserved_Key_Prefix, $1);
     definekey("html_keymap", _Reserved_Key_Prefix, $1);
  }

Then repeat the test.
Thanks,
--John


--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2008 date index] [2008 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]