;ELC   
;;; Compiled by root@loma.devel.redhat.com on Tue Feb 17 01:44:29 2004
;;; from file /usr/src/build/355475-noarch/BUILD/psgml-1.2.5/psgml.el
;;; in Emacs version 21.3.1
;;; with bytecomp version 2.85.4.1
;;; with all optimizations.

;;; This file uses dynamic docstrings, first added in Emacs 19.29.
(if (and (boundp 'emacs-version)
	 (< (aref emacs-version (1- (length emacs-version))) ?A)
	 (or (and (boundp 'epoch::version) epoch::version)
	     (string-lessp emacs-version "19.29")))
    (error "`psgml.el' was compiled for Emacs 19.29 or later"))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


#@27 Version of psgml package.
(defconst psgml-version "1.2.5" (#$ . 630))
(byte-code "\301B\303\304\305!\210\304\306!\210\302B\307\302!\204 \310\310\207" [current-load-list psgml-maintainer-address sgml-debug "lenst@lysator.liu.se" require cl easymenu boundp nil] 2)
(defalias 'sgml-debug '(macro . #[(&rest x) "\301\302\303BE\207" [x if sgml-debug sgml-log-message] 4]))
#@35 Abbrev table in use in sgml-mode.
(defvar sgml-mode-abbrev-table nil (#$ . 1012))
(byte-code "\303\304\305\"\210\302B\306\302!\204 \307\310	\"\305\207" [current-load-list emacs-version sgml-running-lucid define-abbrev-table sgml-mode-abbrev-table nil boundp string-match "Lucid"] 3)
#@26 Is this an XML document?
(defvar sgml-xml-p nil (#$ . 1305))
(make-variable-buffer-local 'sgml-xml-p)
#@125 *Controls whether defaulted attributes (not #FIXED) are inserted explicitly
or not. nil means don't insert, t means insert.
(defvar sgml-insert-defaulted-attributes nil (#$ . -1414))
#@180 *If true, and sgml-auto-insert-required-elements also true,
`sgml-insert-element' will insert a comment if there is an element required
but there is more than one to choose from.
(defvar sgml-insert-missing-element-comment t (#$ . -1604))
#@167 *If true, `sgml-insert-element' will put the end-tag on a new line
after the start-tag. Useful on slow terminals if you find the end-tag after
the cursor irritating.
(defvar sgml-insert-end-tag-on-new-line nil (#$ . -1850))
#@164 *If set, this should be the name of a file that contains the doctype
declaration to use.
Setting this variable automatically makes it local to the current buffer.
(defvar sgml-doctype nil (#$ . -2081))
(byte-code "\300\301\302\303#\210\304\301!\207" [put sgml-doctype sgml-type string make-variable-buffer-local] 4)
#@388 *If nil, PSGML will look up external entities by searching the catalogs
in `sgml-local-catalogs' and `sgml-catalog-files' and only if the
entity is not found in the catalogs will a given system identifier be
used. If the variable is non-nil and a system identifier is given, the
system identifier will be used for the entity. If no system identifier
is given the catalogs will searched.
(defvar sgml-system-identifiers-are-preferred nil (#$ . -2404))
#@115 *Maximum number of characters used from the first and last entry
of a submenu to indicate the range of that menu.
(defvar sgml-range-indicator-max-length 9 (#$ . -2862))
#@72 *Document type name to use if no document type declaration is present.
(defvar sgml-default-doctype-name nil (#$ . -3038))
(put 'sgml-default-doctype-name 'sgml-type 'string-or-nil)
#@434 *List of markup to face mappings.
Element are of the form (MARKUP-TYPE . FACE).
Possible values for MARKUP-TYPE is:
comment	- comment declaration
doctype	- doctype declaration
end-tag 
ignored	- ignored marked section
ms-end	- marked section start, if not ignored 
ms-start- marked section end, if not ignored
pi	- processing instruction
sgml	- SGML declaration
start-tag
entity  - general entity reference
shortref- short reference
(defvar sgml-markup-faces '((start-tag . bold) (end-tag . bold) (comment . italic) (pi . bold) (sgml . bold) (doctype . bold) (entity . bold-italic) (shortref . bold)) (#$ . -3227))
#@141 *If non-nil, work around a bug in subst-char-in-region.
The bug sets the buffer modified.  If this is set, folding commands
will be slower.
(defvar sgml-buggy-subst-char-in-region (byte-code "\302\300!?\206 \303!?\206 	\304=\205 \305W\207" [emacs-minor-version emacs-major-version boundp natnump 19 23] 2) (#$ . -3849))
#@56 *If non-nil, psgml will set the face of parsed markup.
(defvar sgml-set-face nil (#$ . -4180))
(put 'sgml-set-face 'sgml-desc "Set face of parsed markup")
#@53 *If non-nil, indicate current element in mode line.
(defvar sgml-live-element-indicator nil (#$ . -4341))
#@246 *If non-nil, loading a sgml-file will automatically try to activate its DTD.
Activation means either to parse the document type declaration or to
load a previously saved parsed DTD.  The name of the activated DTD
will be shown in the mode line.
(defvar sgml-auto-activate-dtd nil (#$ . -4454))
(put 'sgml-auto-activate-dtd 'sgml-desc "Auto Activate DTD")
#@80 *If non-nil, ask about saving modified buffers before \[sgml-validate] is run.
(defvar sgml-offer-save t (#$ . -4815))
#@1144 * Used when the current file is part of a bigger document.

The variable describes how the current file's content fit into the element
hierarchy. The variable should have the form

  (PARENT-FILE CONTEXT-ELEMENT* TOP-ELEMENT (HAS-SEEN-ELEMENT*)?)

PARENT-FILE	is a string, the name of the file containing the
		document entity.
CONTEXT-ELEMENT is a string, that is the name of an element type.
		It can occur 0 or more times and is used to set up
		exceptions and short reference map. Good candidates
		for these elements are the elements open when the
		entity pointing to the current file is used. 
TOP-ELEMENT	is a string that is the name of the element type
		of the top level element in the current file. The file
		should contain one instance of this element, unless
		the last (lisp) element of sgml-parent-document is a
		list. If it is a list, the top level of the file
		should follow the content model of top-element. 
HAS-SEEN-ELEMENT is a string that is the name of an element type. This
	        element is satisfied in the content model of top-element.

Setting this variable automatically makes it local to the current buffer.
(defvar sgml-parent-document nil (#$ . -4942))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local sgml-parent-document put sgml-type list] 4)
#@187 *If non-nil, the Tags menu will tag a region if the region is 
considered active by emacs.  If nil, region must be active and
transient-mark-mode must be on for the region to be tagged.
(defvar sgml-tag-region-if-active nil (#$ . -6259))
#@96 *If non-nil, sgml-normalize will trim off white space from end of element
when adding end tag.
(defvar sgml-normalize-trims t (#$ . -6503))
#@117 *Set to non-nil, if you use OMITTAG YES.

Setting this variable automatically makes it local to the current buffer.
(defvar sgml-omittag t (#$ . -6650))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local sgml-omittag put sgml-desc "OMITTAG"] 4)
#@118 *Set to non-nil, if you use SHORTTAG YES.

Setting this variable automatically makes it local to the current buffer.
(defvar sgml-shorttag t (#$ . -6927))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local sgml-shorttag put sgml-desc "SHORTTAG"] 4)
#@126 *Set to non-nil, if you use NAMECASE GENERAL YES.

Setting this variable automatically makes it local to the current buffer.
(defvar sgml-namecase-general t (#$ . -7208))
(byte-code "\302\303!\210\304\303\305\306#\210\301B\307\307\207" [current-load-list sgml-namecase-entity make-variable-buffer-local sgml-namecase-general put sgml-desc "NAMECASE GENERAL" nil] 4)
#@159 *The case that will be used for general names in inserted markup.
This can be the symbol `lower' or `upper'. Only effective if
sgml-namecase-general is true.
(defvar sgml-general-insert-case 'lower (#$ . -7584))
(byte-code "\302\303\304\305#\210\301B\306\301!\204 \307\307\207" [current-load-list sgml-entity-insert-case put sgml-general-insert-case sgml-type (lower upper) boundp nil] 4)
#@299 *Determines minimization of attributes inserted by edit-attributes.
Actually two things are done
1. If non-nil, omit attribute name, if attribute value is from a token group.
2. If 'max, omit attributes with default value.

Setting this variable automatically makes it local to the current buffer.
(defvar sgml-minimize-attributes nil (#$ . -7984))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local sgml-minimize-attributes put sgml-type (("No") ("Yes" . t) ("Max" . max))] 4)
#@157 *If non-nil, quote all attribute values inserted after finishing edit attributes.
Setting this variable automatically makes it local to the current buffer.
(defvar sgml-always-quote-attributes t (#$ . -8494))
(make-variable-buffer-local 'sgml-always-quote-attributes)
#@92 *If non-nil, automatically insert required elements in the content
of an inserted element.
(defvar sgml-auto-insert-required-elements t (#$ . -8768))
#@56 *If non-nil, context menu inserts start-end tag pairs.
(defvar sgml-balanced-tag-edit t (#$ . -8924))
#@117 *If non-nil, will show legal tags inside elements with omitable start tags
and legal tags beyond omitable end tags.
(defvar sgml-omittag-transparent (null sgml-balanced-tag-edit) (#$ . -9033))
#@120 *If non-nil, the point will remain after inserted tag(s).
If nil, the point will be placed before the inserted tag(s).
(defvar sgml-leave-point-after-insert nil (#$ . -9233))
#@76 *If non-nil, print a warning when a tag for an undefined element is found.
(defvar sgml-warn-about-undefined-elements t (#$ . -9414))
#@65 *If non-nil, print a warning when an undefined entity is found.
(defvar sgml-warn-about-undefined-entities t (#$ . -9554))
#@173 *If non-nil, recover from an undefined element by ignoring the tag.
If nil, recover from an undefined element by assuming it can occur any
where and has content model ANY.
(defvar sgml-ignore-undefined-elements nil (#$ . -9684))
#@347 *If non-nil, out of date compiled DTDs will be automatically recompiled.
If the value is `ask', PSGML will ask before recompiling. A `nil'
value will cause PSGML to silently load an out of date compiled DTD.
A DTD that refers to undefined external entities is always out of
date, thus in such case it can be useful to set this variable to
`nil'.
(defvar sgml-recompile-out-of-date-cdtd 'ask (#$ . -9920))
(put 'sgml-recompile-out-of-date-cdtd 'sgml-type '(("No") ("Yes" . t) ("Ask" . ask)))
#@83 *If non-nil, log messages about catalog files used to look for
external entities.
(defvar sgml-trace-entity-lookup nil (#$ . -10417))
#@154 *How much to increment indent for every element level.
If nil, no indentation.
Setting this variable automatically makes it local to the current buffer.
(defvar sgml-indent-step 2 (#$ . -10558))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local sgml-indent-step put sgml-type (("None") 0 1 2 3 4 5 6 7 8)] 4)
#@123 *If non-nil, indent in data/mixed context also.
Setting this variable automatically makes it local to the current buffer.
(defvar sgml-indent-data nil (#$ . -10900))
(make-variable-buffer-local 'sgml-indent-data)
#@61 Explode a colon-separated list of paths into a string list.
(defalias 'sgml-parse-colon-path #[(cd-path) "\205; \306\307\310\307\311\305!\203 \fP\312\f\n#\211\2039 \n	U?\2050 \313\n	O!C\244	T\202 ,\207" [cd-path cd-colon cd-start cd-list cd-sep path-separator ":" nil 0 boundp string-match substitute-in-file-name] 5 (#$ . 11119)])
#@59 *List of directories used to look for system identifiers.
(defvar sgml-system-path (byte-code "\300\301\302!\206 \303!\207" [sgml-parse-colon-path getenv "SGML_SEARCH_PATH" "."] 3) (#$ . -11475))
(put 'sgml-system-path 'sgml-type 'file-list)
#@808 *Mapping from public identifiers to file names.
This is a list of possible file names.  To find the file for a public
identifier the elements of the list are used one at the time from the
beginning.  If the element is a string a file name is constructed from
the string by substitution of the whole public identifier for %P,
owner for %O, public text class for %C, and public text description
for %D.  The text class will be converted to lower case and the owner
and description will be transliterated according to the variable
sgml-public-transliterations.  If the file exists it will be the file
used for the public identifier.  An element can also be a dotted pair
(regexp . filename), the filename is a string treated as above, but
only if the regular expression, regexp, matches the public
identifier.
(defvar sgml-public-map (byte-code "\300\301\302!!\206	 \303\207" [sgml-parse-colon-path getenv "SGML_PATH" ("%S" "/usr/local/lib/sgml/%o/%c/%d")] 3) (#$ . -11725))
(put 'sgml-public-map 'sgml-type 'list)
#@205 *A list of SGML entity catalogs to be searched first when parsing the buffer.
This is used in addition to `sgml-catalog-files',  and `sgml-public-map'.
This variable is automatically local to the buffer.
(defvar sgml-local-catalogs nil (#$ . -12744))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local sgml-local-catalogs put sgml-type file-list] 4)
#@133 *List of catalog entry files.
The files are in the format defined in the SGML Open Draft Technical
Resolution on Entity Management.
(defvar sgml-catalog-files (byte-code "\300\301\302\303\304!!\"\206\f \305\207" [delete nil sgml-parse-colon-path getenv "SGML_CATALOG_FILES" ("catalog" "/usr/local/lib/sgml/catalog")] 5) (#$ . -13126))
(put 'sgml-catalog-files 'sgml-type 'file-list)
#@35 *List of catalog files for PSGML.
(defvar sgml-ecat-files '("ECAT" "~/sgml/ECAT" "/usr/local/lib/sgml/ECAT") (#$ . -13515))
(put 'sgml-ecat-files 'sgml-type 'file-list)
#@84 *List of local catalog files for PSGML.
Automatically becomes buffer local if set.
(defvar sgml-local-ecat-files nil (#$ . -13690))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local sgml-local-ecat-files put sgml-type file-list] 4)
#@254 *Transliteration for characters that should be avoided in file names.
This is a list of dotted pairs (FROM . TO); where FROM is the the
character to be translated to TO.  This is used when parts of a public
identifier are used to construct a file name.
(defvar sgml-public-transliterations '((32 . 95) (47 . 37)) (#$ . -13955))
#@158 *This is the default file name for saved DTD.
This is set by sgml-mode from the buffer file name.
Can be changed in the Local variables section of the file.
(defvar sgml-default-dtd-file nil (#$ . -14290))
(byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put sgml-default-dtd-file sgml-type string sgml-desc "Default (saved) DTD File"] 4)
#@303 *The list of tag names that remain visible, despite \[sgml-hide-tags].
Each name is a lowercase string, and start-tags and end-tags must be
listed individually.

`sgml-exposed-tags' is local to each buffer in which it has been set;
use `setq-default' to set it to a value that is shared among buffers.
(defvar sgml-exposed-tags nil (#$ . -14644))
(byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local sgml-exposed-tags put sgml-type list] 4)
#@520 *Menu entries to be added to the Markup menu.
The value should be a list of lists of two strings.  The first
string is the menu line and the second string is the text inserted
when the menu item is chosen.  The second string can contain a \r
where the cursor should be left.  Also if a selection is made
according the same rules as for the Tags menu, the selection is
replaced with the second string and \r is replaced with the
selection.

Example:

  (("Version1" "<![%Version1[\r]]>")
   ("New page"  "<?NewPage>"))

(defvar sgml-custom-markup nil (#$ . -15115))
#@926 Menu entries to be added to the DTD menu.
The value should be a list of entries to be added to the DTD menu.
Every entry should be a list. The first element of the entry is a string
used as the menu entry.  The second element is a string containing a
doctype declaration (this can be nil if no doctype).  The rest of the
list should be a list of variables and values.  For backward
compatibility a single string instead of a variable is assigned to
sgml-default-dtd-file.  All variables are made buffer local and are also
added to the buffers local variables list.

Example:
   (("HTML" nil
     sgml-default-dtd-file "~/sgml/html.ced"
     sgml-omittag nil sgml-shorttag nil)
    ("HTML+" "<!doctype htmlplus system 'htmlplus.dtd'>"
     "~/sgml/htmlplus.ced"
     sgml-omittag t sgml-shorttag nil)
    ("DOCBOOK" "<!doctype docbook system 'docbook.dtd'>"
     "~/sgml/docbook.ced"
     sgml-omittag nil sgml-shorttag t)))

(defvar sgml-custom-dtd nil (#$ . 15687))
(byte-code "\300\301\302\303#\210\300\304\302\303#\207" [put sgml-default face underline sgml-fixed] 4)
#@954 *The shell command to validate an SGML document.

This is a `format' control string that by default should contain two
`%s' conversion specifications: the first will be replaced by the
value of `sgml-declaration' (or the empty string, if nil); the
second will be replaced by the current buffer's file name (or the
empty string, if nil).

If `sgml-validate-files' is non-nil, the format string should contain
one `%s' conversion specification for each element of its result.

If sgml-validate-command is a list, then every element should be a
string.  The strings will be tried in order and %-sequences in the
string will be replaced according to the list below, if the string contains
%-sequences with no replacement value the next string will be tried.

%b means the visited file of the current buffer
%s means the SGML declaration specified in the sgml-declaration variable
%d means the file containing the DOCTYPE declaration, if not in the buffer 

(defvar sgml-validate-command "nsgmls -s %s %s" (#$ . -16765))
(make-variable-buffer-local 'sgml-validate-command)
#@55 *The default for `sgml-validate-command' in XML mode.
(defvar sgml-xml-validate-command "nsgmls -wxml -s %s %s" (#$ . -17839))
#@198 If non-nil, a function of no arguments that returns a list of file names.
These file names will serve as the arguments to the `sgml-validate-command'
format control string instead of the defaults.
(defvar sgml-validate-files nil (#$ . 17973))
#@106 Alist of regexps to recognize error messages from `sgml-validate'.
See `compilation-error-regexp-alist'.
(defvar sgml-validate-error-regexps '((".*:\\(.+\\):\\([0-9]+\\):\\([0-9]+\\):[EXW]: " 1 2 3) ("\\(error\\|warning\\) at \\([^,]+\\), line \\([0-9]+\\)" 2 3) ("\n[a-zA-Z]?:?[^0-9 \n	:]+:[ 	]*\\([^ \n	:]+\\):\\([0-9]+\\):\\(\\([0-9]+\\)[: 	]\\)?" 1 2 4)) (#$ . 18223))
#@61 *If non-nil, this is the name of the SGML declaration file.
(defvar sgml-declaration nil (#$ . -18602))
(put 'sgml-declaration 'sgml-type 'file-or-nil)
#@70 *If non-nil, this is the name of the SGML declaration for XML files.
(defvar sgml-xml-declaration nil (#$ . -18760))
(put 'sgml-xml-declaration 'sgml-type 'file-or-nil)
#@59 A hook or list of hooks to be run when entering sgml-mode
(defvar sgml-mode-hook nil (#$ . 18935))
#@62 Options for the current file, can be saved or set from menu.
(defconst sgml-file-options '(sgml-omittag sgml-shorttag sgml-namecase-general sgml-general-insert-case sgml-minimize-attributes sgml-always-quote-attributes sgml-indent-step sgml-indent-data sgml-doctype sgml-parent-document sgml-default-dtd-file sgml-exposed-tags sgml-local-catalogs sgml-local-ecat-files) (#$ . 19040))
#@50 User options that can be saved or set from menu.
(defconst sgml-user-options '(sgml-set-face sgml-live-element-indicator sgml-auto-activate-dtd sgml-offer-save sgml-tag-region-if-active sgml-normalize-trims sgml-auto-insert-required-elements sgml-balanced-tag-edit sgml-omittag-transparent sgml-leave-point-after-insert sgml-insert-missing-element-comment sgml-insert-end-tag-on-new-line sgml-warn-about-undefined-elements sgml-warn-about-undefined-entities sgml-ignore-undefined-elements sgml-recompile-out-of-date-cdtd sgml-default-doctype-name sgml-declaration sgml-validate-command sgml-markup-faces sgml-system-identifiers-are-preferred sgml-trace-entity-lookup sgml-public-map sgml-catalog-files sgml-ecat-files sgml-general-insert-case) (#$ . 19430))
#@69 The minibuffer history list for `sgml-validate''s COMMAND argument.
(defvar sgml-validate-command-history nil (#$ . 20194))
#@22 Keymap for SGML mode
(defvar sgml-mode-map nil (#$ . 20324))
#@28 Displayed in the mode line
(defvar sgml-active-dtd-indicator nil (#$ . 20391))
(defalias 'sgml-variable-description #[(var) "\304N\206; \305!\211\306\307O\310\230\203 	\307\311O	\312T\211\nGW\2036 \nH\313=\203 \n\314I\210\202 *\315	!)\207" [var desc #1=#:G60300 #2=#:G60301 sgml-desc symbol-name 0 5 "sgml-" nil -1 45 32 capitalize] 4])
(defalias 'sgml-variable-type #[(var) "\301N\206 J\302>\205 \303\207" [var sgml-type (t nil) toggle] 2])
#@74 Set the value of variable VAR to VAL in buffer and local variables list.
(defalias 'sgml-set-local-variable #[(var val) "\306!	L\210\212\307\211\310ed\311Z]b\210\312\313\314\310#\2033 `\212\315\210`){\212\316\315!\210`)\317\224{\202P db\210n\204= \320c\210\321\322\203G \323\202H \324\325\326\261\210\327y\210\212\312\330\331\f\"!)\312\330\332\f#\310#\211\203} `\212\315\210`)|\210\330\333	\"\261\202\217 b\210\316\315!\210\f\330\334	#\320\261.\207" [var val case-fold-search suffix prefix sgml-xml-p make-local-variable "" t 3000 search-forward "Local Variables:" nil 1 beginning-of-line 0 10 "<!-- Keep this comment at the end of the file\n" "Local variables:\n" "mode: xml\n" "mode: sgml\n" "End:\n" "-->\n" -3 format "\n%send:" "\n%s%s:" "%S" "%s:%S" endpos varpos] 6 (#$ . 20856)])
(defalias 'sgml-valid-option #[(var) "\303!J\211\304=\203 	;\202# \n\305=\203\" 	;\206# 	:\202# \306*\207" [var val type sgml-variable-type string list-or-string t] 3])
#@64 Save user options for sgml-mode that have buffer local values.
(defalias 'sgml-save-options #[nil "\303	:\203 	@\304\n!\203 \305\n\211J\"\210	A\211\202 *\303\207" [sgml-file-options #1=#:G60305 var nil sgml-valid-option sgml-set-local-variable] 4 (#$ . 21848) nil])
(byte-code "\300\301!\204\n \301\302M\210\300\207" [fboundp run-hook-with-args #[(hook &rest args) "\303!\205& J\205& J\211<\203! 	@\304=\204! \305\306	\"\202% \307	\n\")\207" [hook value args boundp lambda mapcar #[(foo) "\302	\"\207" [foo args apply] 3] apply] 4 "Run HOOK with the specified arguments ARGS.\nHOOK should be a symbol, a hook variable.  If HOOK has a non-nil\nvalue, that value may be a function or a list of functions to be\ncalled to run the hook.  If the value is a function, it is called with\nthe given arguments and its return value is returned.  If it is a list\nof functions, those functions are called, in order,\nwith the given arguments ARGS.\nIt is best not to depend on the value return by `run-hook-with-args',\nas that may change."]] 2)
(defalias 'sgml-markup #[(entry text) "\302\303\304\305	DFB\207" [entry text lambda nil (interactive) sgml-insert-markup] 6])
(defalias 'sgml-insert-markup #[(text) "\305 \306\211\211\211\203 `{`|\210`\f;\203\" \fc\210\202& \307\f!\210`\nb\210\310\311	\312#\2037 \313\314!\210\205= c,\207" [old-text after before end text sgml-mouse-region nil eval search-forward "" t delete-char -1] 5])
(defalias 'sgml-mouse-region #[nil "\306\211\n\203 \307 \203? \310 \311 \202? \203' \f\203' \310 \311 \202? \203? p\312!=\203? \313!\314!\315!\210	\203F 	b\210*\207" [end start sgml-running-lucid transient-mark-mode mark-active mouse-secondary-overlay nil mark-marker region-beginning region-end overlay-buffer overlay-start overlay-end delete-overlay] 3])
#@51 Indent line in proper way for current major mode.
(defalias 'sgml-indent-or-tab #[nil "\204 \302 \207	 \207" [sgml-indent-step indent-line-function insert-tab] 1 (#$ . 23678) nil])
(autoload 'reporter-submit-bug-report "reporter")
#@40 Submit via mail a bug report on PSGML.
(defalias 'sgml-submit-bug-report #[nil "\302\303!\205) \304\305	P\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\257#\207" [psgml-maintainer-address psgml-version y-or-n-p "Do you really want to submit a report on PSGML? " reporter-submit-bug-report "psgml.el " major-mode sgml-always-quote-attributes sgml-auto-activate-dtd sgml-auto-insert-required-elements sgml-balanced-tag-edit sgml-catalog-files sgml-declaration sgml-doctype sgml-ecat-files sgml-indent-data sgml-indent-step sgml-leave-point-after-insert sgml-live-element-indicator sgml-local-catalogs sgml-local-ecat-files sgml-markup-faces sgml-minimize-attributes sgml-normalize-trims sgml-omittag sgml-omittag-transparent sgml-parent-document sgml-public-map sgml-set-face sgml-shorttag sgml-namecase-general sgml-tag-region-if-active sgml-use-text-properties] 30 (#$ . 23917) nil])
(byte-code "\303B\306\303!\204 \307	!\310\311\312\n#\210\310\313\312\n#\210\n)\f\204$ \314 \305B\306\305!\2041 \314 \315B\306\315!\204? \314 \316\f\317#\210\316\f\320#\210\316\f\321\322#\210\316\f\323\324#\210\316\f\325\326#\210\316\f\327\330#\210\316\f\331\332#\210\316\f\333\334#\210\316\f\335\336#\210\316\f\337\340#\210\316\f\341\342#\210\316\f\343\344#\210\316\f\345\346#\210\316\f\347\350#\210\316\f\351\352#\210\316\f\353\354#\210\316\f\355\356#\210\316\f\357\360#\210\316\f\361\362#\210\316\f\363\364#\210\316\f\365\366#\210\316\f\367\370#\210\316\f\371\372#\210\316\f\373\374#\210\316\f\375\376#\210\316\f\377\201@ #\210\316\f\201A \201B #\210\316\f\201C \201D #\210\316\f\201E \201F #\210\316\f\201G \201H #\210\316\f\201I \201J #\210\316\f\201K \201L #\210\316\f\201M \201N #\210\316\f\201O \201F #\210\316\f\201P \201Q #\210\316\f\201R \201S #\210\316\f\201T \201U #\210\316\f\201V \201W #\210\316\f\201X \201Y #\210\316\f\201Z \201[ #\210\316\f\201\\ \201] #\210\316\f\201^ \201_ #\210\316\f\201` \201a #\210\316\f\201b \201c #\210\316\f\201d \201e #\210\316\f\201f \201g #\210\316\f\201h \201i #\210\316\f\201j \201k #\210\316\f\201l \201m #\207" [current-load-list text-mode-syntax-table s sgml-mode-syntax-table sgml-mode-map sgml-prefix-f-map boundp copy-syntax-table modify-syntax-entry 60 "." 62 make-sparse-keymap sgml-prefix-u-map define-key "" "" "	" sgml-indent-or-tab ">" sgml-close-angle "/" sgml-slash "#" sgml-make-character-reference "-" sgml-untag-element "+" sgml-insert-attribute "/" sgml-insert-end-tag "<" sgml-insert-tag "=" sgml-change-element-name "" sgml-edit-attributes "" sgml-show-context "" sgml-next-data-field "" sgml-insert-element "" sgml-fold-element "" sgml-fold-region "" sgml-fold-subelement "" sgml-expand-element "	" sgml-add-element-to-element "" sgml-kill-markup "\f" sgml-show-or-clear-log "" sgml-split-element "" sgml-up-element "" sgml-next-trouble-spot "" sgml-parse-prolog "" sgml-fill-element "" sgml-tag-region "" sgml-unfold-line "" sgml-list-valid-tags "" sgml-unfold-all "" sgml-custom-dtd "" sgml-unfold-element "\f" "" sgml-custom-markup "" sgml-validate "" sgml-what-element "" sgml-trim-and-leave-element "" sgml-beginning-of-element "" sgml-end-of-element "" sgml-forward-element "" sgml-backward-element "" sgml-down-element "" sgml-backward-up-element "" sgml-kill-element " " sgml-mark-element [(meta control h)] sgml-mark-current-element "" sgml-transpose-element "\211" sgml-complete] 4)
#@10 DTD menu
(defvar sgml-dtd-menu nil (#$ . 27436))
(easy-menu-do-define 'sgml-dtd-menu sgml-mode-map "DTD menu" '("DTD" ["Parse DTD" sgml-parse-prolog t] ("Insert DTD") ("Info" ["General DTD info" sgml-general-dtd-info t] ["Describe element type" sgml-describe-element-type t] ["Describe entity" sgml-describe-entity t] ["List elements" sgml-list-elements t] ["List attributes" sgml-list-attributes t] ["List terminals" sgml-list-terminals t] ["List content elements" sgml-list-content-elements t] ["List occur in elements" sgml-list-occur-in-elements t]) "--" ["Load Parsed DTD" sgml-load-dtd t] ["Save Parsed DTD" sgml-save-dtd t]))
#@11 View menu
(defvar sgml-view-menu nil (#$ . 28075))
(easy-menu-do-define 'sgml-view-menu sgml-mode-map "View menu" '("View" ["Fold Element" sgml-fold-element t] ["Fold Subelement" sgml-fold-subelement t] ["Unfold Line" sgml-unfold-line t] ["Unfold Element" sgml-unfold-element t] ["Expand" sgml-expand-element t] ["Fold Region" sgml-fold-region t] ["Unfold All" sgml-unfold-all t] ["Hide Tags" sgml-hide-tags t] ["Hide Attributes" sgml-hide-attributes t] ["Show All Tags" sgml-show-tags t]))
#@13 Markup menu
(defvar sgml-markup-menu nil (#$ . 28572))
(easy-menu-do-define 'sgml-markup-menu sgml-mode-map "Markup menu" '("Markup" ["Insert Element" sgml-element-menu t] ["Insert Start-Tag" sgml-start-tag-menu t] ["Insert End-Tag" sgml-end-tag-menu t] ["End Current Element" sgml-insert-end-tag t] ["Tag Region" sgml-tag-region-menu t] ["Insert Attribute" sgml-attrib-menu t] ["Insert Entity" sgml-entities-menu t] ["Add Element to Element" sgml-add-element-menu t] ("Custom markup" "---")))
#@23 Menu of move commands
(defvar sgml-move-menu nil (#$ . 29072))
(easy-menu-do-define 'sgml-move-menu sgml-mode-map "Menu of move commands" '("Move" ["Next trouble spot" sgml-next-trouble-spot t] ["Next data field" sgml-next-data-field t] ["Forward element" sgml-forward-element t] ["Backward element" sgml-backward-element t] ["Up element" sgml-up-element t] ["Down element" sgml-down-element t] ["Backward up element" sgml-backward-up-element t] ["Beginning of element" sgml-beginning-of-element t] ["End of element" sgml-end-of-element t]))
#@31 Menu of modification commands
(defvar sgml-modify-menu nil (#$ . 29620))
(easy-menu-do-define 'sgml-modify-menu sgml-mode-map "Menu of modification commands" '("Modify" ["Normalize" sgml-normalize t] ["Expand All Short References" sgml-expand-all-shortrefs t] ["Expand Entity Reference" sgml-expand-entity-reference t] ["Normalize Element" sgml-normalize-element t] ["Make Character Reference" sgml-make-character-reference t] ["Unmake Character Reference" (sgml-make-character-reference t) t] ["Fill Element" sgml-fill-element t] ["Change Element Name..." sgml-change-element-name t] ["Edit Attributes..." sgml-edit-attributes t] ["Kill Markup" sgml-kill-markup t] ["Kill Element" sgml-kill-element t] ["Untag Element" sgml-untag-element t] ["Trim and leave element" sgml-trim-and-leave-element t] ["Decode Character Entities" sgml-charent-to-display-char t] ["Encode Characters" sgml-display-char-to-charent t]))
#@11 Main menu
(defvar sgml-main-menu nil (#$ . 30541))
(easy-menu-do-define 'sgml-main-menu sgml-mode-map "Main menu" '("SGML" ["Reset Buffer" normal-mode t] ["Show Context" sgml-show-context t] ["What Element" sgml-what-element t] ["List Valid Tags" sgml-list-valid-tags t] ["Show/Hide Warning Log" sgml-show-or-clear-log t] ["Validate" sgml-validate t] ("File Options" "---") ("User Options" "---") ["Submit Bug Report" sgml-submit-bug-report t]))
(defalias 'sgml-options-menu-items #[(vars) "\301\302\"\207" [vars mapcar #[(var) "\303\304\305!\306!#\307!	:\203 \n\310\311	\"B\202% \312\n\313\314DD\315#*\207" [var type desc format "%s [%s]" sgml-variable-description sgml-option-value-indicator sgml-variable-type mapcar #[(c) "\302:\203 @\202 \303\304\"\305	\306:\203 A\202 DE\307#\207" [c var vector format "%s" setq quote t] 6] vector sgml-do-set-option quote t] 5]] 3])
(defalias 'sgml-option-value-indicator #[(var) "\303!J\211\304=\203 	\203 \305\202Q \306\202Q \n\307=\2032 	;\203. 	\310	G\311^O\202Q \312\202Q \n:\204? 	\203? \313\202Q \n:\203P \314	\n\"@\206Q 	\202Q \312*\207" [var val type sgml-variable-type toggle "Yes" "No" string 0 4 "-" "..." rassq] 5])
(byte-code "\301B\302\301!\204\f \303\303\207" [current-load-list sgml-last-options-menu-values boundp nil] 2)
(defalias 'sgml-any-option-changed #[(oldvalues vars) "\306\306\307	:\203. 	@\f:\203. \f@\nJ=\211\203. 	A\fA\202 \2054 \307-?\207" [oldvalues #1=#:G60306 val vars #2=#:G60307 var nil t #3=#:G60308] 2])
(defalias 'sgml-update-options-menu #[(menuname option-vars &optional save-func) "\304	\"\211\203 \305\nA\"\205( \306\307\310\217\210\n\204\" \311B\211	B\n\312\313\"\241)\207" [menuname sgml-last-options-menu-values last-values option-vars assoc sgml-any-option-changed err (byte-code "\303\304\305	!\n\205 \306\307\310\311\"\n\312#D\244#\207" [menuname option-vars save-func easy-menu-change ("SGML") sgml-options-menu-items "---" vector format "Save %s" t] 9) ((error (message "Error in update menu: %s" err))) nil mapcar symbol-value] 5])
(defalias 'sgml-update-all-options-menus #[nil "\302\303\304#\210\302\305	\"\210\306\207" [sgml-file-options sgml-user-options sgml-update-options-menu "File Options" sgml-save-options "User Options" nil] 4])
(defalias 'sgml-compute-insert-dtd-items #[nil "\305\305	:\203- 	@\306\n@\307\n\211A@)\310\n\211AA)DE\311#B	A\211\202 \237+\207" [sgml-custom-dtd #1=#:G60311 e #2=#:G60312 x nil vector sgml-doctype-insert quote t] 7])
(defalias 'sgml-compute-custom-markup-items #[nil "\305\305	:\203% 	@\306\n@\307\n\211A@)D\310#B	A\211\202 \237+\207" [sgml-custom-markup #1=#:G60313 e #2=#:G60314 x nil vector sgml-insert-markup t] 5])
#@45 Build custom parts of Markup and DTD menus.
(defalias 'sgml-build-custom-menus #[nil "\303\304 \305\"\211\203 \247\204 \306\307\"\210	\203 \310\311\312\313 #\210\n\203* \310\314\315\316 #\210)\317\207" [button3 sgml-custom-dtd sgml-custom-markup lookup-key current-local-map [button3] local-set-key [button3] easy-menu-change ("DTD") "Insert DTD" sgml-compute-insert-dtd-items ("Markup") "Custom markup" sgml-compute-custom-markup-items nil] 5 (#$ . 33281)])
(byte-code "\301B\302\301!\204\f \303\304\301!\207" [current-load-list sgml-auto-activate-dtd-tried boundp nil make-variable-buffer-local] 2)
#@269 If the buffers DTD has been activated this contains the parser state.
The parser state has been created with `sgml-make-pstate' and contains
the information about the DTD and the parse tree.  This parse state is
actually only the state that persists between commands.
(defvar sgml-buffer-parse-state nil (#$ . 33898))
(byte-code "\302\303!\210\304\305:\203 @\306	\307\"\210A\211\202	 *\305\207" [#:G60316 fun make-variable-buffer-local sgml-buffer-parse-state (sgml-need-dtd sgml-update-display sgml-fontify-buffer sgml-subst-expand sgml-declaration) nil autoload "psgml-parse"] 4)
(defalias 'sgml-command-post #[nil "\304>\204\f \305\306!\2052 	\204, \n\203, \204, \307\310 !\204, \311\312!\203, \313\314\315\316\217\210	\2052 \317 \207" [major-mode sgml-buffer-parse-state sgml-auto-activate-dtd sgml-auto-activate-dtd-tried (sgml-mode xml-mode) fboundp make-local-hook zerop buffer-size looking-at ".*<" t #1=#:G60317 (byte-code "\300 \210\301\302!\207" [sgml-need-dtd sgml-fontify-buffer 0] 2) ((error)) sgml-update-display] 3])
#@3339 Major mode for editing SGML.\<sgml-mode-map>
Makes > display the matching <.  Makes / display matching /.
Use \[sgml-validate] to validate your document with an SGML parser.

You can find information with:
\[sgml-show-context]  Show the nesting of elements at cursor position.
\[sgml-list-valid-tags]  Show the tags valid at cursor position.

Insert tags with completion of contextually valid tags with \[sgml-insert-tag].
End the current element with \[sgml-insert-end-tag].  Insert an element (i.e.
both start and end tag) with \[sgml-insert-element].  Or tag a region with 
\[sgml-tag-region]. 

To tag a region with the mouse, use transient mark mode or secondary selection.

Structure editing:
\[sgml-backward-element]  Moves backwards over the previous element.
\[sgml-forward-element]  Moves forward over the next element.
\[sgml-down-element]  Move forward and down one level in the element structure.
\[sgml-backward-up-element]  Move backward out of this element level.
\[sgml-beginning-of-element]  Move to after the start tag of the current element.
\[sgml-end-of-element]  Move to before the end tag of the current element.
\[sgml-kill-element]  Kill the element following the cursor.

Finding interesting positions
\[sgml-next-data-field]  Move forward to next point where data is allowed.
\[sgml-next-trouble-spot]  Move forward to next point where something is 
	amiss with the structure.

Folding and unfolding
\[sgml-fold-element]  Fold the lines comprising the current element, leaving 
	the first line visible.
\[sgml-fold-subelement]  Fold the elements in the content of the current element.
	Leaving the first line of every element visible.
\[sgml-unfold-line]  Show hidden lines in current line.

User options:

sgml-omittag  Set this to reflect OMITTAG in the SGML declaration.
sgml-shorttag  Set this to reflect SHORTTAG in the SGML declaration.
sgml-namecase-general  Set this to reflect NAMECASE GENERAL in the SGML declaration.
sgml-auto-insert-required-elements  If non-nil, automatically insert required 
	elements in the content of an inserted element.
sgml-omittag-transparent  If non-nil, will show legal tags inside elements
	with omitable start tags and legal tags beyond omitable end tags.
sgml-leave-point-after-insert  If non-nil, the point will remain after 
	inserted tag(s).
sgml-warn-about-undefined-elements  If non-nil, print a warning when a tag 
	for a undefined element is found.
sgml-max-menu-size  Max number of entries in Tags and Entities menus before
 	they are split into several panes.
sgml-always-quote-attributes  If non-nil, quote all attribute values 
	inserted after finishing edit attributes.
sgml-minimize-attributes  Determines minimization of attributes inserted by 
	edit-attributes.
sgml-normalize-trims  If non-nil, sgml-normalize will trim off white space 
	from end of element when adding end tag.
sgml-indent-step  How much to increment indent for every element level.
sgml-indent-data  If non-nil, indent in data/mixed context also.
sgml-set-face     If non-nil, psgml will set the face of parsed markup.
sgml-markup-faces The faces used when the above variable is non-nil.
sgml-public-map  Mapping from public identifiers to file names.
sgml-offer-save  If non-nil, ask about saving modified buffers before
		\[sgml-validate] is run.

All bindings:
\{sgml-mode-map}

(defalias 'sgml-mode #[nil "\306 \210\307	\310!\210\311\312\313\314!\315L\210\313\316!\fL\210\317.!\210\313\320!\210\321\313\322!\210\323\313\324!\210\325\313\326!\210\327\313\330!\210\331\313\332!\210\333\334\304#\313\335!\210\335 \211\203f \336!\204f \307\337\340!\203\212 \340\341!\210\342\341\343\344\345$\210/\204\200 \340\346!\210\342\346\347\307\345$\210\202\225 \342\341\343\344#\210\342\350\347\"\210\351\352\353\"\210\3540!\210\3541!\210\3542!\210\3543!\210\3544!\210\3545!\210\355 \207" [sgml-xml-p sgml-mode-abbrev-table local-abbrev-table sgml-mode-map mode-name major-mode kill-all-local-variables nil use-local-map "SGML" sgml-mode make-local-variable paragraph-separate "^[ 	\n]*$\\|^[ 	]*</?\\([_A-Za-z]\\([-:._A-Za-z0-9= 	\n]\\|\"[^\"]*\"\\|'[^']*'\\)*\\)?>$" paragraph-start set-syntax-table comment-start "<!-- " comment-end " -->" comment-indent-function sgml-comment-indent comment-start-skip "<!--[ 	]*" indent-line-function sgml-indent-line mode-line-format subst ("" mode-name sgml-active-dtd-indicator) sgml-default-dtd-file file-exists-p fboundp make-local-hook post-command-hook add-hook sgml-command-post append local activate-menubar-hook sgml-update-all-options-menus menu-bar-update-hook run-hooks text-mode-hook sgml-mode-hook easy-menu-add sgml-build-custom-menus sgml-mode-syntax-table sgml-running-lucid sgml-main-menu sgml-modify-menu sgml-move-menu sgml-markup-menu sgml-view-menu sgml-dtd-menu] 5 (#$ . 34950) nil])
(byte-code "\301B\303\301!\204 \304 \302B\303\302!\204 \305\306\307\"\310B\311\310\307\"\210\312\313\314\315#\207" [current-load-list xml-mode-map xml-mode-syntax-table boundp make-sparse-keymap make-char-table syntax-table nil xml-mode-abbrev-table define-abbrev-table put xml-mode derived-mode-parent sgml-mode] 4)
#@451 Major mode derived from `sgml-mode' by `define-derived-mode'.
It inherits all of the parent's attributes, but has its own keymap,
abbrev table and syntax table:

  `xml-mode-map', `xml-mode-abbrev-table' and `xml-mode-syntax-table'

which more-or-less shadow sgml-mode's corresponding tables.

In addition to any hooks its parent mode might have run,
this mode runs the hook `xml-mode-hook', as the final step
during initialization.

\{xml-mode-map}
(defalias 'xml-mode #[nil "\306 \210\306\307N\203 \310\311\307\312#\210\311\313\314\n!\204 \315\n\316 \"\210\317!\211\203. \f\320 =\2034 \321\322 \"\210)\203> \323\324\"\210\325\n!\210\326!\210\312\327\327\327 \327!\312\"#$\330\331!\210%\332\333!\207" [major-mode mode-name xml-mode-map xml-mode-syntax-table parent local-abbrev-table sgml-mode special put xml-mode t "XML" keymap-parent set-keymap-parent current-local-map char-table-parent standard-syntax-table set-char-table-parent syntax-table mapatoms #[(symbol) "\302\303!	\"\206 \304	\303!JK$\207" [symbol xml-mode-abbrev-table intern-soft symbol-name define-abbrev] 5] use-local-map set-syntax-table nil make-local-variable sgml-declaration run-hooks xml-mode-hook xml-mode-abbrev-table sgml-xml-p sgml-omittag sgml-shorttag sgml-namecase-general sgml-minimize-attributes sgml-always-quote-attributes sgml-xml-validate-command sgml-validate-command sgml-xml-declaration] 5 (#$ . 40111) nil])
(defalias 'sgml-default-dtd-file #[nil "\301 \205 \302\301 !\303\304\"\203 \305\211\224O\202 \306P)\207" [base buffer-file-name file-name-nondirectory string-match "\\.[^.]+$" 0 ".ced"] 3])
(defalias 'sgml-comment-indent #[nil "\301\302!\203  `Sf\303=\203 `\304Zf\305=\204  \306\307x\210iT]\207\310\207" [comment-column looking-at "--" 33 2 60 " 	" nil 0] 2])
#@95 Regular expression that matches a non-empty start tag.
Any terminating > or / is not matched.
(defconst sgml-start-tag-regex "<[_A-Za-z]\\([-:.A-Za-z0-9= \n	]\\|\"[^\"]*\"\\|'[^']*'\\)*" (#$ . 41919))
#@45 Syntax table used for scanning SGML markup.
(defvar sgml-mode-markup-syntax-table nil (#$ . 42126))
(byte-code "\204 \301 \302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\301\207" [sgml-mode-markup-syntax-table make-syntax-table modify-syntax-entry 60 "(>" 62 ")<" 45 "_ 1234" 39 "\""] 4)
#@64 *If non-nil, is the maximum distance to search for matching <.
(defconst sgml-angle-distance 4000 (#$ . -42448))
#@34 Insert > and display matching <.
(defalias 'sgml-close-angle #[(arg) "\306\307\"\210\310V\205\276 `\311\212\214\203 e`Z]\n}\210`eZ\312V\203R `\313Zf\314=\203R `\312Zf\314=\203R \315\316e\317#\203R `\320\321\n\317#\203Q `\n=\203Q \f)	\204} \nb\210\311\322\323\217\210	\203} 	b\203} \324\325!\203{ \324\326P!\204{ \324\327!\203} \311	\204\241 \nb\210\330\331e\317#\203\241 ` \320\332\n\317#\203\240 `\n=\203\240  ))	\205\275 	b\210\333 \203\264 \334\335!\202\275 \336\337	\311\210`{\"+\207" [arg blinkpos oldpos sgml-angle-distance msspos sgml-start-tag-regex insert-char 62 0 nil 3 2 93 re-search-backward "<!\\[\\(-?[A-Za-z0-9. 	\n&;]\\|--\\([^-]\\|-[^-]\\)*--\\)*\\[" t search-forward "]]>" (byte-code "\305 \306\307\216\310\n!\210\311\312\"+\305\207" [parse-sexp-ignore-comments oldtable sgml-mode-markup-syntax-table oldpos blinkpos syntax-table t ((set-syntax-table oldtable)) set-syntax-table scan-sexps -1] 3) ((error)) looking-at "<\\(\\?\\|/?[A-Za-z>]\\|!\\([[A-Za-z]\\|--\\)\\)" "[/<]" "</[A-Za-z][-:.A-Za-z0-9]*[ 	]*<" search-backward "<?" ">" pos-visible-in-window-p sit-for 1 message "Matches %s" pipos] 4 (#$ . 42567) "p"])
#@64 *If non-nil, is the maximum distance to search for matching /.
(defconst sgml-slash-distance 1000 (#$ . -43729))
#@176 Insert / and display any previous matching /.
Two /s are treated as matching if the first / ends a net-enabling
start tag, and the second / is the corresponding null end tag.
(defalias 'sgml-slash #[(arg) "\306\307\"\210\310V\205\211 `\311\310\212\214\f\203 e`\fZ]}\210\312e\313#\203/ \310\225S=\204k Sb\210\n\204k \314\315e\313#\203k \212\312e\313#\205J \310\225)\211`=\203d 	\310=\203^ `\202g 	S\202g 	T)\2023 )\n\205\210 \nb\210\316 \203~ \317\320!\202\210 \321\322\323 \210`\nT{\",\207" [arg level blinkpos oldpos sgml-slash-distance sgml-start-tag-regex insert-char 47 0 nil re-search-backward t search-backward "/" pos-visible-in-window-p sit-for 1 message "Matches %s" beginning-of-line tagend] 5 (#$ . 43849) "p"])
#@2 
(autoload 'compile-internal "compile" '(#$ . 44593))
(defalias 'sgml-default-validate-command #[nil ":\203G \306\307 \205 \310\307 !B\311\301 B\312	B\313\nBF\314\315\314\f:\203C \f@\316\"\211?\211\203C \fA\211\202' -\207\317\320\203U  \202l 	\206Z \321\307 \211\203i \310!\202j \321)D#\207" [sgml-validate-command sgml-declaration sgml-doctype validate-subst #1=#:G60318 template 98 buffer-file-name file-name-nondirectory 115 118 100 nil t sgml-subst-expand apply format "" #2=#:G60319 #3=#:G60320 sgml-validate-files name] 7])
#@275 Validate an SGML document.
Runs COMMAND, a shell command, in a separate process asynchronously
with output going to the buffer *compilation*.
You can then use the command \[next-error] to find the next error message
and move to the line in the SGML document that caused it.
(defalias 'sgml-validate #[(command) "\203	 \303\304\211\"\210\305	\306\307\304\n%\207" [sgml-offer-save command sgml-validate-error-regexps save-some-buffers nil compile-internal "No more errors" "SGML validation"] 6 (#$ . 45159) (list (read-from-minibuffer "Validate command: " (sgml-default-validate-command) nil nil 'sgml-validate-command-history))])
(byte-code "\300\301\302\303\211\211%\210\300\304\302\303#\210\300\305\302\303#\210\300\306\302\303#\207" [autoload sgml-doctype-insert "psgml-edit" nil sgml-indent-line sgml-element-endable-p sgml-do-set-option] 6)
#@29 Load a saved DTD from FILE.
(autoload 'sgml-load-dtd "psgml-parse" '(#$ . 46011) t)
#@91 Show the *SGML LOG* buffer if it is not showing, or clear and
remove it if it is showing.
(autoload 'sgml-show-or-clear-log "psgml-parse" '(#$ . 46101) t)
#@45 Parse the document prolog to learn the DTD.
(autoload 'sgml-parse-prolog "psgml-parse" '(#$ . 46262) t)
#@116 Move to after the start-tag of the current element.
If the start-tag is implied, move to the start of the element.
(autoload 'sgml-beginning-of-element "psgml-edit" '(#$ . 46373) t)
#@52 Move to before the end-tag of the current element.
(autoload 'sgml-end-of-element "psgml-edit" '(#$ . 46561) t)
#@112 Move backward out of this element level.
That is move to before the start-tag or where a start-tag is implied.
(autoload 'sgml-backward-up-element "psgml-edit" '(#$ . 46680) t)
#@107 Move forward out of this element level.
That is move to after the end-tag or where an end-tag is implied.
(autoload 'sgml-up-element "psgml-edit" '(#$ . 46864) t)
#@33 Move forward over next element.
(autoload 'sgml-forward-element "psgml-edit" '(#$ . 47033) t)
#@89 Move backward over previous element at this level.
With implied tags this is ambiguous.
(autoload 'sgml-backward-element "psgml-edit" '(#$ . 47133) t)
#@59 Move forward and down one level in the element structure.
(autoload 'sgml-down-element "psgml-edit" '(#$ . 47290) t)
#@40 Kill the element following the cursor.
(autoload 'sgml-kill-element "psgml-edit" '(#$ . 47413) t)
#@79 Interchange element before point with element after point, leave point after.
(autoload 'sgml-transpose-element "psgml-edit" '(#$ . 47517) t)
#@30 Set mark after next element.
(autoload 'sgml-mark-element "psgml-edit" '(#$ . 47665) t)
#@77 Set mark at end of current element, and leave point before current element.
(autoload 'sgml-mark-current-element "psgml-edit" '(#$ . 47759) t)
#@134 Replace the name of the current element with a new name.
Eventual attributes of the current element will be translated if 
possible.
(autoload 'sgml-change-element-name "psgml-edit" '(#$ . 47909) t)
#@35 Remove tags from current element.
(autoload 'sgml-untag-element "psgml-edit" '(#$ . 48114) t)
#@59 Kill next tag, markup declaration or process instruction.
(autoload 'sgml-kill-markup "psgml-edit" '(#$ . 48214) t)
#@155 Hide (or if prefixarg unhide) region.
If called from a program first two arguments are start and end of
region. And optional third argument true unhides.
(autoload 'sgml-fold-region "psgml-edit" '(#$ . 48337) t)
#@121 Fold the lines comprising the current element, leaving the first line visible.
This uses the selective display feature.
(autoload 'sgml-fold-element "psgml-edit" '(#$ . 48556) t)
#@119 Fold all elements current elements content, leaving the first lines visible.
This uses the selective display feature.
(autoload 'sgml-fold-subelement "psgml-edit" '(#$ . 48742) t)
#@36 Show hidden lines in current line.
(autoload 'sgml-unfold-line "psgml-edit" '(#$ . 48928) t)
#@43 Show all hidden lines in current element.
(autoload 'sgml-unfold-element "psgml-edit" '(#$ . 49027) t)
#@44 As sgml-fold-subelement, but unfold first.
(autoload 'sgml-expand-element "psgml-edit" '(#$ . 49136) t)
#@34 Show all hidden lines in buffer.
(autoload 'sgml-unfold-all "psgml-edit" '(#$ . 49246) t)
#@51 Move forward to next point where data is allowed.
(autoload 'sgml-next-data-field "psgml-edit" '(#$ . 49342) t)
#@73 Move forward to next point where something is amiss with the structure.
(autoload 'sgml-next-trouble-spot "psgml-edit" '(#$ . 49460) t)
#@48 Display a list of the contextually valid tags.
(autoload 'sgml-list-valid-tags "psgml-edit" '(#$ . 49602) t)
#@55 Display where the cursor is in the element hierarchy.
(autoload 'sgml-show-context "psgml-edit" '(#$ . 49717) t)
#@43 Display what element is under the cursor.
(autoload 'sgml-what-element "psgml-edit" '(#$ . 49836) t)
#@282 Insert a tag, reading tag name in minibuffer with completion.
 If sgml-leave-point-after-insert is t, the point is left after the
inserted tag(s), unless the element has some required content. If
sgml-leave-point-after-insert is nil the point is left after the first
tag inserted.
(autoload 'sgml-insert-tag "psgml-edit" '(#$ . 49944) t)
#@68 Reads element name from minibuffer and inserts start and end tags.
(autoload 'sgml-insert-element "psgml-edit" '(#$ . 50288) t)
#@68 Reads element name from minibuffer and inserts start and end tags.
(autoload 'sgml-tag-region "psgml-edit" '(#$ . 50422) t)
#@46 Insert end-tag for the current open element.
(autoload 'sgml-insert-end-tag "psgml-edit" '(#$ . 50552) t)
#@74 Read attribute name and value from minibuffer and insert attribute spec.
(autoload 'sgml-insert-attribute "psgml-edit" '(#$ . 50664) t)
#@133 Split the current element at point.
If repeated, the containing element will be split before the beginning
of then current element.
(autoload 'sgml-split-element "psgml-edit" '(#$ . 50807) t)
#@58 Insert a DTD declaration from the sgml-custom-dtd alist.
(autoload 'sgml-custom-dtd "psgml-edit" '(#$ . 51005) t)
#@50 Insert markup from the sgml-custom-markup alist.
(autoload 'sgml-custom-markup "psgml-edit" '(#$ . 51125) t)
#@362 Pop up a menu with valid tags and insert the chosen tag.
If the variable sgml-balanced-tag-edit is t, also inserts the
corresponding end tag. If sgml-leave-point-after-insert is t, the point
is left after the inserted tag(s), unless the element has some required
content.  If sgml-leave-point-after-insert is nil the point is left
after the first tag inserted.
(autoload 'sgml-tags-menu "psgml-edit" '(#$ . 51241) t)
#@143 Pop up a menu with valid elements and insert choice.
If sgml-leave-point-after-insert is nil the point is left after the first 
tag inserted.
(autoload 'sgml-element-menu "psgml-edit" '(#$ . 51665) t)
#@56 Pop up a menu with valid start-tags and insert choice.
(autoload 'sgml-start-tag-menu "psgml-edit" '(#$ . 51872) t)
#@54 Pop up a menu with valid end-tags and insert choice.
(autoload 'sgml-end-tag-menu "psgml-edit" '(#$ . 51994) t)
#@75 Pop up a menu with valid elements and tag current region with the choice.
(autoload 'sgml-tag-region-menu "psgml-edit" '(#$ . 52112) t)
(autoload 'sgml-entities-menu "psgml-edit" nil t)
#@102 Pop up a menu of the attributes of the current element
(or the element with start-tag before point).
(autoload 'sgml-attrib-menu "psgml-edit" '(#$ . 52305) t)
#@131 Fill biggest enclosing element with mixed content.
If current element has pure element content, recursively fill the
subelements.
(autoload 'sgml-fill-element "psgml-edit" '(#$ . 52471) t)
#@75 Edit attributes of current element.
Editing is done in a separate window.
(autoload 'sgml-edit-attributes "psgml-edit" '(#$ . 52666) t)
#@64 Finish editing and insert attribute values in original buffer.
(autoload 'sgml-edit-attrib-finish "psgml-edit" '(#$ . 52808) t)
#@41 Set current attribute value to default.
(autoload 'sgml-edit-attrib-default "psgml-edit" '(#$ . 52942) t)
#@38 Kill the value of current attribute.
(autoload 'sgml-edit-attrib-clear "psgml-edit" '(#$ . 53054) t)
#@47 Go to the start of the attribute value field.
(autoload 'sgml-edit-attrib-field-start "psgml-edit" '(#$ . 53161) t)
#@45 Go to the end of the attribute value field.
(autoload 'sgml-edit-attrib-field-end "psgml-edit" '(#$ . 53283) t)
#@31 Move to next attribute value.
(autoload 'sgml-edit-attrib-next "psgml-edit" '(#$ . 53401) t)
#@26 Hide all tags in buffer.
(autoload 'sgml-hide-tags "psgml-edit" '(#$ . 53500) t)
#@29 Show hidden tags in buffer.
(autoload 'sgml-show-tags "psgml-edit" '(#$ . 53587) t)
#@50 Hide all attribute specifications in the buffer.
(autoload 'sgml-hide-attributes "psgml-edit" '(#$ . 53677) t)
#@50 Show all attribute specifications in the buffer.
(autoload 'sgml-show-attributes "psgml-edit" '(#$ . 53794) t)
#@356 Expand all short references in the buffer.
Short references to text entities are expanded to the replacement text
of the entity; other short references are expanded into general entity
references.  If argument TO-ENTITY is non-nil, or if called
interactively with a numeric prefix argument, all short references are
replaced by general entity references.
(autoload 'sgml-expand-all-shortrefs "psgml-edit" '(#$ . 53912) t)
#@307 Normalize buffer by filling in omitted tags and expanding empty tags.
Argument TO-ENTITY controls how short references are expanded as with
`sgml-expand-all-shortrefs'.  An optional argument ELEMENT can be the
element to normalize instead of the whole buffer, if used no short
references will be expanded.
(autoload 'sgml-normalize "psgml-edit" '(#$ . 54341) t)
(autoload 'sgml-normalize-element "psgml-edit" nil t)
#@220 Convert character after point into a character reference.
If called with a numeric argument, convert a character reference back
to a normal character.  If called from a program, set optional
argument INVERT to non-nil.
(autoload 'sgml-make-character-reference "psgml-edit" '(#$ . 54764) t)
#@52 Insert the text of the entity referenced at point.
(autoload 'sgml-expand-entity-reference "psgml-edit" '(#$ . 55060) t)
#@323 Complete the word/tag/entity before point.
If it is a tag (starts with < or </) complete with valid tags.
If it is an entity (starts with &) complete with declared entities.
If it is a markup declaration (starts with <!) complete with markup 
declaration names.
If it is something else complete with ispell-complete-word.
(autoload 'sgml-complete "psgml-edit" '(#$ . 55188) t)
(byte-code "\300\301\302\303\304$\210\300\305\302\303\304$\207" [autoload sgml-file-options-menu "psgml-edit" nil t sgml-user-options-menu] 5)
#@179 Add an element of type GI to the current element.
The element will be added at the last legal position if FIRST is `nil',
otherwise it will be added at the first legal position.
(autoload 'sgml-add-element-to-element "psgml-edit" '(#$ . 55715) t)
#@30 Save the parsed dtd on FILE.
(autoload 'sgml-save-dtd "psgml-dtd" '(#$ . 55968) t)
#@60 List the elements and their attributes in the current DTD.
(autoload 'sgml-list-elements "psgml-info" '(#$ . 56057) t)
#@55 List the attributes and in which elements they occur.
(autoload 'sgml-list-attributes "psgml-info" '(#$ . 56182) t)
#@56 List the elements that can have data in their content.
(autoload 'sgml-list-terminals "psgml-info" '(#$ . 56304) t)
#@77 List all element types and the element types that can occur in its content.
(autoload 'sgml-list-content-elements "psgml-info" '(#$ . 56426) t)
#@48 List all element types and where it can occur.
(autoload 'sgml-list-occur-in-elements "psgml-info" '(#$ . 56576) t)
#@70 Describe the properties of an entity as declared in the current DTD.
(autoload 'sgml-describe-entity "psgml-info" '(#$ . 56698) t)
#@76 Describe the properties of an element type as declared in the current DTD.
(autoload 'sgml-describe-element-type "psgml-info" '(#$ . 56835) t)
#@44 Display information about the current DTD.
(autoload 'sgml-general-dtd-info "psgml-info" '(#$ . 56984) t)
#@69 Replace character entities with their display character equivalents
(autoload 'sgml-charent-to-display-char "psgml-charent" '(#$ . 57096) t)
#@72 Replace displayable characters with their character entity equivalents
(autoload 'sgml-display-char-to-charent "psgml-charent" '(#$ . 57243) t)
(byte-code "\301\302!\210\301\303!\210\203 \304\305!\210\202 \304\306!\210\301\207" [sgml-running-lucid provide psgml sgml-mode require psgml-lucid psgml-other] 2)
