"Eric M. Ludlam" <eric@...> writes:
>>>> joakim@... seems to think that:
>>I tried this but failed:
>>
>>(define-child-mode nxhtml-mode html-mode
>> "`nxhtml-mode' needs the same semantic support as `html-mode'.")
>>
>>nxml and nxhtml mode are pretty popular, and IMHO cedet should support
>>them in the same way as html-helper-mode.
>>=20=20
>
> I think html-helper-mode also runs html-mode-hook. If the modes you
> specify above do not run html-mode-hook, you need to do something
> similar to the below.
>
> ;;;###autoload
> (add-hook 'nxhtml-mode-hook 'semantic-default-html-setup)
This does in fact work! Cool!
This was the html unit test i experimented with:
<html>
<body>
<h1>hello</h1>
</body>
</html>
this is what ecb shows you(from cedet tags):
- Section
=E2=94=94=E2=94=80 - hello
=E2=94=94=E2=94=80 - Section
=E2=94=94=E2=94=80 hello
Hmm. Odd, come to think of it...=20=20=20=20=20=20
> Eric
>
> --=20
> Eric Ludlam: zappo@..., eric@...=
om
> Home: http://www.ludlam.net Siege: http://www.siege-engine.com
> Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org
--=20
Joakim Verona
http://www.verona.se
|