all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15324: 24.3; make hideshow bindings similar to outline minor mode bindings
@ 2013-09-10 16:53 Susanne Oberhauser
       [not found] ` <handler.15324.B.137883272628472.ack@debbugs.gnu.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Susanne Oberhauser @ 2013-09-10 16:53 UTC (permalink / raw)
  To: 15324

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)





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

* bug#15324: Acknowledgement (24.3; make hideshow bindings similar to outline minor mode bindings)
       [not found] ` <handler.15324.B.137883272628472.ack@debbugs.gnu.org>
@ 2013-09-11  8:33   ` Susanne Oberhauser
  0 siblings, 0 replies; 4+ messages in thread
From: Susanne Oberhauser @ 2013-09-11  8:33 UTC (permalink / raw)
  To: 15324

Susanne Oberhauser <froh@suse.com> writes:

> PS: See my other report on fixing the hard coded "\C-c@" prefix

"24.3; make hideshow use outline-minor-mode-prefix or a similar hs-minor-mode-prefix"
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15323


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





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

* bug#15324: 24.3; make hideshow bindings similar to outline minor mode bindings
  2013-09-10 16:53 bug#15324: 24.3; make hideshow bindings similar to outline minor mode bindings Susanne Oberhauser
       [not found] ` <handler.15324.B.137883272628472.ack@debbugs.gnu.org>
@ 2013-09-12 20:19 ` Stefan Monnier
  2016-02-24  4:14 ` Lars Ingebrigtsen
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2013-09-12 20:19 UTC (permalink / raw)
  To: Thien-Thi Nguyen, Dan Nicolaescu; +Cc: 15324, Susanne Oberhauser

> I propose to _add_ the relevant outline bindings nondestructively to the
> hideshow bindings, like so:

That looks reasonable (the same applies to bug#15323).
Thien-Thi and/or Dan, could you take care of this?


        Stefan





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

* bug#15324: 24.3; make hideshow bindings similar to outline minor mode bindings
  2013-09-10 16:53 bug#15324: 24.3; make hideshow bindings similar to outline minor mode bindings Susanne Oberhauser
       [not found] ` <handler.15324.B.137883272628472.ack@debbugs.gnu.org>
  2013-09-12 20:19 ` bug#15324: 24.3; make hideshow bindings similar to outline minor mode bindings Stefan Monnier
@ 2016-02-24  4:14 ` Lars Ingebrigtsen
  2 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-24  4:14 UTC (permalink / raw)
  To: Susanne Oberhauser; +Cc: 15324

Susanne Oberhauser <froh@suse.com> writes:

> 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; Stefan seemed to think it was a good idea, but this was never
applied, apparently.  I've now done so to the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2016-02-24  4:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10 16:53 bug#15324: 24.3; make hideshow bindings similar to outline minor mode bindings Susanne Oberhauser
     [not found] ` <handler.15324.B.137883272628472.ack@debbugs.gnu.org>
2013-09-11  8:33   ` bug#15324: Acknowledgement (24.3; make hideshow bindings similar to outline minor mode bindings) Susanne Oberhauser
2013-09-12 20:19 ` bug#15324: 24.3; make hideshow bindings similar to outline minor mode bindings Stefan Monnier
2016-02-24  4:14 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.