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#21634: text-scale-adjust suggestion Date: Thu, 07 Jul 2022 19:49:09 +0300 Organization: LINKOV.NET Message-ID: <86czehhrga.fsf@mail.linkov.net> References: <22035.47283.76000.848103@gargle.gargle.HOWL> <83d1wsxcuz.fsf@gnu.org> <87zgstyl9e.fsf_-_@gnus.org> <871r65ab7q.fsf@mail.linkov.net> <87czpou8z7.fsf@gnus.org> <86letewfpa.fsf@mail.linkov.net> <878rpdyyxo.fsf@gnus.org> <86k08wzx5e.fsf@mail.linkov.net> <87r1333etw.fsf@gnus.org> <86wncu6t6b.fsf@mail.linkov.net> <87h73x882a.fsf@gnus.org> <86h73weppw.fsf@mail.linkov.net> <87pmij6c9t.fsf@gnus.org> <87a69nitkk.fsf@gmail.com> <86h73uqs1j.fsf@mail.linkov.net> <874jztic6s.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5426"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Robert Pluim , Eli Zaretskii , Eli Barzilay , 21634@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 07 18:50:46 2022 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 1o9UiE-0001Kf-10 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Jul 2022 18:50:46 +0200 Original-Received: from localhost ([::1]:36112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9UiC-0007Rx-GE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Jul 2022 12:50:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9UhX-0007RE-2W for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 12:50:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9UhW-0002Mr-ON for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 12:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9UhW-0002IC-HK for bug-gnu-emacs@gnu.org; Thu, 07 Jul 2022 12:50: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: Thu, 07 Jul 2022 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21634 X-GNU-PR-Package: emacs Original-Received: via spool by 21634-submit@debbugs.gnu.org id=B21634.16572125738767 (code B ref 21634); Thu, 07 Jul 2022 16:50:02 +0000 Original-Received: (at 21634) by debbugs.gnu.org; 7 Jul 2022 16:49:33 +0000 Original-Received: from localhost ([127.0.0.1]:57739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Uh3-0002HL-8u for submit@debbugs.gnu.org; Thu, 07 Jul 2022 12:49:33 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:57751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9Uh0-0002Gw-Kc for 21634@debbugs.gnu.org; Thu, 07 Jul 2022 12:49:31 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 684FA20004; Thu, 7 Jul 2022 16:49:21 +0000 (UTC) In-Reply-To: <874jztic6s.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 07 Jul 2022 10:01:15 +0200") 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:236392 Archived-At: >>> I think the guts of `describe-repeat-mapsʼ does something like that. >> >> I forgot that describe-repeat-maps uses where-is-internal. >> But I don't see how repeat-echo-message-string and set-transient-map >> could use where-is-internal without iterating a huge list of all commands >> from obarray. There is no function to get all commands from the given >> keymap only? > > No, I think we should add a function like that. Shouldn't be too difficult. Such a function could return a flat list of (key-sequence . binding). Maybe loops from describe-map-tree/describe-map could be reused, but with accumulating the result instead of printing.