| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(custom-declare-group 'outlines nil "Support for hierarchical outlining." :prefix "outline-" :group 'text)
#@400 Regular expression to match the beginning of a heading.
Any line whose beginning matches this regexp is considered to start a heading.
Note that Outline mode only checks this regexp at the start of a line,
so the regexp need not (and usually does not) start with `^'.
The recommended way to set this is with a Local Variables: list
in the file it applies to. See also `outline-heading-end-regexp'.
(defvar outline-regexp "[*\f]+" (#$ . 192))
#@285 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.
(defvar outline-heading-end-regexp "\n" (#$ . 642))
(defvar outline-mode-prefix-map (byte-code "\300 \301\302\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\207" [make-sparse-keymap define-key "@" outline-mark-subtree "" outline-next-visible-heading "" outline-previous-visible-heading " " outline-show-children "" outline-show-subtree "" outline-hide-subtree "" outline-up-heading "" outline-forward-same-level "" outline-backward-same-level "" outline-hide-body "" outline-show-all "" outline-hide-entry "" outline-show-entry "\f" outline-hide-leaves "" outline-show-branches "" outline-hide-sublevels "" outline-hide-other "" outline-move-subtree-up "" outline-move-subtree-down [(control 60)] outline-promote [(control 62)] outline-demote "
" outline-insert-heading] 5))
(defvar outline-mode-menu-bar-map (byte-code "\300 \301\302\303\300\303!B#\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\300\321!B#\210\301\322\323#\210\301\324\325#\210\301\326\327#\210\301\330\331#\210\301\332\333#\210\301\334\335\300\335!B#\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\207" [make-sparse-keymap define-key [hide] "Hide" [hide outline-hide-other] (menu-item "Hide Other" outline-hide-other :help "Hide everything except current body and parent and top-level headings") [hide outline-hide-sublevels] (menu-item "Hide Sublevels" outline-hide-sublevels :help "Hide everything but the top LEVELS levels of headers, in whole buffer") [hide outline-hide-subtree] (menu-item "Hide Subtree" outline-hide-subtree :help "Hide everything after this heading at deeper levels") [hide outline-hide-entry] (menu-item "Hide Entry" outline-hide-entry :help "Hide the body directly following this heading") [hide outline-hide-body] (menu-item "Hide Body" outline-hide-body :help "Hide all body lines in buffer, leaving all headings visible") [hide outline-hide-leaves] (menu-item "Hide Leaves" outline-hide-leaves :help "Hide the body after this heading and at deeper levels") [show] "Show" [show outline-show-subtree] (menu-item "Show Subtree" outline-show-subtree :help "Show everything after this heading at deeper levels") [show outline-show-children] (menu-item "Show Children" outline-show-children :help "Show all direct subheadings of this heading") [show outline-show-branches] (menu-item "Show Branches" outline-show-branches :help "Show all subheadings of this heading, but not their bodies") [show outline-show-entry] (menu-item "Show Entry" outline-show-entry :help "Show the body directly following this heading") [show outline-show-all] (menu-item "Show All" outline-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")] 7))
(defvar outline-minor-mode-menu-bar-map (byte-code "\301 \302\303\304\301\304!\305\306\307\310\"\"A\244B#\210\207" [outline-mode-menu-bar-map make-sparse-keymap define-key [outline] "Outline" apply append mapcar #[257 "\211:\205 \300AB\207" [(--- "---")] 3 "\n\n(fn X)"]] 11))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable outline-minor-mode-cycle-filter funcall function #[0 "\300\207" [nil] 1 ""] "Control where on a heading the visibility-cycling commands are bound to keys.\nThis option controls, in Outline minor mode, where on a heading typing\nthe key sequences bound to visibility-cycling commands like `outline-cycle'\nand `outline-cycle-buffer' will invoke those commands. By default, you can\ninvoke these commands by typing `TAB' and `S-TAB' anywhere on a heading line,\nbut customizing this option can make those bindings be in effect only at\nspecific positions on the heading, like only at the line's beginning or\nline's end. This allows these keys to be bound to their usual commands,\nas determined by the major mode, elsewhere on the heading lines.\nThis option is only in effect when `outline-minor-mode-cycle' is non-nil." :type (choice (const :tag "Everywhere" nil) (const :tag "At line beginning" bolp) (const :tag "Not at line beginning" (lambda nil (not (bolp)))) (const :tag "At line end" eolp) (function :tag "Custom filter function")) :version "28.1"] 8)
#@41
(fn MAP KEY BINDING &optional FILTER)
(defalias 'outline-minor-mode-cycle--bind #[1027 "\300\301\302\303\206 \304\257#\207" [define-key menu-item "" :filter #[257 "\301!\203 \205\f \211\207" [outline-minor-mode-cycle-filter functionp] 3 "\n\n(fn CMD)"]] 12 (#$ . 7221)])
#@44 Keymap used by `outline-minor-mode-cycle'.
(defvar outline-minor-mode-cycle-map (byte-code "\300 \301\302\303#\210\301\304\305#\210\207" [make-sparse-keymap outline-minor-mode-cycle--bind " " outline-cycle [backtab] outline-cycle-buffer] 5) (#$ . 7512))
(defvar outline-mode-map (byte-code "\302 \303\304#\210\303\305 #\210\303\306\307\310\311\312\313\257#\210\303\314\315#\210\207" [outline-mode-prefix-map outline-mode-menu-bar-map make-sparse-keymap define-key "" [menu-bar] " " menu-item "" outline-cycle :filter #[257 "\300 \205 \211\207" [outline-on-heading-p] 2 "\n\n(fn CMD)"] [backtab] outline-cycle-buffer] 9))
#@54 Additional expressions to highlight in Outline mode.
(defvar outline-font-lock-keywords '((eval list (concat "^\\(?:" outline-regexp "\\).+") 0 '(if outline-minor-mode (if outline-minor-mode-cycle (if outline-minor-mode-highlight (list 'face (outline-font-lock-face) 'keymap outline-minor-mode-cycle-map) (list 'face nil 'keymap outline-minor-mode-cycle-map)) (if outline-minor-mode-highlight (list 'face (outline-font-lock-face)))) (outline-font-lock-face)) (when outline-minor-mode (pcase outline-minor-mode-highlight ('override t) ('append 'append))) t)) (#$ . 8149))
(byte-code "\300\301\302\303#\210\300\304\305\306#\210\300\307\310\311#\210\300\312\313\314#\210\300\315\316\317#\210\300\320\321\322#\210\300\323\324\325#\210\300\326\327\330#\207" [custom-declare-face outline-1 ((t :inherit font-lock-function-name-face)) "Level 1." 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."] 4)
(defvar outline-font-lock-faces [outline-1 outline-2 outline-3 outline-4 outline-5 outline-6 outline-7 outline-8])
#@184 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 and that the match
data reflects the `outline-regexp'.
(defvar outline-level 'outline-level (#$ . 9530))
#@60 Return one of `outline-font-lock-faces' for current level.
(defalias 'outline-font-lock-face #[0 "\212\303\224b\210\304!\210 \n S G\246H)\207" [outline-regexp outline-font-lock-faces outline-level 0 looking-at] 3 (#$ . 9769)])
#@57 Normal hook to be run after outline visibility changes.
(defvar outline-view-change-hook nil (#$ . 10003))
#@44 This hook is run when outline mode starts.
(defvar outline-mode-hook nil (#$ . 10116))
#@60 Non-nil means to leave unhidden blank line before heading.
(defvar outline-blank-line nil (#$ . 10209))
(defvar outline-mode-hook nil)
(byte-code "\300\301N\204\f \302\300\301\303#\210\304\305!\204 \302\305\306\307#\210\300\207" [outline-mode-hook variable-documentation put "Hook run after 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] 4)
(defvar outline-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\322#\207" [outline-mode-abbrev-table outline-mode-map variable-documentation put purecopy "Keymap for `outline-mode'." boundp outline-mode-syntax-table definition-name outline-mode (lambda (#1=#:def-tmp-var) (defvar outline-mode-syntax-table #1#)) make-syntax-table "Syntax table for `outline-mode'." (lambda (#1#) (defvar outline-mode-abbrev-table #1#)) define-abbrev-table nil "Abbrev table for `outline-mode'." derived-mode-parent text-mode] 5)
#@1061 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 (...).
\{outline-mode-map}
The commands `outline-hide-subtree', `outline-show-subtree',
`outline-show-children', `outline-hide-entry',
`outline-show-entry', `outline-hide-leaves', and `outline-show-branches'
are used when point is on a heading line.
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 #[0 "\306\300!\210\307\310 \210\311\312\310\313N\203 \314\311\313\310\313N#\210\315!\204'