jed-users mailing list

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

Re: HTML syntax highlighting


On Fri, 28 Nov 2008, John E. Davis wrote:

[snip]

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

[06:32:37][dnormandin@tigger:~]$ jed --version
jed version: 0.99.18/Unix
 Compiled with GNU C 4.0
S-Lang version: 1.4.9

jed compile-time options:
 +LINE_ATTRIBUTES +BUFFER_LOCAL_VARS +SAVE_NARROW +TTY_MENUS
 +EMACS_LOCKING +MULTICLICK +SUBPROCESSES +DFA_SYNTAX +ABBREVS
 +COLOR_COLUMNS +LINE_MARKS -GPM_MOUSE +IMPORT

Using JED_ROOT=/opt/local/share/jed
[06:32:48][dnormandin@tigger:~]$


> 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

You're good, John! You're _real_ good!

[06:41:14][dnormandin@tigger:~]$ jed -batch /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
loading /Users/dnormandin/.jedrc
loading /opt/local/share/jed/lib/colors/black4.sl
Reading /private/tmp/foo.html
loading /opt/local/share/jed/lib/html.sl
Creating DFA syntax table for html...

[06:48:31][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
Creating DFA syntax table for html...

Unfortunately, I must have done something, somewhere to break things,
because I still do not have html syntax highlighting. :(

Yet the syntax highlighting in an SLang file is just fine. So I don't
think that it is my OS X terminal settings that are acting up.
-- 
Duke Normandin
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?


--------------------------
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]