From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Newsgroups: gmane.emacs.bugs Subject: bug#23297: [PATCH] Add HTML5 tags to HTML mode Date: Wed, 20 Apr 2016 19:52:20 +0200 Message-ID: <1461174740.19488.0@smtp.gmail.com> References: <1460735007.2242.3@smtp.gmail.com> <=?ISO-8859-1?Q?1460735007.2242.3@smtp.gmail.com> <1460914855.3803.0@smtp.gmail.com> <"Simen =?UTF-8?Q?Heggest=C3=B8yl?="'s message of "Sun, 17 Apr 2016 19:40:55 +0200"> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-5n8lMghMQraVAcG8aQiI" X-Trace: ger.gmane.org 1461174812 26031 80.91.229.3 (20 Apr 2016 17:53:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Apr 2016 17:53:32 +0000 (UTC) Cc: 23297-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 20 19:53:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aswJN-000784-Sk for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Apr 2016 19:53:14 +0200 Original-Received: from localhost ([::1]:53591 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aswJK-0005TY-6y for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Apr 2016 13:53:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aswJF-0005ES-6V for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2016 13:53:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aswJB-0008K3-UN for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2016 13:53:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aswJB-0008Jy-RZ for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2016 13:53:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aswJB-0002CS-K5 for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2016 13:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Apr 2016 17:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23297 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 23297-done@debbugs.gnu.org id=D23297.14611747518417 (code D ref 23297); Wed, 20 Apr 2016 17:53:01 +0000 Original-Received: (at 23297-done) by debbugs.gnu.org; 20 Apr 2016 17:52:31 +0000 Original-Received: from localhost ([127.0.0.1]:41615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aswIg-0002Bh-Vp for submit@debbugs.gnu.org; Wed, 20 Apr 2016 13:52:31 -0400 Original-Received: from mail-lf0-f48.google.com ([209.85.215.48]:36695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aswIe-0002BP-G1 for 23297-done@debbugs.gnu.org; Wed, 20 Apr 2016 13:52:29 -0400 Original-Received: by mail-lf0-f48.google.com with SMTP id g184so45668782lfb.3 for <23297-done@debbugs.gnu.org>; Wed, 20 Apr 2016 10:52:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:subject:to:cc:message-id:in-reply-to:references :mime-version; bh=U43dEW6+2NyNJtH6aONWfK834AGtVDvcYyQ2itOUKDw=; b=YkF1vYKR5tXoqkW/QUSjFaj0JI2ET1aad6+AWSIQmjJafluGd3ieGDB+6VCol4Domt Ef7v7np1eXisrP9o1Jx4z7g5rnDIR1dPQDCVj+JrIl63EPm0TeHo/ofcW80AG7hSKZy8 7WL27WvXXxs1cxUWqHRTC6Rm0sKRf3xNYjBItO7pCRZMN490zASIpxin+mZatK27idsA 4SphbXg5XAZzCdDvRc0fPaU78+OpIiAb2lx3Fpo+lHQviAN7txoFc3yzrS7g22zksBtj PQI68BoHJP7O3fpIL48dwUi6bGCFafGUD1Pau/X9HSHWSJwLYSkuBxfTq2sNHlFJcORU 1z3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:subject:to:cc:message-id:in-reply-to :references:mime-version; bh=U43dEW6+2NyNJtH6aONWfK834AGtVDvcYyQ2itOUKDw=; b=BwbfxzBnBMAZ+2Yv/bdMBCpRFzVcyIEM4ne8oAmCymm53DMS8UI8mlT+P8fPKZ/WOq PZX7uk9GS+JMBtIDlbj/hFSdYWxrD/FEnXsQZFOQkZX0krdIyg0+j5wc4jW/M3tdXkKl rMKk80QJF7o5YFMK5+jdUsK0KIkyTXCpJDYBda5fRtKlv6rHaWtiIYVfCXrHf448XPOE y1JHSg6NtdeV/7CfQtqL6JXyDeIRrVpwTry2lU31084P2vsU3u4ajqQHtjLPyRbd5Gq6 7XaLpQNPZod7AkWgSNuO3UFZXmc3vHn2osMn7jQysarIjSThA/VrDJ5XKjNZyOmUkxsg /oFw== X-Gm-Message-State: AOPr4FW4jTDF8Q5c+7pRKWth9TLWhfPaEGn46TNJT0bRD7zIPfn2gnwchO6QPXZa7nQJZA== X-Received: by 10.25.30.206 with SMTP id e197mr4291163lfe.144.1461174742378; Wed, 20 Apr 2016 10:52:22 -0700 (PDT) Original-Received: from [192.168.100.5] (cm-84.210.143.4.getinternet.no. [84.210.143.4]) by smtp.gmail.com with ESMTPSA id z21sm1350467lff.0.2016.04.20.10.52.20 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Apr 2016 10:52:21 -0700 (PDT) In-Reply-To: X-Mailer: geary/0.10.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:116636 Archived-At: --=-5n8lMghMQraVAcG8aQiI Content-Type: text/plain; charset=utf-8; format=flowed On Mon, Apr 18, 2016 at 2:10 AM, Stefan Monnier wrote: > 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 I see, thanks for the explanation. It sounds like a good idea. -- Simen --=-5n8lMghMQraVAcG8aQiI Content-Type: text/html; charset=utf-8 On Mon, Apr 18, 2016 at 2:10 AM, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
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

I see, thanks for the explanation. It sounds like a good idea.

-- Simen
--=-5n8lMghMQraVAcG8aQiI--