GNU bug report logs - #15324
24.3; make hideshow bindings similar to outline minor mode bindings

Previous Next

Package: emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15324 in the body.
You can then email your comments to 15324 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15324; Package emacs. (Tue, 10 Sep 2013 17:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Susanne Oberhauser <froh <at> suse.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 10 Sep 2013 17:06:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Susanne Oberhauser <froh <at> suse.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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 "\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)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15324; Package emacs. (Wed, 11 Sep 2013 08:35:02 GMT) Full text and rfc822 format available.

Message #8 received at 15324 <at> debbugs.gnu.org (full text, mbox):

From: Susanne Oberhauser <froh <at> suse.com>
To: 15324 <at> debbugs.gnu.org
Subject: Re: bug#15324: Acknowledgement (24.3;
 make hideshow bindings similar to outline minor mode bindings)
Date: Wed, 11 Sep 2013 10:33:14 +0200
Susanne Oberhauser <froh <at> 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)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15324; Package emacs. (Thu, 12 Sep 2013 20:20:02 GMT) Full text and rfc822 format available.

Message #11 received at 15324 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Thien-Thi Nguyen <ttn <at> gnu.org>, Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 15324 <at> debbugs.gnu.org, Susanne Oberhauser <froh <at> suse.com>
Subject: Re: bug#15324: 24.3;
 make hideshow bindings similar to outline minor mode bindings
Date: Thu, 12 Sep 2013 16:19:00 -0400
> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15324; Package emacs. (Wed, 24 Feb 2016 04:15:01 GMT) Full text and rfc822 format available.

Message #14 received at 15324 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Susanne Oberhauser <froh <at> suse.com>
Cc: 15324 <at> debbugs.gnu.org
Subject: Re: bug#15324: 24.3;
 make hideshow bindings similar to outline minor mode bindings
Date: Wed, 24 Feb 2016 15:14:14 +1100
Susanne Oberhauser <froh <at> 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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 24 Feb 2016 04:15:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.2, send any further explanations to 15324 <at> debbugs.gnu.org and Susanne Oberhauser <froh <at> suse.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 24 Feb 2016 04:15:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Mar 2016 11:24:04 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:04 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 26.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:04 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 25.2. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 01 Jan 2017 12:24:10 GMT) Full text and rfc822 format available.

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.