Subject: bug#41130: outline-mode: Add new commands like org-cycle and org=global-cycle

From: Bastien <[email-masked]>
Date: Sun, 24 May 2020 18:30:18 +0200

Hi Philip,

"Philip K." <[email-masked]> writes:

> Bastien <[email-masked]> writes:
>
>> Stefan Kangas <[email-masked]> writes:
>>
>>> (define-key outline-minor-mode-map (kbd "C-<tab>") 'outline-cycle)
>>                                            ^^^^^^^
>> Why not just <tab>, when point is on an outline entry?
>
> I've tried something like this once, but it becomes quite annoying in
> lisp modes, because "(" becomes a outline entry, making it tricky to
> indent some code with TAB from anywhere on the line.

Er, yes, you're right.  Then I'd suggest this:

    S-TAB for outline-cycle
  C-S-TAB for outline-global-cycle

IMO it is more common to want to cycle an entry than the whole buffer.

-- 
 Bastien