bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-comments in sgml-mode's html-mode


From: martin rudalics
Subject: Re: C-comments in sgml-mode's html-mode
Date: Tue, 24 Jul 2007 18:44:57 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> So, steps to reproduce: in an emacs -q session evaluate <quote>
> (autoload 'html-mode "sgml-mode" "Edit HTML docs" t)
> (setq auto-mode-alist (cons (cons "\\.x?html?$" 'html-mode) auto-mode-alist))
> </quote>, visit a .css file (it need not exist / can be empty),
> open a .html file containing: <quote>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd";>
> <html lang="en"><head><title>Test page for HTML-mode /* comment issue 
</title><!-- */ sanity
> --></head><body><h1>Test page for HTML-mode /* comment issue </h1><!-- */ sanity 
--></body></html>
> </quote>
>
> It would appear that css-mode is hacking html-mode !

But this is not the css-mode that comes with Emacs 22.2.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]