From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#36767: 26.1; request: add more quick keys to the *Help* buffer Date: Fri, 18 Jun 2021 16:32:23 +0200 Message-ID: <87wnqrgs5k.fsf@gmx.net> References: <87mtrrq7t7.fsf@gnus.org> <87eed0nsez.fsf@mail.linkov.net> <83bl83zp5h.fsf@gnu.org> <874kdv63ml.fsf@gmail.com> <8335tfzbfr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18268"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 36767@debbugs.gnu.org, Robert Pluim , emacsuser@freemail.hu, larsi@gnus.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 18 16:33:57 2021 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 1luFZF-0004ZM-7v for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Jun 2021 16:33:57 +0200 Original-Received: from localhost ([::1]:52674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luFZE-0002DW-97 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Jun 2021 10:33:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luFYM-00019J-4I for bug-gnu-emacs@gnu.org; Fri, 18 Jun 2021 10:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46006) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luFYL-0007TY-S2 for bug-gnu-emacs@gnu.org; Fri, 18 Jun 2021 10:33:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luFYL-0000Md-QA for bug-gnu-emacs@gnu.org; Fri, 18 Jun 2021 10:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Jun 2021 14:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36767 X-GNU-PR-Package: emacs Original-Received: via spool by 36767-submit@debbugs.gnu.org id=B36767.16240267631374 (code B ref 36767); Fri, 18 Jun 2021 14:33:01 +0000 Original-Received: (at 36767) by debbugs.gnu.org; 18 Jun 2021 14:32:43 +0000 Original-Received: from localhost ([127.0.0.1]:57552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luFY2-0000M6-P0 for submit@debbugs.gnu.org; Fri, 18 Jun 2021 10:32:43 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:53953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luFY0-0000Ls-O7 for 36767@debbugs.gnu.org; Fri, 18 Jun 2021 10:32:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1624026745; bh=UY4F/8SxXZ0juMB7aIsUAbd8yfzFDyUDX+ZWdcCDh0Q=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=V6RPuZTfBWM1legqhFboA/IwnlQmkMuh4q6zh6M3ZKNr+SOfxa2Ee5nkNFJOC8GCI BVJq8I1wmhgagHyKJJ6ra6OXzU/B3Fti9d9dW861CN29aR5hhV+3D6lTSuYTcmFXPT BWHQ4pmoIPd7xyM+DXjMXhx6wxztNwNt92hSSXOw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobelfs ([178.6.216.50]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MBDnI-1m0FXz16H0-00ChSt; Fri, 18 Jun 2021 16:32:25 +0200 In-Reply-To: <8335tfzbfr.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 18 Jun 2021 13:58:32 +0300") X-Provags-ID: V03:K1:qEmDKMFbXunHLHs6P8WZJjZGgPMs+HUaXpR8VhiwGLSRoGXKxhY whZtr8YmUS27ZTuQ2170d8P25RmWf656gGJPYRBXICY3GVjfP4rmhCcb62P+2BqIfT9/sJX YWpl+e5Tzqa6oaejDBhOpvqbfEZrzcXGb7kRAnh94U38NY5ZfIERGQpX4iVyShiWNLHjK3t PENr1TSXyZnUr2/9fnx7Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:WcN69OOrCME=:hUAGPlSfbRo9z1QPDECsKS FqXOOswEJXpdQyOMe1bhVebV9RI+5BD/uidooGLJHwhlZHYHcybkuffDY9NkPtZjn4D5YzHn8 FXjWr2KoQnqjgC/U8i/KfBXrqyAbWTOst5W51x9cvVKVpGsH4iJyvXjMt8YF40PFzlPdOB4DJ FEJ8yyPKNLBiKodfgTUsjxnJM3Dvc7CLTwyoFwh4T9EEHaMepBid9ZgGmFjEtcfuBXD/ksfoa cOlz6kDyGefxNieDLZzkDf7HJkfbo7qSsaQhWdYNBME+2cqAUaG4G3T10++HZWmVpMSou3nAu GNK35kt4aMymSpoa0iL6jB4D2tsg51J3P8+dO62GA4kkQ34zBN+dZi5xh6OPNsANmNO8J0ef0 ILcQkFbn80LY3JOOTWd+diLtm9c0G1zokcspi22nSRoRICkx9IfdL9ZSZSKJFoVIGZdNf9Qkj WroLfobb+lzDFSFoMcgq94jvbrUOSjNVSqpC2sxyl5/7EBobTdzQaF9wmahy1ui2aL4GQrN59 F3ZCrO9o51zD/jmxT0PIG5yqpI0xIaSP66KZAXfq1whctN7JlWAkUiTgrx//jKMCOamrTGBAr CGN5H2auQ7sXJHwMWahNhsBY3oOcmlUjQabtUBajIKkJ7Z/qqyBH3O+kZnWtnT+08ITO0uyAN 1cfE31YTCEopUL+3Y6Y3Ox+BTB4db+mZf0EwaNMDmLZgHSwhzvt2ndokC0+/ShcqJdndlOsKf AdyAnE6tUDRc5zoz2azOJj0sSAo8vzGD01U+42XdtdN4G3yafy9wn6NQKc2vb527xnciAUjZ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:208697 Archived-At: On Fri, 18 Jun 2021 13:58:32 +0300 Eli Zaretskii wrote: >> From: Robert Pluim >> Cc: Juri Linkov , 36767@debbugs.gnu.org, larsi@gnus.o= rg, >> emacsuser@freemail.hu >> Date: Fri, 18 Jun 2021 09:20:02 +0200 >>=20 >> Eli> And that need to go to *Help* is, for me, the single significant >> Eli> annoyance with Help commands. For example, I frequently want t= o look >> Eli> at the source of a function whose doc string I just requested, = and its >> Eli> a nuisance to have to click on the button there or go to the *H= elp* >> Eli> buffer, find the button, and press RET. >>=20 >> I guess you don=CA=BCt like (setq help-window-select t) > > The nuisance is to have to switch to the Help window. That variable > saves the command to switch to it, but it doesn't change the fact that > you are no longer in your original window/buffer. Viewing help > shouldn't interfere with the window/buffer where you do your main > work, IMO. I'm using this: (defun srb-quit-help (&optional any-frame) "Quit *Help* buffer without selecting it. With prefix argument ANY-FRAME quit *Help* on any visible frame, otherwise quit *Help* buffer only on the selected frame." (interactive "P") (let ((help-window (get-buffer-window "*Help*" (if any-frame 'visible)))) (when help-window (with-selected-window help-window (quit-window))))) (global-set-key "\C-cq" 'srb-quit-help) Of course, if such a command were added to Emacs, it would need a key binding not reserved for users, and that's where the real difficulty lies. Steve Berman