;ELC   
;;; Compiled by rms@psilocin.gnu.org on Sun Apr 26 21:58:54 1998
;;; from file /gd/gnu/emacs/lisp/textmodes/outline.el
;;; in Emacs version 20.2.92.2
;;; with bytecomp version 2.41
;;; with all optimizations.
;;; This file uses opcodes which do not exist in Emacs 18.

(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 "`outline.el' was compiled for Emacs 19.29 or later"))


(custom-declare-group 'outlines nil "Support for hierarchical outlining" :prefix "outline-" :group 'editing)
#@266 *Regular expression to match the beginning of a heading.
Any line whose beginning matches this regexp is considered to start a heading.
The recommended way to set this is with a Local Variables: list
in the file it applies to.  See also outline-heading-end-regexp.
(custom-declare-variable 'outline-regexp 'nil '(#$ . -649) :type '(choice regexp (const nil)) :group 'outlines)
(byte-code "\300\301!\204 \302\301\303\"\210\300\207" [default-value outline-regexp set-default "[*\f]+"] 3)
#@286 *Regular expression to match the end of a heading line.
You can assume that point is at the beginning of a heading when this
regexp is searched for.  The heading ends at the end of the match.
The recommended way to set this is with a `Local Variables:' list
in the file it applies to.
(custom-declare-variable 'outline-heading-end-regexp '"\n" '(#$ . -1143) :type 'regexp :group 'outlines)
(byte-code "\303\300!\204 \304\300	B\204y \305 \306\307\310#\210\306\311\312#\210\306\313\314#\210\306\315\316#\210\306\317\320#\210\306\321\322#\210\306\323\324#\210\306\325\326#\210\306\327\330#\210\306\331\332#\210\306\333\334#\210\306\335\336#\210\306\337\340#\210\306\341\342#\210\306\343\344#\210\306\345\346#\210\306\347\350#\210\303\302!\204\201 \304\302	B\n\204*\305 \306\n\351\352\305\352!B#\210\306\n\353\354#\210\306\n\355\356#\210\306\n\357\360#\210\306\n\361\362#\210\306\n\363\364#\210\306\n\365\366#\210\306\n\367\370\305\370!B#\210\306\n\371\372#\210\306\n\373\374#\210\306\n\375\376#\210\306\n\377\201@ #\210\306\n\201A \201B #\210\306\n\201C \201D \305\201D !B#\210\306\n\201E \201F #\210\306\n\201G \201H #\210\306\n\201I \201J #\210\306\n\201K \201L #\210\306\n\201M \201N #\210\304\207" [outline-mode-prefix-map current-load-list outline-mode-menu-bar-map boundp nil make-sparse-keymap define-key "@" outline-mark-subtree "" outline-next-visible-heading "" outline-previous-visible-heading "	" show-children "" show-subtree "" hide-subtree "" outline-up-heading "" outline-forward-same-level "" outline-backward-same-level "" hide-body "" show-all "" hide-entry "" show-entry "\f" hide-leaves "" show-branches "" hide-sublevels "" hide-other [hide] "Hide" [hide hide-other] ("Hide Other" . hide-other) [hide hide-sublevels] ("Hide Sublevels" . hide-sublevels) [hide hide-subtree] ("Hide Subtree" . hide-subtree) [hide hide-entry] ("Hide Entry" . hide-entry) [hide hide-body] ("Hide Body" . hide-body) [hide hide-leaves] ("Hide Leaves" . hide-leaves) [show] "Show" [show show-subtree] ("Show Subtree" . show-subtree) [show show-children] ("Show Children" . show-children) [show show-branches] ("Show Branches" . show-branches) [show show-entry] ("Show Entry" . show-entry) [show show-all] ("Show All" . show-all) [headings] "Headings" [headings outline-backward-same-level] ("Previous Same Level" . outline-backward-same-level) [headings outline-forward-same-level] ("Next Same Level" . outline-forward-same-level) [headings outline-previous-visible-heading] ("Previous" . outline-previous-visible-heading) [headings outline-next-visible-heading] ("Next" . outline-next-visible-heading) [headings outline-up-heading] ("Up" . outline-up-heading)] 6)
#@2 
(defvar outline-mode-map nil (#$ . 3848))
(byte-code "\204 \304 	\244\305\306\n#\210\305\307#\210\304\207" [outline-mode-map text-mode-map outline-mode-prefix-map outline-mode-menu-bar-map make-sparse-keymap define-key "" [menu-bar]] 4)
#@67 Non-nil if using Outline mode as a minor mode of some other mode.
(custom-declare-variable 'outline-minor-mode 'nil '(#$ . 4099) :type 'boolean :group 'outlines)
(byte-code "\301\302!\210\302\236\204 \303\304C\"\301\207" [minor-mode-alist make-variable-buffer-local outline-minor-mode append (outline-minor-mode " Outl")] 3)
#@54 Additional expressions to highlight in Outline mode.
(defvar outline-font-lock-keywords '((eval list (concat "^" outline-regexp ".+") 0 '(or (cdr (assq (outline-font-lock-level) '((1 . font-lock-function-name-face) (2 . font-lock-variable-name-face) (3 . font-lock-keyword-face) (4 . font-lock-builtin-face) (5 . font-lock-comment-face) (6 . font-lock-constant-face) (7 . font-lock-type-face) (8 . font-lock-string-face)))) font-lock-warning-face) nil t)) (#$ . 4434))
(defalias 'outline-font-lock-level #[nil "\301\212\302 \210\303\304\305\217\210))\207" [count 1 outline-back-to-heading nil (byte-code "o\204 \301\302!\210T\202  \301\207" [count outline-up-heading 1] 2) ((error))] 3])
#@57 Normal hook to be run after outline visibility changes.
(defvar outline-view-change-hook nil (#$ . 5133))
#@2061 Set major mode for editing outlines with selective display.
Headings are lines which start with asterisks: one for major headings,
two for subheadings, etc.  Lines not starting with asterisks are body lines.

Body text or subheadings under a heading can be made temporarily
invisible, or visible again.  Invisible lines are attached to the end
of the heading, so they move with it, if the line is killed and yanked
back.  A heading with text hidden under it is marked with an ellipsis (...).

Commands:\<outline-mode-map>
\[outline-next-visible-heading]   outline-next-visible-heading      move by visible headings
\[outline-previous-visible-heading]   outline-previous-visible-heading
\[outline-forward-same-level]   outline-forward-same-level        similar but skip subheadings
\[outline-backward-same-level]   outline-backward-same-level
\[outline-up-heading]   outline-up-heading		    move from subheading to heading

\[hide-body]	make all text invisible (not headings).
\[show-all]	make everything in buffer visible.

The remaining commands are used when point is on a heading line.
They apply to some of the body or subheadings of that heading.
\[hide-subtree]   hide-subtree	make body and subheadings invisible.
\[show-subtree]   show-subtree	make body and subheadings visible.
\[show-children]   show-children	make direct subheadings visible.
		 No effect on body, or subheadings 2 or more levels down.
		 With arg N, affects subheadings N levels down.
\[hide-entry]	   make immediately following body invisible.
\[show-entry]	   make it visible.
\[hide-leaves]	   make body under heading and under its subheadings invisible.
		     The subheadings remain visible.
\[show-branches]  make all subheadings at all levels visible.

The variable `outline-regexp' can be changed to control what is a heading.
A line is a heading if `outline-regexp' matches something at the
beginning of the line.  The longer the match, the deeper the level.

Turning on outline mode calls the value of `text-mode-hook' and then of
`outline-mode-hook', if they are non-nil.
(defalias 'outline-mode #[nil "\306 \210\307!\210\310\311\312\303\313\"\210\314!\210\315\316!\210\317\320\321!\210\315\322!\210\323\324R\315\325!\210\315\326!\210\323\324R\315\327!\210\330\315\331!\210\332\331\333\"\210\334\335\336\"\207" [outline-mode-map mode-name major-mode text-mode-abbrev-table local-abbrev-table text-mode-syntax-table kill-all-local-variables use-local-map "Outline" outline-mode define-abbrev-table nil set-syntax-table make-local-variable line-move-ignore-invisible t add-to-invisibility-spec (outline . t) paragraph-start "\\|\\(" "\\)" auto-fill-inhibit-regexp paragraph-separate font-lock-defaults (outline-font-lock-keywords t) change-major-mode-hook add-hook show-all run-hooks text-mode-hook outline-mode-hook outline-regexp] 4 (#$ . 5247) nil])
#@202 *Prefix key to use for Outline commands in Outline minor mode.
The value of this variable is checked as part of loading Outline mode.
After that, changing the prefix key requires manipulating keymaps.
(custom-declare-variable 'outline-minor-mode-prefix '"@" '(#$ . -8119) :type 'string :group 'outlines)
(byte-code "\306\300!\204 \307\300	B\204 \310 \311\312\n#\210\311\f#\210\313\236\204+ \313BB\307\207" [outline-minor-mode-map current-load-list outline-mode-menu-bar-map outline-minor-mode-prefix outline-mode-prefix-map minor-mode-map-alist boundp nil make-sparse-keymap define-key [menu-bar] outline-minor-mode] 4)
#@166 Toggle Outline minor mode.
With arg, turn Outline minor mode on if arg is positive, off otherwise.
See the command `outline-mode' for more information on this mode.
(defalias 'outline-minor-mode #[(&optional arg) "\204	 	?\202 \303!\304V\211\203/ \305\306!\210\307\306\310\311\312$\210\313\302!\210\312\314\315!\210\316\317!\210\2025 \311\320\321!\210	\204< \322 \210\323 \207" [arg outline-minor-mode line-move-ignore-invisible prefix-numeric-value 0 make-local-hook change-major-mode-hook add-hook (lambda nil (outline-minor-mode -1)) nil t make-local-variable add-to-invisibility-spec (outline . t) run-hooks outline-minor-mode-hook remove-from-invisibility-spec (outline . t) show-all force-mode-line-update] 6 (#$ . 8760) "P"])
#@131 *Function of no args to compute a header's nesting level in an outline.
It can assume point is at the beginning of a header line.
(custom-declare-variable 'outline-level ''outline-level '(#$ . -9506) :type 'function :group 'outlines)
#@188 Return the depth to which a statement is nested in the outline.
Point must be at the beginning of a header line.  This is actually
the number of characters that `outline-regexp' matches.
(defalias 'outline-level #[nil "\212\301!\210\302\225\302\224Z)\207" [outline-regexp looking-at 0] 2 (#$ . 9747)])
#@140 Skip forward to just before the next heading line.
If there's no following heading line, stop before the newline
at the end of the buffer.
(defalias 'outline-next-preface #[nil "\301\302\303Q\304\305#\203 \306\224b\210n\205 o?\205 \307u\207" [outline-regexp re-search-forward "\n\\(" "\\)" nil move 0 -1] 4 (#$ . 10057)])
#@53 Move to the next (possibly invisible) heading line.
(defalias 'outline-next-heading #[nil "\301\302\303Q\304\305#\205 \306\224Tb\207" [outline-regexp re-search-forward "\n\\(" "\\)" nil move 0] 4 (#$ . 10389) nil])
#@50 Non-nil if the character after point is visible.
(defalias 'outline-visible #[nil "\300`\301\"?\207" [get-char-property invisible] 3 (#$ . 10612)])
(put 'outline-visible 'byte-optimizer 'byte-compile-inline-expand)
#@146 Move to previous heading line, or beg of this line if it's a heading.
Only visible heading lines are considered, unless INVISIBLE-OK is non-nil.
(defalias 'outline-back-to-heading #[(&optional invisible-ok) "\303y\210\304\305!\2067 \306\212\2041 \307\310	\311Q\306\305#\204 \312\313!\210\n\204+ \314`\315\"?\205, `\211\203 )b\210)\207" [found outline-regexp invisible-ok 0 outline-on-heading-p t nil re-search-backward "^\\(" "\\)" error "before first heading" get-char-property invisible] 5 (#$ . 10834)])
#@116 Return t if point is on a (visible) heading line.
If INVISIBLE-OK is non-nil, an invisible heading line is ok too.
(defalias 'outline-on-heading-p #[(&optional invisible-ok) "\212\302y\210n\205 \204 \303`\304\"?\205 \305	!)\207" [invisible-ok outline-regexp 0 get-char-property invisible looking-at] 3 (#$ . 11355)])
(defalias 'outline-end-of-heading #[nil "\301\302\303#\205\n \304u\207" [outline-heading-end-regexp re-search-forward nil move -1] 4])
#@178 Move to the next visible heading line.
With argument, repeats or can move backward if negative.
A heading line is one that starts with a `*' (or that
`outline-regexp' matches).
(defalias 'outline-next-visible-heading #[(arg) "\302W\203\f \302y\210\202 \303\210o\2045 \302W\2035 o\204/ \304\305	\306Q\303\307#\203/ \310`\311\"\204 T\202 m\204[ \302V\203[ m\204U \312\305	\306Q\303\307#\203U \310`\311\"\204? S\2025 \302y\210\303\207" [arg outline-regexp 0 nil re-search-backward "^\\(" "\\)" move get-char-property invisible re-search-forward] 4 (#$ . 11819) "p"])
#@173 Move to the previous heading line.
With argument, repeats or can move forward if negative.
A heading line is one that starts with a `*' (or that
`outline-regexp' matches).
(defalias 'outline-previous-visible-heading #[(arg) "\301[!\207" [arg outline-next-visible-heading] 2 (#$ . 12401) "p"])
#@125 Mark the current subtree in an outlined document.
This puts point at the start of the current subtree, and mark at the end.
(defalias 'outline-mark-subtree #[nil "\301\302 \203 \303y\210\202 \304\305!\210`\306 \210\307`!\210b)\207" [beg nil outline-on-heading-p 0 outline-previous-visible-heading 1 outline-end-of-subtree push-mark] 2 (#$ . 12702) nil])
#@132 Hides or shows lines from FROM to TO, according to FLAG.
If FLAG is nil then text is shown, while if FLAG is t the text is hidden.
(defalias 'outline-flag-region #[(from to flag) "\305\212	b\210\306\210\307`\n\310#\210\203% \311`\n\"\312\f\313\310#\210\312\f\314\315#\210)*\316\317!\207" [inhibit-read-only from to flag o t nil outline-discard-overlays outline make-overlay overlay-put invisible isearch-open-invisible outline-isearch-open-invisible run-hooks outline-view-change-hook] 4 (#$ . 13068)])
(defalias 'outline-isearch-open-invisible #[(overlay) "\212\301!b\210\302 )\207" [overlay overlay-start show-entry] 2])
(defalias 'outline-discard-overlays #[(beg end prop) "	W\203\n 	\212\306	\"\307\211\211\205u \f@\310\311\"=\203m \312!	W\203V \313!V\203K \314!\315\n\312\n!	#\210\315\313!#\210\202m \315\312!	#\210\202m \313!V\203i \315\313!#\210\202m \316!\210\fA\211\204 \307,\207" [end beg o1 o overlays prop overlays-in nil overlay-get invisible overlay-start overlay-end outline-copy-overlay move-overlay delete-overlay] 6])
(defalias 'outline-copy-overlay #[(o) "\303\304!\305!\306!#\307!	\203% \310\n	@	A@#\210	AA\211\204 \n*\207" [o props o1 make-overlay overlay-start overlay-end overlay-buffer overlay-properties overlay-put] 6])
#@48 Hide the body directly following this heading.
(defalias 'hide-entry #[nil "\300 \210\301 \210\212\302`\303 \210`\304#)\207" [outline-back-to-heading outline-end-of-heading outline-flag-region outline-next-preface t] 4 (#$ . 14362) nil])
#@100 Show the body directly following this heading.
Show the heading too, if it is currently invisible.
(defalias 'show-entry #[nil "\212\300\301!\210\302`S\303 \210`\304#)\207" [outline-back-to-heading t outline-flag-region outline-next-preface nil] 4 (#$ . 14607) nil])
#@37 Hide all of buffer except headings.
(defalias 'hide-body #[nil "\300ed\"\207" [hide-region-body] 3 (#$ . 14880) nil])
#@54 Hide all body lines in the region, but not headings.
(defalias 'hide-region-body #[(start end) "\212\214	}\210eb\210\302 \203 \303 \210m?\2056 \304`\305 \210`\306#\210m\204 \307\310!\203- \311\202. \312u\210\303 \210\202 *\207" [start end outline-on-heading-p outline-end-of-heading outline-flag-region outline-next-preface t looking-at "\n\n" 2 1] 4 (#$ . 15004)])
#@37 Show all of the text in the buffer.
(defalias 'show-all #[nil "\300ed\301#\207" [outline-flag-region nil] 4 (#$ . 15380) nil])
#@54 Hide everything after this heading at deeper levels.
(defalias 'hide-subtree #[nil "\300\301!\207" [outline-flag-subtree t] 2 (#$ . 15513) nil])
#@52 Hide all body after this heading at deeper levels.
(defalias 'hide-leaves #[nil "\300 \210\301 \210\302`\303 \210`\"\207" [outline-back-to-heading outline-end-of-heading hide-region-body outline-end-of-subtree] 3 (#$ . 15664) nil])
#@54 Show everything after this heading at deeper levels.
(defalias 'show-subtree #[nil "\300\301!\207" [outline-flag-subtree nil] 2 (#$ . 15902) nil])
#@72 Hide everything but the top LEVELS levels of headers, in whole buffer.
(defalias 'hide-sublevels #[(levels) "\302W\203\n \303\304!\210S\212eb\210o\203 \305 \204 \306 \205= \212\307 \210`)\310`	\311#\210\312V\2036 \313!\210	b\210)\202 )\207" [levels end 1 error "Must keep at least one level of headers" outline-on-heading-p outline-next-heading outline-end-of-subtree outline-flag-region t 0 show-children] 4 (#$ . 16055) "p"])
#@72 Hide everything except current body and parent and top-level headings.
(defalias 'hide-other #[nil "\300\301!\210\212\302\303!\210\304 \210\305\306\307\217\205\" \310`S\212\301y\210`)\305#\210\202\f )\207" [hide-sublevels 1 outline-back-to-heading t show-entry nil (byte-code "\300\301!\210\302\207" [outline-up-heading 1 t] 2) ((error)) outline-flag-region] 4 (#$ . 16498) nil])
(defalias 'outline-flag-subtree #[(flag) "\212\301 \210\302 \210\303`\304 \210`#)\207" [flag outline-back-to-heading outline-end-of-heading outline-flag-region outline-end-of-subtree] 4])
(defalias 'outline-end-of-subtree #[nil "\304 \210`\305 m\204! \n\204  	V\203! \306\307 \210\202\n n\205. \310u\210n\205. \310u+\207" [outline-level level first opoint outline-back-to-heading t nil outline-next-heading -1] 3])
#@61 Show all subheadings of this heading, but not their bodies.
(defalias 'show-branches #[nil "\300\301!\207" [show-children 1000] 2 (#$ . 17307) nil])
#@183 Show all direct subheadings of this heading.
Prefix arg LEVEL is how many levels below the current level should be shown.
Default is enough to cause the following heading to appear.
(defalias 'show-children #[(&optional level) "\203\n \303!\202# \212\304 \210	 \305 \210m\203 \306\202\" \306	 \nZ]*\212\214\304 \210	 \\`\307 \210m\203: d\202< `T}\210eb\210m?\205o \305 \210m?\205o 	 X\203A \212\310\212\311u\210n\203b \311u\210`)\312 \210`\313#\210)\202A *\207" [level outline-level start-level prefix-numeric-value outline-back-to-heading outline-next-heading 1 outline-end-of-subtree outline-flag-region -1 outline-end-of-heading nil] 4 (#$ . 17463) "P"])
#@104 Move to the heading line of which the present line is a subheading.
With argument, move up ARG levels.
(defalias 'outline-up-heading #[(arg) "\303 \210 \304=\203 \305\306!\210 \304V\205< 	\307V\205< o?\205<   \nW\2045 o\2045 \310\304!\210\202# 	S)\202 \207" [outline-level arg present-level outline-back-to-heading 1 error "Already at top level of the outline" 0 outline-previous-visible-heading] 2 (#$ . 18136) "p"])
#@128 Move forward to the ARG'th subheading at same level as this one.
Stop at the first and last subheadings of a superior heading.
(defalias 'outline-forward-same-level #[(arg) "\302 \210\303V\205% \212\304 )\211\203 	b\210S\202! \303\305\306!\210)\202 \207" [arg point-to-move-to outline-back-to-heading 0 outline-get-next-sibling error "No following same-level heading"] 3 (#$ . 18569) "p"])
#@74 Move to next heading of the same level, and return point or nil if none.
(defalias 'outline-get-next-sibling #[nil " \302\303!\210 	V\203 m\204 \302\303!\210\202  	W?\205\" `)\207" [outline-level level outline-next-visible-heading 1] 2 (#$ . 18972)])
#@129 Move backward to the ARG'th subheading at same level as this one.
Stop at the first and last subheadings of a superior heading.
(defalias 'outline-backward-same-level #[(arg) "\302 \210\303V\205% \212\304 )\211\203 	b\210S\202! \303\305\306!\210)\202 \207" [arg point-to-move-to outline-back-to-heading 0 outline-get-last-sibling error "No previous same-level heading"] 3 (#$ . 19237) "p"])
#@74 Move to next heading of the same level, and return point or nil if none.
(defalias 'outline-get-last-sibling #[nil " \302\303!\210 	V\203 o\204 \302\303!\210\202  	W?\205\" `)\207" [outline-level level outline-previous-visible-heading 1] 2 (#$ . 19641)])
(byte-code "\300\301!\210\300\302!\207" [provide outline noutline] 2)
