Variable: hyrolo-outline-mode-map
hyrolo-outline-mode-map is a variable defined in hyrolo.el.
Value
Documentation
Keymap for hyrolo-outline-mode.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo.el
(define-derived-mode hyrolo-outline-mode outline-mode "HyRoloOtl"
"Set major mode for HyRolo searches of outlines with selective display.
The difference from `outline-mode' is that it does not change the hidden
state of any entries when invoked, as it is used in the HyRolo display
matches buffer when moving through entries.
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 (...).
When used in the HyRolo display matches buffer, the following commands are
available:
\\{hyrolo-mode-map}The commands `hyrolo-outline-hide-subtree',
`hyrolo-outline-show-subtree', `hyrolo-outline-show-children',
`hyrolo-outline-hide-entry', `hyrolo-outline-show-entry',
`hyrolo-outline-hide-leaves', and `hyrolo-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 HyRolo outline mode calls the values of `text-mode-hook',
`outline-mode-hook', and then `hyrolo-outline-mode-hook' if they are
non-nil."
(font-lock-mode -1) ;; Never font-lock in this mode to keep it fast
;; Support hyrolo searches in Emacs outline files
(setq-local hyrolo-entry-regexp "^\\([*\^L]+\\)\\([ \t\n\r]+\\)"
hyrolo-hdr-and-entry-regexp (concat hyrolo-hdr-prefix-regexp hyrolo-entry-regexp)
hyrolo-entry-group-number 1
;; `hyrolo-add' handles removing * prefix from
;; trailing-space grouping below
hyrolo-entry-trailing-space-group-number 2
outline-regexp (concat hyrolo-hdr-prefix-regexp "^\\([*\^L]+\\)\\([ \t\n\r]\\)")
outline-level #'hyrolo-outline-level)
(setq-local imenu-generic-expression
(if (boundp 'outline-imenu-generic-expression)
outline-imenu-generic-expression
(list (list nil (concat "^\\(?:" outline-regexp "\\).*$") 0))))
(remove-hook 'change-major-mode-hook #'outline-show-all t)
(remove-hook 'hack-local-variables-hook #'outline-apply-default-state t)
;; Expose hidden text as move into it
(hyrolo-reveal-mode 1))