From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Amin Bandali Newsgroups: gmane.emacs.bugs Subject: bug#40916: [PATCH] Add "p" and "n" convenience bindings to help-mode-map Date: Wed, 29 Apr 2020 01:15:33 -0400 Organization: GNU Message-ID: <87r1w6lvnu.fsf@gnu.org> References: <87blnctpza.fsf@gnu.org> <87blnb7bx4.fsf@stefankangas.se> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="53229"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 40916@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 29 07:16:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jTf52-000DiP-JK for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Apr 2020 07:16:20 +0200 Original-Received: from localhost ([::1]:34862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTf51-0007Xc-FT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Apr 2020 01:16:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35580) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTf4l-0007Vl-9R for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 01:16:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTf4k-0004Wc-PO for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 01:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTf4k-0004WX-Dp for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 01:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jTf4k-0008O2-8g for bug-gnu-emacs@gnu.org; Wed, 29 Apr 2020 01:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Amin Bandali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Apr 2020 05:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40916 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 40916-submit@debbugs.gnu.org id=B40916.158813734332210 (code B ref 40916); Wed, 29 Apr 2020 05:16:02 +0000 Original-Received: (at 40916) by debbugs.gnu.org; 29 Apr 2020 05:15:43 +0000 Original-Received: from localhost ([127.0.0.1]:42177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTf4Q-0008NS-Lh for submit@debbugs.gnu.org; Wed, 29 Apr 2020 01:15:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTf4O-0008NG-J6 for 40916@debbugs.gnu.org; Wed, 29 Apr 2020 01:15:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48252) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTf4I-0003jK-UJ; Wed, 29 Apr 2020 01:15:34 -0400 Original-Received: from [2607:fea8:3fe0:17d:7087:3460:976b:c2b1] (port=43656 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jTf4I-0004CM-Dq; Wed, 29 Apr 2020 01:15:34 -0400 In-Reply-To: <87blnb7bx4.fsf@stefankangas.se> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179281 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Stefan, Stefan Kangas writes: > Hi Amin, > > Amin Bandali writes: > >> The following binds "p" to backward-button, and "n" to forward-button in >> help-mode-map for more conveniently jumping between buttons in *Help* >> buffers. I have found myself constantly reaching for these in *Help* >> buffers after using helpful [0] for a while. > > Thanks, I like the idea. I tried it, and it seems useful. > Thank you. > > But I have one concern. Is there anything else we could use those > keys for? For example, what about navigating sections in the file, or > even (next|previous)-line? > > Let's say we introduce a "foldable" help buffer, such that minor mode > documentation would be collapsed by default. (Sorry, I can't find the > feature request now, but it's in the bug tracker somewhere.) > > Will this key binding still be the one we want? > That's indeed a valid question/criticism. And my answer is that I'm not quite sure. As of now, I think having this behaviour makes sense; but I can't say for sure it would remain the best use for p/n in the future. Especially considering the "foldable" help idea you mentioned, which I had not heard of or considered prior to writing this reply. :-) > >> The patch is against emacs-27, since it's a trivial and hopefully >> completely harmless change. > > I think we should do this on master to let people test the change and > get used to it. Maybe we will want to change it before release. > > Best regards, > Stefan Kangas > That's a good argument for doing this on master at least at first. Best, =2D-=20 Amin Bandali Free Software activist | GNU maintainer & webmaster GPG: BE62 7373 8E61 6D6D 1B3A 08E8 A21A 0202 4881 6103 https://bandali.eu.org --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEEObM8jZRIDS3cwqSYi0Sgzce5VvIFAl6pDXUQHGJhbmRhbGlA Z251Lm9yZwAKCRCLRKDNx7lW8jL3D/sF4Fi+gCVP95FuwbuX4fXw1PHSQ9KTg/mt +U/MkY9QiZ7eem46haCRZ0KzjVhcCLYoAPOSoAWqAL8vtt2m8RuoWwVi38/LqOGl ni4us49xgc/uMPO+pa9YWNOJjjQjh85dkt6O+0GG2ejyUrKsn506E8WVU2DJBvoB ktMywJ+vX5OJU+stK5iOvcH9dwSa7AMyRJNkbVdVw4NA2dUVJeM7VOau4Xl8Sd7Z mbbXMLM3uDc4iT4Q0fbKvBIphwuwuJ8xOLvxczlaEXNpXR89ArxBSf5nuoBUVrmW 17UTkly1XtErxvBzyeAlkZRQGa5dD0kQG32CsE5XygcBVq/S6b3qXITquPW5ZIXb IRwBToYp2/8KQHnT7iIaWjPi9JcRA7A7kpUMnBoq4fOWQjRjKElP4YhZQLy54T7W 9x9HeFIFBAxPYVRZHLDYDeYQyJ8M2BiiWv8/SGz7UznK1GCQWj7OnGAJZLuynyRg e/hgbxtSQA0DfNk0mlvHGjyQQ4Vdt+J5XZIH2TYBdSjt06ysmzg6wMEzeHRLaBxp ffBE9wxUVDj+VSmWV4E+hudKqHwxUDo4j3GsoYcr2/s7K2mdJZGfKOUf9GX86USw SaC0vjEFK68cAY1dJOxhGbU0tcHONXvQfGXmkPX17MX0HlnSEABmKN5C1PzVUuft 3hsPwbKeHw== =K7+H -----END PGP SIGNATURE----- --=-=-=--