From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: Re: set sgml-xml-mode to true in some modes derived from sgml-mode Date: Fri, 5 Aug 2022 06:28:49 +0200 Message-ID: References: <874jysi2xd.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a5/MCIHA6tDeucNS" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29154"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 05 06:29:41 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oJoxx-0007OR-1s for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Aug 2022 06:29:41 +0200 Original-Received: from localhost ([::1]:44046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJoxv-0007Cy-H2 for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Aug 2022 00:29:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJoxH-0006Tz-Ee for emacs-devel@gnu.org; Fri, 05 Aug 2022 00:28:59 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:39996) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJoxE-0001Ih-4Y for emacs-devel@gnu.org; Fri, 05 Aug 2022 00:28:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=SyCmKEkvynB1ed5j09lMLsdWDTBp/EGQxTz6iil10sw=; b=a9BSu5UTUYtFv47kefmO0wgtRb 7/+9GSah/L1Sedk03ADsCyNiFyr8pZTpdECUUSc0OEt9hcLT2pfPUXj0YsRE3z1NS+5DTi+01Vs41 aIu9RhyZN7Hx+PtnnGgJIUnkS8wSFq3o+7wwbPGNO4VPnLxBY6dMbDq8HhHo0mlMXZCU3+pBoK4K4 E7whpCUhiqvYCNLx33G1qSrGzS7nMEV4kELTfuUqSiDa3Xy4NAkiO7gAsUtfaNU4jVtovdony0F7K kitUJOOPYqeEHylTkZRqA8CfFnx8G9qSHlRY7xPAxgiNqwNSGOHK9LJkzbBXYmYGQIsjpuuh4K1AT rv9xtxcQ==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1oJox7-0008PR-J0 for emacs-devel@gnu.org; Fri, 05 Aug 2022 06:28:49 +0200 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293101 Archived-At: --a5/MCIHA6tDeucNS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 04, 2022 at 10:29:37PM +0300, Yilkal Argaw wrote: > > Specifically, you[^*] want in your[^**] HTML all closing tags that are > > permitted by the HTML syntax.

, , , but not or > > . (You[^*] also want quotes around all your[^**] attribute > > values.) > May be having a variable that contains an list of tags you want to > close in html (i.e. those that are permitted by the HTML syntax and > are enforced by some standards That would be the HTML "void elements". This [1] is the most current (2011) reference I can come up with: area, base, br, col, command, embed, hr, img, input, keygen, link, meta, param, source, track, wbr HTML being a "living standard" (an euphemism for "we can do what we please, users be damned") it's not impossible that they get proliferated since then. Cheers [1] https://www.w3.org/TR/2011/WD-html-markup-20110113/syntax.html#syntax-e= lements --=20 t --a5/MCIHA6tDeucNS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYuycewAKCRAFyCz1etHa RqATAJ9WBFy0BdnuErqrD60ZKi0qIP+aWQCfSILB1jCRHCpXFD2CgvVb2kS3NOw= =h2KL -----END PGP SIGNATURE----- --a5/MCIHA6tDeucNS--