unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1598: Please add easy key bindings for outline-(minor-)mode
@ 2008-12-17  9:57 Teemu Likonen
  2008-12-17 16:20 ` Stefan Monnier
  2021-07-19 15:04 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 8+ messages in thread
From: Teemu Likonen @ 2008-12-17  9:57 UTC (permalink / raw)
  To: bug-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1658 bytes --]

This is a "wishlist" bug with an example code to solve the issue.

The default key bindings for outline-mode and outline-minor-mode are
difficult to remember and slow to use. I think the main reason is that
there are way too many different key-bindings to operate with outlining.

I suggest that you make keys like M-<left> and M-<right> to act modally
so that they open and close one outline level at the time depending on
which levels and bodies are currently visible. In addition to that, and
to make outline navigating easy, M-<up> and M-<down> could move the
cursor to previous and next visible outline header.

I'll attach a code that I use. It works as I explained above. The code
is partly written by me but it's based on a code on Emacs wiki page:

    http://www.emacswiki.org/emacs/OutlineMinorMode

In the Emacs wiki the original code is titled "Explorer like
Key-Bindings" and my modified version is "Variation of Explorer-like
bindings". The latter is attached to this message). The code is licensed
with the usual Emacs wiki license (see the bottom of the web page):

    This work is licensed to you under version 2 of the GNU General
    Public License. Alternatively, you may choose to receive this work
    under any other license that grants the right to use, copy, modify,
    and/or distribute the work, as long as that license imposes the
    restriction that derivative works have to grant the same rights and
    impose the same restriction. For example, you may choose to receive
    this work under the GNU Free Documentation License, the
    CreativeCommons ShareAlike License, the XEmacs manual license, or
    similar licenses.

[-- Attachment #2: Outline-mode easy key-bindings --]
[-- Type: application/emacs-lisp, Size: 2427 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-19 15:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-17  9:57 bug#1598: Please add easy key bindings for outline-(minor-)mode Teemu Likonen
2008-12-17 16:20 ` Stefan Monnier
2008-12-17 16:30   ` Processed: " Emacs bug Tracking System
2008-12-17 16:49   ` Teemu Likonen
2021-07-19 15:04 ` Lars Ingebrigtsen
2021-07-19 15:33   ` Christopher Dimech
2021-07-19 15:34   ` Juri Linkov
2021-07-19 15:55   ` Kévin Le Gouguec

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).