unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* set sgml-xml-mode to true in some modes derived from sgml-mode
@ 2022-08-04 10:16 Yilkal Argaw
  2022-08-04 10:49 ` Yilkal Argaw
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Yilkal Argaw @ 2022-08-04 10:16 UTC (permalink / raw)
  To: Emacs Devel

Hi All

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. This can be done by setting the variable
in the autoload section for the derived modes.  This makes the default
behaviour of those modes more usable without using hooks. For now I am
using hooks set the variable true for html, mhtml and xml modes but I
think that it should be set by default for it to be more user
friendly.

With Regards
Yilkal



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-08-05  4:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04 10:16 set sgml-xml-mode to true in some modes derived from sgml-mode Yilkal Argaw
2022-08-04 10:49 ` Yilkal Argaw
2022-08-04 11:59 ` Stefan Kangas
2022-08-04 12:55 ` Lars Ingebrigtsen
2022-08-04 16:56   ` Yuri Khan
2022-08-04 19:29     ` Yilkal Argaw
2022-08-05  4:28       ` tomas

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).