help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: outline-regexp) using ";; *+ " for elisp code


From: Jean Louis
Subject: Re: outline-regexp) using ";; *+ " for elisp code
Date: Tue, 11 May 2021 17:15:34 +0300
User-agent: Mutt/2.0.6 (2021-03-06)

* 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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]