From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Control help- and Info-mode buffers from other buffers Date: Thu, 01 Jun 2023 12:55:18 +0300 Message-ID: <83pm6fcxrt.fsf@gnu.org> References: <87h6ruf09e.fsf@ledu-giraud.fr> <861qixbum2.fsf@mail.linkov.net> <86wn0opgpi.fsf@mail.linkov.net> <86ilc78zc2.fsf@mail.linkov.net> <834jnrek7w.fsf@gnu.org> <86v8g77iof.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21912"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juri@linkov.net, manuel@ledu-giraud.fr, emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 01 11:55:25 2023 Return-path: Envelope-to: ged-emacs-devel@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 1q4f1g-0005Nt-7B for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Jun 2023 11:55:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4f0w-00076l-Hl; Thu, 01 Jun 2023 05:54:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4f0u-000762-KX for emacs-devel@gnu.org; Thu, 01 Jun 2023 05:54:36 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4f0r-0006RQ-Sr; Thu, 01 Jun 2023 05:54:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=VXFE8Mt3kpmDstEdkVoq7eBqPBtGV76A37wF+4pSFoU=; b=edPqldlSFk4z SZjZcEtUP+o++04VPAvZJ2zGFZ4NIXSWBK6hxhF5Gm0wECh3ets3uzWc1sYCYDSCEPLoFhz6XHiP+ Si692/FZiHwnhi+2r6n0knoz5hsK5aN9/kWVIW0Bw+tVVg0bkqGPPj7haQ2zONPHYUZDxfsRmhvgH uiNzmP0yRtRyNwj2mZjbe6kVtXCUtLs+BAKiQj49fzW0iYr+Ur43pPX1/V2niFpxY8cNxhKaEvNo0 nd9rAO3c8k/Lq0HDaT/Y/j9IUeTXgMTHaUwiCqUjwTnGbMh3x9BJfc62cD8za+I4d73apzRM7FjQr qMrn/OPCrxrKh9G/WYLAAw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4f0q-0002xw-0a; Thu, 01 Jun 2023 05:54:32 -0400 In-Reply-To: (message from Arthur Miller on Thu, 01 Jun 2023 11:03:57 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306500 Archived-At: > From: Arthur Miller > Cc: Eli Zaretskii , manuel@ledu-giraud.fr, emacs-devel@gnu.org > Date: Thu, 01 Jun 2023 11:03:57 +0200 > > Juri Linkov writes: > > >> What about using the "C-x 4" prefix? We could define a new prefix map > >> bound to "C-x 4 h", then have all the bindings in *Help* be in the map > >> prefixed by "C-x 4 h". For example, "C-x 4 h I" will run a command > >> which will produce the same effect as help-goto-lispref-info, using > >> the current *Help* window as its starting point. > > If you are talking about help-map and help-mode-map, the help-map is already > bound to C-h, so you could then add help-mode-map on a 'h' key in help-mode as I > tested while I working with this. It gives you C-h h l for > help-goto-lispref-info which is one key shorter and it is easier to type then > C-x 4 h since you can just tapp 'h' twice instead of using another key. C-h map is quite full, and "C-h h" is already taken, so this proposal is a no-go. I suggested "C-x 4" because it is a prefix we use for many "do stuff in other window" commands, and this is a logical extension of that repertoire. "C-x 4" is also convenient to type, and people who, like me, are used to invoke many "other-window" commands will get used to it instantly. Most importantly, "C-x 4 h" is free for grabbing.