all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#53981: 28.0.91; shortdoc: Add support for outline-minor-mode
@ 2022-02-13 22:39 Daniel Mendler
  2022-02-14 11:06 ` Lars Ingebrigtsen
  2022-11-08 19:12 ` Juri Linkov
  0 siblings, 2 replies; 25+ messages in thread
From: Daniel Mendler @ 2022-02-13 22:39 UTC (permalink / raw)
  To: 53981

The shortdoc buffer currently lacks support for the outline-minor-mode.
By setting the two variables outline-regexp and outline-level, we can
unlock this feature. Does it make sense to provide this by default?

(defun shortdoc--outline-level () (if (eq (char-after) ?\() 2 1)))
(add-hook 'shortdoc-mode-hook
          (lambda ()
            (setq-local outline-level #'shortdoc--outline-level
                        outline-regexp "[A-Z(]")))

In GNU Emacs 28.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5,
cairo version 1.16.0)
 of 2022-02-09 built on projects
Repository revision: 82e74e4559b8becd44f3e7ac0134e2baddd69921
Repository branch: emacs-28
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)





^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2022-11-21  7:57 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-13 22:39 bug#53981: 28.0.91; shortdoc: Add support for outline-minor-mode Daniel Mendler
2022-02-14 11:06 ` Lars Ingebrigtsen
2022-02-14 12:23   ` Daniel Mendler
2022-02-14 14:18     ` Lars Ingebrigtsen
2022-02-14 14:29       ` Daniel Mendler
2022-02-15  7:32   ` Kévin Le Gouguec
2022-02-15  9:29     ` Lars Ingebrigtsen
2022-02-15  9:36       ` Daniel Mendler
2022-02-16 18:18       ` Juri Linkov
2022-02-17 11:43         ` Lars Ingebrigtsen
2022-02-17 13:44           ` Daniel Mendler
2022-02-17 15:02             ` Lars Ingebrigtsen
2022-02-17 17:45           ` Juri Linkov
2022-02-19 12:49             ` Lars Ingebrigtsen
2022-11-08 19:12 ` Juri Linkov
2022-11-08 19:32   ` Eli Zaretskii
2022-11-09 17:17     ` Juri Linkov
2022-11-16 19:14       ` Juri Linkov
2022-11-21  7:57         ` Juri Linkov
2022-11-09 17:24     ` Juri Linkov
2022-11-09 17:34       ` Eli Zaretskii
2022-11-09 19:47         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-09 20:09           ` Eli Zaretskii
2022-11-09 20:14             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-10  7:42             ` Juri Linkov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.