emacs-devel
[Top][All Lists]
Advanced

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

Re: set sgml-xml-mode to true in some modes derived from sgml-mode


From: Lars Ingebrigtsen
Subject: Re: set sgml-xml-mode to true in some modes derived from sgml-mode
Date: Thu, 04 Aug 2022 14:55:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Yilkal Argaw <yilkalargawworkneh@gmail.com> writes:

> While trying to use emacs to edit html files I noticed how the
> sgml-tag functions which uses skeletons to insert  tags does not
> insert a closing tag for some tags like "<li>" this behaviour changes
> by changing the variable "sgml-xml-mode" to a non nil value. Would it
> not be better to turn this variable to true some of the derived modes
> like html-mode and xml-mode.

You don't want the skeleton to insert <li></li> in html-mode --
pretending that HTML is XML isn't recommended.




reply via email to

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