?
Current Path : /usr/share/emacs/24.3/lisp/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/outline.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:26 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/outline.el ;;; in Emacs version 24.3.1 ;;; 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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\314\315\306\301&\210\310\316\317\320\314\315\306\301&\207" [custom-declare-group outlines nil "Support for hierarchical outlining." :prefix "outline-" :group wp custom-declare-variable outline-regexp "[*\f]+" "Regular expression to match the beginning of a heading.\nAny line whose beginning matches this regexp is considered to start a heading.\nNote that Outline mode only checks this regexp at the start of a line,\nso the regexp need not (and usually does not) start with `^'.\nThe recommended way to set this is with a Local Variables: list\nin the file it applies to. See also `outline-heading-end-regexp'." :type regexp outline-heading-end-regexp "\n" "Regular expression to match the end of a heading line.\nYou can assume that point is at the beginning of a heading when this\nregexp is searched for. The heading ends at the end of the match.\nThe recommended way to set this is with a `Local Variables:' list\nin the file it applies to."] 8) (defvar outline-mode-prefix-map (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\302\321\322#\210\302\323\324#\210\302\325\326#\210\302\327\330#\210\302\331\332#\210\302\333\334#\210\302\335\336#\210\302\337\340#\210\302\341\342#\210\302\343\344#\210\302\345\346#\210\302\347\350#\210\302\351\352#\210\302\353\354#\210\302\355\356#\210)\207" [map 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 "" outline-move-subtree-up "" outline-move-subtree-down [(control 60)] outline-promote [(control 62)] outline-demote " " outline-insert-heading] 4)) (defvar outline-mode-menu-bar-map (byte-code "\301 \302\303\304\301\304!B#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\302\321\322\301\322!B#\210\302\323\324#\210\302\325\326#\210\302\327\330#\210\302\331\332#\210\302\333\334#\210\302\335\336\301\336!B#\210\302\337\340#\210\302\341\342#\210\302\343\344#\210\302\345\346#\210\302\347\350#\210\302\351\352#\210\302\353\354#\210\302\355\356#\210\302\357\360#\210\302\361\362#\210\302\363\364#\210)\207" [map make-sparse-keymap define-key [hide] "Hide" [hide hide-other] (menu-item "Hide Other" hide-other :help "Hide everything except current body and parent and top-level headings") [hide hide-sublevels] (menu-item "Hide Sublevels" hide-sublevels :help "Hide everything but the top LEVELS levels of headers, in whole buffer") [hide hide-subtree] (menu-item "Hide Subtree" hide-subtree :help "Hide everything after this heading at deeper levels") [hide hide-entry] (menu-item "Hide Entry" hide-entry :help "Hide the body directly following this heading") [hide hide-body] (menu-item "Hide Body" hide-body :help "Hide all body lines in buffer, leaving all headings visible") [hide hide-leaves] (menu-item "Hide Leaves" hide-leaves :help "Hide the body after this heading and at deeper levels") [show] "Show" [show show-subtree] (menu-item "Show Subtree" show-subtree :help "Show everything after this heading at deeper levels") [show show-children] (menu-item "Show Children" show-children :help "Show all direct subheadings of this heading") [show show-branches] (menu-item "Show Branches" show-branches :help "Show all subheadings of this heading, but not their bodies") [show show-entry] (menu-item "Show Entry" show-entry :help "Show the body directly following this heading") [show show-all] (menu-item "Show All" show-all :help "Show all of the text in the buffer") [headings] "Headings" [headings demote-subtree] (menu-item "Demote Subtree" outline-demote :help "Demote headings lower down the tree") [headings promote-subtree] (menu-item "Promote Subtree" outline-promote :help "Promote headings higher up the tree") [headings move-subtree-down] (menu-item "Move Subtree Down" outline-move-subtree-down :help "Move the current subtree down past arg headlines of the same level") [headings move-subtree-up] (menu-item "Move Subtree Up" outline-move-subtree-up :help "Move the current subtree up past arg headlines of the same level") [headings copy] (menu-item "Copy to Kill Ring" outline-headers-as-kill :enable mark-active :help "Save the visible outline headers in region at the start of the kill ring") [headings outline-insert-heading] (menu-item "New Heading" outline-insert-heading :help "Insert a new heading at same depth at point") [headings outline-backward-same-level] (menu-item "Previous Same Level" outline-backward-same-level :help "Move backward to the arg'th subheading at same level as this one.") [headings outline-forward-same-level] (menu-item "Next Same Level" outline-forward-same-level :help "Move forward to the arg'th subheading at same level as this one") [headings outline-previous-visible-heading] (menu-item "Previous" outline-previous-visible-heading :help "Move to the previous heading line") [headings outline-next-visible-heading] (menu-item "Next" outline-next-visible-heading :help "Move to the next visible heading line") [headings outline-up-heading] (menu-item "Up" outline-up-heading :help "Move to the visible heading line of which the present line is a subheading")] 6)) (defvar outline-minor-mode-menu-bar-map (byte-code "\302 \303\304\305\302\305!\306\307\310\311 \"\"A\244B#\210)\207" [map outline-mode-menu-bar-map make-sparse-keymap define-key [outline] "Outline" apply append mapcar #[(x) ":\205 \301AB\207" [x (--- "---")] 2]] 10)) (defvar outline-mode-map (byte-code "\303 \304\305 #\210\304\306\n#\210)\207" [map outline-mode-prefix-map outline-mode-menu-bar-map make-sparse-keymap define-key "" [menu-bar]] 4)) #@54 Additional expressions to highlight in Outline mode. (defvar outline-font-lock-keywords '((eval list (concat "^\\(?:" outline-regexp "\\).+") 0 '(outline-font-lock-face) nil t)) (#$ . 6591)) (byte-code "\300\301\302\303\304\305%\210\300\306\307\310\304\305%\210\300\311\312\313\304\305%\210\300\314\315\316\304\305%\210\300\317\320\321\304\305%\210\300\322\323\324\304\305%\210\300\325\326\327\304\305%\210\300\330\331\332\304\305%\207" [custom-declare-face outline-1 ((t :inherit font-lock-function-name-face)) "Level 1." :group outlines outline-2 ((t :inherit font-lock-variable-name-face)) "Level 2." outline-3 ((t :inherit font-lock-keyword-face)) "Level 3." outline-4 ((t :inherit font-lock-comment-face)) "Level 4." outline-5 ((t :inherit font-lock-type-face)) "Level 5." outline-6 ((t :inherit font-lock-constant-face)) "Level 6." outline-7 ((t :inherit font-lock-builtin-face)) "Level 7." outline-8 ((t :inherit font-lock-string-face)) "Level 8."] 6) (defvar outline-font-lock-faces [outline-1 outline-2 outline-3 outline-4 outline-5 outline-6 outline-7 outline-8]) (defalias 'outline-font-lock-face #[nil "\212\303\224b\210\304!\210 \n S G\246H)\207" [outline-regexp outline-font-lock-faces outline-level 0 looking-at] 3]) #@57 Normal hook to be run after outline visibility changes. (defvar outline-view-change-hook nil (#$ . 7830)) #@44 This hook is run when outline mode starts. (defvar outline-mode-hook nil (#$ . 7942)) #@60 Non-nil means to leave unhidden blank line before heading. (defvar outline-blank-line nil (#$ . 8034)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\305\306!\204 \302\306\307\310#\210\300\207" [outline-mode-hook variable-documentation put purecopy "Hook run when entering Outline mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp outline-mode-map definition-name outline-mode] 5) (defvar outline-mode-map (make-sparse-keymap)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\305\306!\204 \302\306\307\310#\210\300\207" [outline-mode-map variable-documentation put purecopy "Keymap for `outline-mode'." boundp outline-mode-syntax-table definition-name outline-mode] 5) (defvar outline-mode-syntax-table (make-syntax-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [outline-mode-syntax-table variable-documentation put purecopy "Syntax table for `outline-mode'." outline-mode-abbrev-table definition-name outline-mode] 5) (defvar outline-mode-abbrev-table (progn (define-abbrev-table 'outline-mode-abbrev-table nil) outline-mode-abbrev-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [outline-mode-abbrev-table variable-documentation put purecopy "Abbrev table for `outline-mode'." outline-mode derived-mode-parent text-mode] 5) #@2129 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. \[hide-sublevels] make only the first N levels of headers 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\300!\210\307\310 \210\311\312\310\313N\203 \314\311\313\310\313N#\210\315!\204' \316\317 \"\210\320\f!\211\2036 \321 =\203<