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

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

bug#15324: 24.3; make hideshow bindings similar to outline minor mode bi


From: Susanne Oberhauser
Subject: bug#15324: 24.3; make hideshow bindings similar to outline minor mode bindings
Date: Tue, 10 Sep 2013 18:53:25 +0200

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 "address@hidden"       'hs-hide-block)
     (define-key map "address@hidden"       'hs-show-block)
     (define-key map "address@hidden"    'hs-hide-all)
     (define-key map "address@hidden"    'hs-show-all)
     (define-key map "address@hidden"       'hs-hide-level)
     (define-key map "address@hidden"       'hs-toggle-hiding)
+    (define-key map "address@hidden"       'hs-show-all)
+    (define-key map "address@hidden"       'hs-hide-all)
+    (define-key map "address@hidden"       'hs-hide-block)

This one is for those having show/hide entry hard wired to their spinal
chords

+    (define-key map "address@hidden"       '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)





reply via email to

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