From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#36767: 26.1; request: add more quick keys to the *Help* buffer Date: Fri, 18 Jun 2021 22:14:05 +0300 Organization: LINKOV.NET Message-ID: <87r1gz3s52.fsf@mail.linkov.net> References: <87mtrrq7t7.fsf@gnus.org> <87eed0nsez.fsf@mail.linkov.net> <83bl83zp5h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4670"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 36767@debbugs.gnu.org, larsi@gnus.org, emacsuser@freemail.hu To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 18 21:17:18 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 1luJzQ-00013O-MM for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Jun 2021 21:17:16 +0200 Original-Received: from localhost ([::1]:50208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luJzO-0005jC-Iw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Jun 2021 15:17:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luJzC-0005ha-FG for bug-gnu-emacs@gnu.org; Fri, 18 Jun 2021 15:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luJzC-0001gn-77 for bug-gnu-emacs@gnu.org; Fri, 18 Jun 2021 15:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luJzC-0001Zk-3X for bug-gnu-emacs@gnu.org; Fri, 18 Jun 2021 15:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Jun 2021 19:17:02 +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.16240437946013 (code B ref 36767); Fri, 18 Jun 2021 19:17:02 +0000 Original-Received: (at 36767) by debbugs.gnu.org; 18 Jun 2021 19:16:34 +0000 Original-Received: from localhost ([127.0.0.1]:58247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luJyk-0001Yv-3O for submit@debbugs.gnu.org; Fri, 18 Jun 2021 15:16:34 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:40009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luJyi-0001YX-Gv for 36767@debbugs.gnu.org; Fri, 18 Jun 2021 15:16:32 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id E31C51BF205; Fri, 18 Jun 2021 19:16:24 +0000 (UTC) In-Reply-To: <83bl83zp5h.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 18 Jun 2021 09:02:18 +0300") 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:208704 Archived-At: --=-=-= Content-Type: text/plain >> it would be possible to type just 'C-h v RET c' to customize it. > > You forget the need to switch to the *Help* buffer before typing 'c', > don't you? I have no such problems because of using windmove-display-* commands where the prefix arg defines whether to select the displayed window or not. Maybe describe-* commands could accept the same prefix arg where C-u will reverse the value of help-window-select the same way as C-u of windmove-display-* reverses the value of windmove-display-no-select. > And that need to go to *Help* is, for me, the single significant > annoyance with Help commands. For example, I frequently want to look > at the source of a function whose doc string I just requested, and its > a nuisance to have to click on the button there or go to the *Help* > buffer, find the button, and press RET. > > So how about some special prefix key and a keymap to allow invoking > these commands from a buffer other than *Help*? To look at the source of a function, a quicker key is `M-.' or `C-u M-.' that reads a symbol name. >> diff --git a/lisp/help-mode.el b/lisp/help-mode.el >> index 48cf435f97..24b7ffaa2a 100644 >> --- a/lisp/help-mode.el >> +++ b/lisp/help-mode.el > > No changes in documentation to go with this? Here is the documentation: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=help-customize-doc.patch diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi index 8c24a926af..f144fd2922 100644 --- a/doc/emacs/help.texi +++ b/doc/emacs/help.texi @@ -456,6 +456,8 @@ Help Mode (@code{help-view-source}). @item i Look up the current topic in the manual(s) (@code{help-goto-info}). +@item c +Customize the variable or the face (@code{help-customize}). @end table @cindex hyperlink diff --git a/etc/NEWS b/etc/NEWS index da1372baf4..b1f1673fd3 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1133,6 +1133,10 @@ topic. *** New command 'help-goto-info' ('i') This command will look up the current symbol (if any) in Info. ++++ +*** New command 'help-customize' ('c'). +This command will customize the variable or the face (if any). + --- *** The 'help-for-help' ('C-h C-h') screen has been redesigned. --=-=-=--