;ELC ;;; Compiled ;;; in Emacs version 26.3 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defconst psgml-maintainer-address "emacs-devel@gnu.org") (require 'easymenu) (defvar sgml-debug nil) #@16 (fn &rest X) (defalias 'sgml-debug '(macro . #[128 "\300\301\302BE\207" [if sgml-debug message] 5 (#$ . 510)])) (byte-code "\300\301!\210\302\303\304\305#\207" [require psgml-vars define-abbrev-table sgml-mode-abbrev-table nil "Abbrev table in use in SGML mode."] 4) #@80 Non-nil if this Emacs supports regexp character classes. E.g. `[-.[:alnum:]]'. (defconst sgml-have-re-char-clases (string-match "[[:alpha:]]" "x") (#$ . 786)) #@98 Non-nil means use `text-property-default-nonsticky'. locally. Otherwise put explicit properties. (defconst sgml-default-nonsticky (boundp 'text-property-default-nonsticky) (#$ . 951)) #@26 Is this an XML document? (defvar sgml-xml-p nil (#$ . 1141)) (make-variable-buffer-local 'sgml-xml-p) #@143 *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) (#$ . -1250)) #@79 OBSOLETE If non-nil, indicate current element in mode line. This may be slow. (defvar sgml-live-element-indicator nil (#$ . 1583)) (defconst sgml-namecase-entity nil) (defvar sgml-entity-insert-case nil) #@83 Explode a colon-separated list of directories PATH into a string list. (fn PATH) (defalias 'sgml-parse-colon-path #[257 "\211\205?\301\302\303\302\304\300!\203\262P\262\305#\211\262\203<U?\2051\306O!C\244\262\211T\262\202\266\204\207" [path-separator ":" nil 0 boundp string-match substitute-in-file-name] 10 (#$ . 1793)]) #@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) (#$ . -2150)) (put 'sgml-system-path 'sgml-type 'file-list) #@810 *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) (#$ . -2399)) (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 (#$ . -3419)) (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) (#$ . -3800)) (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") (#$ . -4188)) (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 (#$ . -4362)) (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)) (#$ . -4626)) #@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 (#$ . -4960)) (byte-code "\300\301\302\303#\210\300\301\304\305#\210\300\306\307\310#\210\300\311\307\310#\207" [put sgml-default-dtd-file sgml-type string sgml-desc "Default (saved) DTD File" sgml-default face underline sgml-fixed] 4) #@953 *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" (#$ . -5394)) (make-variable-buffer-local 'sgml-validate-command) #@55 *The default for `sgml-validate-command' in XML mode. (defvar sgml-xml-validate-command "/bin/sh -c \"SP_CHARSET_FIXED=YES SP_ENCODING=XML nsgmls -wxml -mdeclaration/xml.soc -gues %s %s\"" (#$ . -6466)) #@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 (#$ . 6676)) #@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)) (#$ . 6925)) #@53 *If non-nil, the name of the SGML declaration file. (defvar sgml-declaration nil (#$ . -7303)) (put 'sgml-declaration 'sgml-type 'file-or-nil) #@62 *If non-nil, the name of the SGML declaration for XML files. (defvar sgml-xml-declaration nil (#$ . -7452)) (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 (#$ . 7618)) #@117 *Function to called to show context of and element. Should return a string suitable form printing in the echo area. (defvar sgml-show-context-function 'sgml-show-context-standard (#$ . -7723)) #@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) (#$ . 7922)) #@50 User options that can be saved or set from menu. (defconst sgml-user-options '(sgml-set-face 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) (#$ . 8311)) #@69 The minibuffer history list for `sgml-validate''s COMMAND argument. (defvar sgml-validate-command-history nil (#$ . 9046)) #@28 Displayed in the mode line (defvar sgml-active-dtd-indicator nil (#$ . 9175)) #@12 (fn VAR) (defalias 'sgml-variable-description #[257 "\211\300N\206!\301!\211\302\303O\304\230\203\305\306\307\303\310O#\262\311!\262\207" [sgml-desc symbol-name 0 5 "sgml-" replace-regexp-in-string "-" " " nil capitalize] 8 (#$ . 9259)]) #@12 (fn VAR) (defalias 'sgml-variable-type #[257 "\211\300N\206\211J\301>\205\302\207" [sgml-type (t nil) toggle] 3 (#$ . 9513)]) #@88 Set the value of variable VAR to VAL in buffer and local variables list. (fn VAR VAL) (defalias 'sgml-set-local-variable #[514 "\302!L\210\212\303\211\304ed\305Z]b\210\306\307\310\304#\2033`\212\311\210`){\262\212\312\311!\210`)\313\224{\262\202Pdb\210n\204=\314c\210\315\316 \203G\317\202H\320\321\322\261\210\323y\210\212\306\324\325\"!)\306\324\326#\304#\211\203z`\212\311\210`)|\210\324\327\"\261\202\215b\210\312\311!\210\324\330#\314\261\266\202)\266\202)\207" [case-fold-search sgml-xml-p make-local-variable "" t 3000 search-forward "Local Variables:" nil 1 beginning-of-line 0 10 "\n" -3 format "\n%send:" "\n%s%s:" "%S" "%s:%S"] 11 (#$ . 9651)]) #@12 (fn VAR) (defalias 'sgml-valid-option #[257 "\300!J\301=\203\211;\202!\302=\203 \211;\206!\211:\202!\303\207" [sgml-variable-type string list-or-string t] 5 (#$ . 10458)]) #@64 Save user options for SGML mode that have buffer local values. (defalias 'sgml-save-options #[0 "\211\205\211@\301!\203\302\211J\"\210A\266\202\202\207" [sgml-file-options sgml-valid-option sgml-set-local-variable] 5 (#$ . 10648) nil]) #@19 (fn ENTRY TEXT) (defalias 'sgml-markup #[514 "\300\301\302\303DFB\207" [lambda nil (interactive) sgml-insert-markup] 8 (#$ . 10900)]) #@13 (fn TEXT) (defalias 'sgml-insert-markup #[257 "\300 \301\211\211\203`{\262`|\210`\262;\203 c\210\202$\302!\210`\262b\210\303\304\305#\2036\306\307!\210\211\205<\211c\207" [sgml-mouse-region nil eval search-forward " " t delete-char -1] 9 (#$ . 11044)]) (defalias 'sgml-mouse-region #[0 "\303\211\203 \203\304 \262\305 \262\202/\n\203/p\306\n!=\203/\307\n!\262\310\n!\262\311\n!\210\2036b\210\207" [transient-mark-mode mark-active mouse-secondary-overlay nil region-beginning region-end overlay-buffer overlay-start overlay-end delete-overlay] 5]) #@51 Indent line in proper way for current major mode. (defalias 'sgml-indent-or-tab #[0 "\204\302 \207 \207" [sgml-indent-step indent-line-function insert-tab] 1 (#$ . 11631) nil]) (autoload 'reporter-submit-bug-report "reporter") #@40 Submit via mail a bug report on PSGML. (defalias 'sgml-submit-bug-report #[0 "\301\302!\205&\303\304\305\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\257#\207" [psgml-maintainer-address 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-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] 29 (#$ . 11868) nil]) (defvar sgml-mode-syntax-table (byte-code "\301!\302\303\304#\210\302\305\304#\210\211\207" [text-mode-syntax-table copy-syntax-table modify-syntax-entry 60 "." 62] 5)) #@29 Main keymap for PSGML mode. (defvar sgml-mode-map (byte-code "\300 \300 \300 \301\302#\210\301\303#\210\301\304\305#\210\301\306\307#\210\301\310\311#\210\301\312\313#\210\301\314\315#\210\301\316\317#\210\301\320\321#\210\301\322\323#\210\301\324\325#\210\301\326\327#\210\301\330\331#\210\301\332\333#\210\301\334\335#\210\301\336\337#\210\301\340\341#\210\301\342\343#\210\301\344\345#\210\301\346\347#\210\301\350\351#\210\301\352\353#\210\301\354\355#\210\301\356\357#\210\301\360\361#\210\301\362\363#\210\301\364\365#\210\301\366\367#\210\301\370\371#\210\301\372\373#\210\301\374\375#\210\301\376\377#\210\301\201@\201A#\210\301\201B\201C#\210\301\201D\201E#\210\301\201F\201G#\210\301\201H\201I#\210\301\201J\201K#\210\301\201L\201M#\210\301\201N\201O#\210\301\201P\201Q#\210\301\201R\201S#\210\301\201T\201U#\210\301\201V\201W#\210\301\201X\201Y#\210\301\201Z\201[#\210\301\201\\\201]#\210\301\201^\201_#\210\301\201`\201Y#\210\301\201a\201b#\210\207" [make-sparse-keymap 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 " " sgml-split-element "" sgml-up-element "" sgml-next-trouble-spot "" sgml-load-doctype "" sgml-fill-element "" sgml-tag-region "" sgml-show-structure "" sgml-show-current-element-type "" sgml-unfold-all "" sgml-custom-dtd "" sgml-unfold-element "\f" sgml-unfold-line " " 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 [201326624] [S-mouse-3] sgml-right-menu] 7) (#$ . 12950)) #@11 Main menu (defvar sgml-main-menu nil (#$ . 15279)) (easy-menu-do-define 'sgml-main-menu sgml-mode-map "Main menu" '("SGML" ["Load Doctype" sgml-load-doctype t] ("DTD Info" ["Describe DTD" sgml-describe-dtd 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]) ("Insert DTD" :filter sgml-compute-insert-dtd-items) ("Insert 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" :filter sgml-compute-custom-markup-items) "--" ["Show Context" sgml-show-context t] ["What Element" sgml-what-element t] ["List Valid Tags" sgml-list-valid-tags t] ["Validate" sgml-validate t] ["Show Structure" sgml-show-structure t] "--" ("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]) ("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]) "--" ["Normalize Document" sgml-normalize t] ["Normalize Element" sgml-normalize-element t] ["Expand All Short References" sgml-expand-all-shortrefs (not sgml-xml-p)] ["Expand Entity Reference" sgml-expand-entity-reference 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] "--" ("File Options" "---") ("User Options" "---") ["Reset Buffer" normal-mode t] ["Submit Bug Report" sgml-submit-bug-report t])) #@13 (fn VARS) (defalias 'sgml-options-menu-items #[257 "\300\301\"\207" [mapcar #[257 "\300\301\302!\303!#\304!\211:\203&\305\306\307\310\311\312 !\313\"\314\315%\"B\2020\312\316\317DD\320#\207" [format "%s [%s]" sgml-variable-description sgml-option-value-indicator sgml-variable-type mapcar make-byte-code 257 "\301:\203 @\202\302\303\"\304\300\305:\203A\202DE\306#\207" vconcat vector [vector format "%s" setq quote t] 7 "\n\n(fn C)" sgml-do-set-option quote t] 11 "\n\n(fn VAR)"]] 4 (#$ . 18057)]) #@12 (fn VAR) (defalias 'sgml-option-value-indicator #[257 "\300!J\301=\203\211\203\302\202O\303\202O\304=\2030\211;\203,\211\305G\306^O\202O\307\202O:\204=\211\203=\310\202O:\203N\311\"@\206O\211\202O\307\207" [sgml-variable-type toggle "Yes" "No" string 0 4 "-" "..." rassq] 7 (#$ . 18588)]) (defvar sgml-last-options-menu-values nil) #@23 (fn OLDVALUES VARS) (defalias 'sgml-any-option-changed #[514 "\300\300\301:\203,@\262:\203,@\262J=\211\262\203,A\262A\262\202\211\2051\301\266\205?\207" [nil t] 9 (#$ . 18953)]) #@49 (fn MENUNAME OPTION-VARS &optional SAVE-FUNC) (defalias 'sgml-update-options-menu #[770 "\301\"\211\203\302A\"\205O\30311\304\305\306!\205+\307\310\311\312 \"\313#D\244#0\2027\314\315\"\262\210\211\204E\316B\262\211B\211\211\317\320\"\241\262\207" [sgml-last-options-menu-values assoc sgml-any-option-changed (debug error) easy-menu-change ("SGML") sgml-options-menu-items "---" vector format "Save %s" t message "Error in update menu: %s" nil mapcar symbol-value] 13 (#$ . 19160)]) (defalias 'sgml-update-all-options-menus #[0 "\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]) #@23 (fn &optional MENU) (defalias 'sgml-compute-insert-dtd-items #[256 "\204\301\207\302\303\"\207" [sgml-custom-dtd (["-- No custom entries --" nil :enable nil]) mapcar #[257 "\300@\301A@\302AADE\303#\207" [vector sgml-doctype-insert quote t] 7 "\n\n(fn E)"]] 4 (#$ . 19886)]) #@23 (fn &optional MENU) (defalias 'sgml-compute-custom-markup-items #[256 "\204\301\207\302\303\"\207" [sgml-custom-markup (["-- No custom entries --" nil :enable nil]) mapcar #[257 "\300@\301A@D\302#\207" [vector sgml-insert-markup t] 5 "\n\n(fn E)"]] 4 (#$ . 20175)]) (defvar sgml-auto-activate-dtd-tried nil) (make-variable-buffer-local 'sgml-auto-activate-dtd-tried) #@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 (#$ . 20557)) (byte-code "\300\301!\210\302\211\203\211@\303\304\"\210A\266\202\202\207" [make-variable-buffer-local sgml-buffer-parse-state (sgml-need-dtd sgml-update-display sgml-fontify-buffer sgml-subst-expand sgml-declaration) autoload "psgml-parse"] 5) (defalias 'sgml-command-post #[0 "\2040 \2030\n\2040\303 \304U\2040\305\306!\2030\307\3101)\311 \210\312\304!0\202/\313\314\"\262\210\2056\315 \207" [sgml-buffer-parse-state sgml-auto-activate-dtd sgml-auto-activate-dtd-tried buffer-size 0 looking-at ".*<" t (debug error) sgml-need-dtd sgml-fontify-buffer message "PSGML post command: %S" sgml-update-display] 4]) (defvar sgml-mode-hook nil) (byte-code "\300\301N\204\f\302\300\301\303#\210\304\305!\204\302\305\306\307#\210\300\207" [sgml-mode-hook variable-documentation put "Hook run after entering PSGML mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp sgml-mode-map definition-name sgml-mode] 4) (defvar sgml-mode-map (make-sparse-keymap)) (byte-code "\301\302N\204\303\301\302\304\305!#\210\306\307!\204\303\307\310\311#\210\312\313 !\210\307\302N\204-\303\307\302\304\314!#\210\306\300!\204B\303\300\310\311#\210\315\316\300\317\"\210!\210\300\302N\204P\303\300\302\304\320!#\210\303\311\321\317#\207" [sgml-mode-abbrev-table sgml-mode-map variable-documentation put purecopy "Keymap for `sgml-mode'." boundp sgml-mode-syntax-table definition-name sgml-mode (lambda (#1=#:def-tmp-var) (defvar sgml-mode-syntax-table #1#)) make-syntax-table "Syntax table for `sgml-mode'." (lambda (#1#) (defvar sgml-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `sgml-mode'." derived-mode-parent] 5) #@3427 Major mode for editing SGML. \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} This mode runs the hook `sgml-mode-hook', as the final or penultimate step during initialization. (defalias 'sgml-mode #[0 "\306\300!\210\307\310 \210\311\312\313 !\210\314\f!\210 -\315.\306\316!\210/\203(\317\202)\320\306\321!\210\314\f!\210\306\322!\210\323\306\324!\210\325\306\326!\210\327\306\330!\210\331\306\332!\210\333\306\334!\210\334 \211\203p\335!\204p\3150\203~\306\336!\210\337\336\340\"\210\341\342\343\344\345$\210\341\346\347\315\345$\210\341\350\351\315\307$\210\3521!\210)\353\354!\207" [delay-mode-hooks major-mode mode-name sgml-mode-map sgml-mode-syntax-table sgml-mode-abbrev-table make-local-variable t kill-all-local-variables sgml-mode "PSGML" use-local-map set-syntax-table nil paragraph-separate "^[ \n]*$\\|^[ ]*$" "^[ \n]*$\\|^[ ]*$" paragraph-start comment-start "" comment-indent-function sgml-comment-indent comment-start-skip "