unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Simen Heggestøyl" <simenheg@gmail.com>
Cc: 23297-done@debbugs.gnu.org
Subject: bug#23297: [PATCH] Add HTML5 tags to HTML mode
Date: Sun, 17 Apr 2016 20:10:55 -0400	[thread overview]
Message-ID: <jwvh9ezzsqi.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <1460914855.3803.0@smtp.gmail.com> ("Simen Heggestøyl"'s message of "Sun, 17 Apr 2016 19:40:55 +0200")

>> It'd be great to extract that from the relaxng compact schema, tho
>> (i.e. use nxml).
> I don't understand what that means. Could you elaborate?

The nxml mode knows how to read a relaxng schema which describes the
valid grammar of a given kind of XML document.  E.g. it can use it to
give you things like context-aware completion of xml elements
and attributes.

Emacs comes with the relaxng schema for HTML4 and there's a relaxng
schema for HTML5 in GNU ELPA.

So nxml can provide in an automated way most of what's in
html-tag-alist.


        Stefan





  reply	other threads:[~2016-04-18  0:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-15 15:43 bug#23297: [PATCH] Add HTML5 tags to HTML mode Simen Heggestøyl
2016-04-15 19:30 ` Stefan Monnier
2016-04-17 17:40   ` Simen Heggestøyl
2016-04-18  0:10     ` Stefan Monnier [this message]
2016-04-20 17:52       ` Simen Heggestøyl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvh9ezzsqi.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=23297-done@debbugs.gnu.org \
    --cc=simenheg@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).