From: Jean Louis <bugs@gnu.support>
To: wael-zwaiter@gmx.com
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: subheadings for elisp files
Date: Sun, 23 May 2021 22:55:27 +0300 [thread overview]
Message-ID: <YKqzL0FWQjLMgWLD@protected.localdomain> (raw)
In-Reply-To: <trinity-c7ca3fbb-0d36-415f-b907-c3f9c7a6d8c2-1621798975781@3c-app-mailcom-bs09>
* wael-zwaiter@gmx.com <wael-zwaiter@gmx.com> [2021-05-23 22:44]:
> > Is it like outline heading related?
>
> Yes. I tried to search for some information but did not find.
I use this settings as I like to have this below as header:
;;;; ↝
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((emacs-lisp-mode . ((outline-heading-alist . '((";;;; ↝" . 2))))))
Then I have this customization:
Hide Outline Minor Mode Cycle: Boolean: Toggle on (non-nil)
State : SAVED and set.
Enable cycling of headings in ‘outline-minor-mode’. More
Hide Outline Minor Mode Highlight: Choice: Value Menu Append outline faces to major mode faces
State : SAVED and set.
Highlight headings in ‘outline-minor-mode’ using font-lock keywords. More
Hide Outline Minor Mode Prefix: Key sequence: C-c C-d
Then it works to press TAB and cycle and I have somewhat easer prefix
C-c C-d
It should work, just define your heading, please see:
{C-h v outline-heading-alist RET} if you wish to customize headings. I
have placed it in .dir-locals directory
The Power of Outline Minor Mode for Emacs
https://hyperscope.link/3/7/2/7/9/The-Power-of-Outline-Minor-Mode-for-Emacs-37279.html
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/
next prev parent reply other threads:[~2021-05-23 19:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-23 17:31 subheadings for elisp files wael-zwaiter
2021-05-23 19:16 ` Jean Louis
2021-05-23 19:42 ` wael-zwaiter
2021-05-23 19:55 ` Jean Louis [this message]
2021-05-23 21:16 ` Elisp headers (was: Re: subheadings for elisp files) Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-23 21:38 ` Jean Louis
2021-05-23 21:59 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-05-24 6:13 ` Jean Louis
2021-05-24 3:48 ` Emanuel Berg via Users list for the GNU Emacs text editor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YKqzL0FWQjLMgWLD@protected.localdomain \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
--cc=wael-zwaiter@gmx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).