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

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

html-mode demanding <html> a bit too tight


From: Kevin Ryde
Subject: html-mode demanding <html> a bit too tight
Date: Mon, 23 Apr 2007 08:19:05 +1000
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

In a recent build of the cvs, visiting the file minimal.html below
selects sgml-mode, where I hoped to get html-mode.  According to the
(version 3.2) spec at http://www.w3.org/TR/REC-html32-19970114#html
(the end of the "Structure of HTML" section) it's a valid minimal
html, so it'd be nice if it was recognised.

If I'm not mistaken the html-mode regexp in magic-mode-alist demands a
"<html".  It'd be nice if a "html" doctype like

        <!DOCTYPE HTML ...
or
        <!DOCTYPE html ...

could be considered html too.  I think that'd help with various kinds
of sloppiness or newly begun documents.


In GNU Emacs 22.0.98.2 (i586-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2007-04-18 on blah
configured using `configure  'CFLAGS=-O' '--prefix=/down/emacs/b/inst' 
'--with-x-toolkit=gtk''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_AU
  locale-coding-system: iso-8859-1
  default-enable-multibyte-characters: t


reply via email to

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