From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#10945: Can't search through help menu. Date: Mon, 18 Nov 2019 23:18:00 +0200 Organization: LINKOV.NET Message-ID: <87o8x8vq7r.fsf@mail.linkov.net> References: <20120305100726.GB2824@acm.acm> <87v9s3w7ym.fsf@marxist.se> <87o8xfo66x.fsf@mail.linkov.net> <20191114182445.GA4297@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="80946"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Stefan Kangas , 10945@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 18 22:52:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iWowN-000KqY-Gz for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Nov 2019 22:52:11 +0100 Original-Received: from localhost ([::1]:39860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWowL-0004FJ-NA for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Nov 2019 16:52:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40049) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWowF-0004Ex-Jh for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 16:52:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWowE-0007rw-Ji for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 16:52:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37542) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWowE-0007rn-C3 for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 16:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iWowE-0005Fv-6h for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 16:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Nov 2019 21:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10945 X-GNU-PR-Package: emacs Original-Received: via spool by 10945-submit@debbugs.gnu.org id=B10945.157411391420180 (code B ref 10945); Mon, 18 Nov 2019 21:52:02 +0000 Original-Received: (at 10945) by debbugs.gnu.org; 18 Nov 2019 21:51:54 +0000 Original-Received: from localhost ([127.0.0.1]:46360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWow5-0005FP-Ow for submit@debbugs.gnu.org; Mon, 18 Nov 2019 16:51:53 -0500 Original-Received: from brown.elm.relay.mailchannels.net ([23.83.212.23]:24938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWow4-0005FG-1C for 10945@debbugs.gnu.org; Mon, 18 Nov 2019 16:51:52 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C30A23C071E; Mon, 18 Nov 2019 21:51:50 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (100-96-169-13.trex.outbound.svc.cluster.local [100.96.169.13]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 1CE6E3C066C; Mon, 18 Nov 2019 21:51:50 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Mon, 18 Nov 2019 21:51:50 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Little-Harmony: 64310fd004f16340_1574113910355_2422987918 X-MC-Loop-Signature: 1574113910354:1954097382 X-MC-Ingress-Time: 1574113910354 Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTP id 5D816A7010; Mon, 18 Nov 2019 13:51:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=jVrRG3ylilwfNn2O2b/bEM8nclM=; b= j8xD/xgbLkhk5AN+/CRggp0qSkDmoD0PxQBnl/XVOsEGjlQKO9TxVWgAac87fJtH 7d2UXynTWEHDNqhYHnEaA3d59Qwh3AMD+9E0/Tdh/If0cnuX5z1GMbp3Sm99/6t5 fxXNaJ9/ymcZ0NgFz5rBpaOcCsIgdie6AakMDz2w5wQ= Original-Received: from mail.jurta.org (m91-129-102-1.cust.tele2.ee [91.129.102.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 02FE4A7014; Mon, 18 Nov 2019 13:51:43 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a6 In-Reply-To: <20191114182445.GA4297@ACM> (Alan Mackenzie's message of "Thu, 14 Nov 2019 18:24:45 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171939 Archived-At: >> >> emacs -Q >> >> C-h ? ; brings up the help menu > >> >> I now want to search through this menu for "ChangeLog": > >> >> C-x ; intending C-x o > >> >> The menu disappears. This isn't friendly. > >> > We can now search that window using `C-h ? C-s', and it switches to >> > the *Metahelp* window. This functionality was added in this comit: > >> > 956c39d11d 2018-04-02 Make help-for-help window searchable (Bug#19655) > >> > `C-h C-x o' still doesn't work, though. > >> > Is that good enough here? > >> Maybe help-for-help should use the minibuffer for reading commands >> instead of using explicit read-key-sequence? This would allow >> switching to the *Metahelp* window with 'C-x o'. > > This sounds like an excellent idea. I tried, but the major problem is how to create a wrapper around commands in 'help-map' to exit the minibuffer before running them. For example, evaluating: (read-from-minibuffer "C-h (Type ? for further options)- " nil help-map) then typing one of the help character, doesn't exit the minibuffer. Some additional layer of indirection could exit the minibuffer before running the command, but currently I have no idea how to do this. PS: Also isearch-help-for-help can't use the minibuffer to read help keys while isearch-mode is enabled, but this is a minor obstacle.