Variable: sgml-tag-alist

sgml-tag-alist is a customizable variable defined in sgml-mode.el.gz.

Value

(("!["
  ("ignore" t)
  ("include" t))
 ("!attlist")
 ("!doctype")
 ("!element")
 ("!entity"))

Documentation

Alist of tag names for completing read and insertion rules.

This alist is made up as

  (("tag" . TAGRULE)
   ...)

TAGRULE is a list of optionally t (no endtag) or \n (separate endtag by newlines) or a skeleton with nil, t or \n in place of the interactor followed by an ATTRIBUTERULE (for an always present attribute) or an attribute alist.

The attribute alist is made up as

  (("attribute" . ATTRIBUTERULE)
   ...)

ATTRIBUTERULE is a list of optionally t (no value when no input) followed by an optional alist of possible values.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/sgml-mode.el.gz
(defcustom sgml-tag-alist
  '(("![" ("ignore" t) ("include" t))
    ("!attlist")
    ("!doctype")
    ("!element")
    ("!entity"))
  "Alist of tag names for completing read and insertion rules.
This alist is made up as

  ((\"tag\" . TAGRULE)
   ...)

TAGRULE is a list of optionally t (no endtag) or `\\n' (separate endtag by
newlines) or a skeleton with nil, t or `\\n' in place of the interactor
followed by an ATTRIBUTERULE (for an always present attribute) or an
attribute alist.

The attribute alist is made up as

  ((\"attribute\" . ATTRIBUTERULE)
   ...)

ATTRIBUTERULE is a list of optionally t (no value when no input) followed by
an optional alist of possible values."
  :type '(repeat (cons (string :tag "Tag Name")
		       (repeat :tag "Tag Rule" sexp))))