- Subject: Re: hooks and modes
- From: "G. Milde" <milde@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 12 Nov 2008 08:54:18 +0100
On 11.11.08, Duke Normandin wrote:
> I want to install Jed's HTML mode. To that end, I've RTFM - as far as
> that goes, as well as Googling to death "mode, hook, jed, etc"
> html.sl does exist in the JEDROOT/lib/
So it is already installed. Did you want to install one of the alternative
implementations?
> I think that my problem is that I do not yet understand the
> relationship between a mode and its "hook". Do I need a hook for every
> mode that I use?
No, the mode-hook (in this case the SLang function html_mode_hook() is
called by the html_mode() function and allows custimisation. If you are
content with the defaults, you do not need it.
> At any rate, I have no syntax highlighting and no HTML mode.
What did you do up to this point?
Does M-x html-mode help?
There is a coupling of file-extension and mode, normally html-mode
should be called whenever you open a file *.hmtl. Do you have a
different naming scheme?
Günter
--------------------------
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]