GNU bug report logs - #41130
outline-mode: Add new commands like org-cycle and org-global-cycle

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Thu, 7 May 2020 20:55:02 UTC

Severity: wishlist

Tags: patch

Merged with 41198

Found in version 27.0.60

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bastien <bzg <at> gnu.org>
To: "Philip K." <philip <at> warpmail.net>
Cc: 41130 <at> debbugs.gnu.org, Stefan Kangas <stefankangas <at> gmail.com>
Subject: bug#41130: outline-mode: Add new commands like org-cycle and org=global-cycle
Date: Sun, 24 May 2020 18:30:18 +0200
Hi Philip,

"Philip K." <philip <at> warpmail.net> writes:

> Bastien <bzg <at> gnu.org> writes:
>
>> Stefan Kangas <stefankangas <at> gmail.com> 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




This bug report was last modified 4 years and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.