From: Jean Louis <bugs@gnu.support>
To: Christopher Dimech <dimech@gmx.com>
Cc: Joost Kremers <joostkremers@fastmail.fm>, help-gnu-emacs@gnu.org
Subject: Re: outline-regexp) using ";; *+ " for elisp code
Date: Tue, 11 May 2021 17:15:34 +0300 [thread overview]
Message-ID: <YJqRhmiwSnXM3fSq@protected.localdomain> (raw)
In-Reply-To: <trinity-8333c05d-4a6f-49c2-a2e6-e918527f208e-1620732138894@3c-app-mailcom-bs13>
* Christopher Dimech <dimech@gmx.com> [2021-05-11 14:23]:
> Hi Joost,
>
> Could you assist with another capability. I would like to use a keybinding
> to cycle the folding of headers only.
>
> "H-<left>" fold
> "H-<right>" unfold
Maybe functions outline-hide-subtree and outline-show-subtree
You better first define what you wish to fold or unfold.
Try those functions with M-: evaluation like
When you are on heading you wish to fold:
M-: (outline-hide-subtree)
M-: (outline-show-subtree)
then if that is the right one, you will make the keys.
--
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/
https://rms-support-letter.github.io/
prev parent reply other threads:[~2021-05-11 14:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-11 3:11 outline-regexp) using ";; *+ " for elisp code Christopher Dimech
2021-05-11 7:05 ` Joost Kremers
2021-05-11 7:11 ` Christopher Dimech
2021-05-11 7:16 ` Christopher Dimech
2021-05-11 7:59 ` Christopher Dimech
2021-05-11 8:19 ` Joost Kremers
2021-05-11 8:32 ` Christopher Dimech
2021-05-11 8:48 ` Christopher Dimech
2021-05-11 10:29 ` Joost Kremers
2021-05-11 11:22 ` Christopher Dimech
2021-05-11 14:15 ` Jean Louis [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YJqRhmiwSnXM3fSq@protected.localdomain \
--to=bugs@gnu.support \
--cc=dimech@gmx.com \
--cc=help-gnu-emacs@gnu.org \
--cc=joostkremers@fastmail.fm \
/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.
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.