GNU bug report logs -
#15324
24.3; make hideshow bindings similar to outline minor mode bindings
Previous Next
Reported by: Susanne Oberhauser <froh <at> suse.com>
Date: Tue, 10 Sep 2013 17:06:03 UTC
Severity: wishlist
Tags: fixed, patch
Found in version 24.3
Fixed in version 26.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
Hi,
hideshow mode bindings differ from outline mode bindings, making my hair
curlyer than it already is.
I propose to _add_ the relevant outline bindings nondestructively to the
hideshow bindings, like so:
outline bindings:
(define-key map "@" 'outline-mark-subtree)
(define-key map "\C-n" 'outline-next-visible-heading)
(define-key map "\C-p" 'outline-previous-visible-heading)
(define-key map "\C-i" 'show-children)
(define-key map "\C-s" 'show-subtree)
(define-key map "\C-d" 'hide-subtree)
(define-key map "\C-u" 'outline-up-heading)
(define-key map "\C-f" 'outline-forward-same-level)
(define-key map "\C-b" 'outline-backward-same-level)
(define-key map "\C-t" 'hide-body)
(define-key map "\C-a" 'show-all)
(define-key map "\C-c" 'hide-entry)
(define-key map "\C-e" 'show-entry)
(define-key map "\C-l" 'hide-leaves)
(define-key map "\C-k" 'show-branches)
(define-key map "\C-q" 'hide-sublevels)
(define-key map "\C-o" 'hide-other)
(define-key map "\C-^" 'outline-move-subtree-up)
(define-key map "\C-v" 'outline-move-subtree-down)
hideshow, prefixed with '+' are proposed new bindings:
(define-key map "\C-c@\C-h" 'hs-hide-block)
(define-key map "\C-c@\C-s" 'hs-show-block)
(define-key map "\C-c@\C-\M-h" 'hs-hide-all)
(define-key map "\C-c@\C-\M-s" 'hs-show-all)
(define-key map "\C-c@\C-l" 'hs-hide-level)
(define-key map "\C-c@\C-c" 'hs-toggle-hiding)
+ (define-key map "\C-c@\C-a" 'hs-show-all)
+ (define-key map "\C-c@\C-t" 'hs-hide-all)
+ (define-key map "\C-c@\C-d" 'hs-hide-block)
This one is for those having show/hide entry hard wired to their spinal
chords
+ (define-key map "\C-c@\C-e" 'hs-toggle-hiding)
Thanks for considering...
S.
PS: See my other report on fixing the hard coded "\C-c@" prefix
In GNU Emacs 24.3.1 (x86_64-suse-linux-gnu, GTK+ Version 3.6.4)
of 2013-06-15 on build35
Windowing system distributor `The X.Org Foundation', version 11.0.11302000
System Description: openSUSE 12.3 (x86_64)
--
Susanne Oberhauser SUSE LINUX Products GmbH
+49-911-74053-574 Maxfeldstraße 5
Processes and Infrastructure 90409 Nürnberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
This bug report was last modified 8 years and 174 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.