From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30660: mention describe-bindings on (info "(emacs) Keymaps") Date: Sat, 18 Jan 2020 11:41:41 +0200 Message-ID: <83iml914q2.fsf@gnu.org> References: <831b5f34-28c7-4753-bed9-0a28de484aa8@default> <87tv8bul5g.fsf@gnus.org> <8336fvhxt0.fsf@gnu.org> <83o8yfbk79.fsf@gnu.org> <87ftj0wlel.fsf@marxist.se> <87k186pi8l.fsf@marxist.se> <83h8367luj.fsf@gnu.org> <87h832mdl3.fsf@marxist.se> <83wobx2m1u.fsf@gnu.org> <83r22323yj.fsf@gnu.org> <87zhen2h81.fsf@marxist.se> <83a76m33qb.fsf@gnu.org> <875zh9y0e9.fsf@marxist.se> <83mual17z3.fsf@gnu.org> <87iml95dsn.fsf@marxist.se> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="17502"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 30660@debbugs.gnu.org, jidanni@jidanni.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 18 10:42:11 2020 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 1iskcM-0004VK-OW for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jan 2020 10:42:10 +0100 Original-Received: from localhost ([::1]:38614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iskcL-0005jF-MK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jan 2020 04:42:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44201) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iskcE-0005ix-PF for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 04:42:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iskcD-0006Yv-Sh for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 04:42:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34501) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iskcD-0006Yo-PO for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 04:42:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iskcD-0001a8-O3 for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 04:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jan 2020 09:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30660 X-GNU-PR-Package: emacs Original-Received: via spool by 30660-submit@debbugs.gnu.org id=B30660.15793405086061 (code B ref 30660); Sat, 18 Jan 2020 09:42:01 +0000 Original-Received: (at 30660) by debbugs.gnu.org; 18 Jan 2020 09:41:48 +0000 Original-Received: from localhost ([127.0.0.1]:40474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iskc0-0001Zh-3H for submit@debbugs.gnu.org; Sat, 18 Jan 2020 04:41:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iskbx-0001ZQ-Vz for 30660@debbugs.gnu.org; Sat, 18 Jan 2020 04:41:47 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iskbs-0006Qd-CP; Sat, 18 Jan 2020 04:41:40 -0500 Original-Received: from [176.228.60.248] (port=3334 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iskbr-0006iR-SA; Sat, 18 Jan 2020 04:41:40 -0500 In-reply-to: <87iml95dsn.fsf@marxist.se> (message from Stefan Kangas on Sat, 18 Jan 2020 10:12:08 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:174800 Archived-At: > From: Stefan Kangas > Cc: larsi@gnus.org, 30660@debbugs.gnu.org, jidanni@jidanni.org > Date: Sat, 18 Jan 2020 10:12:08 +0100 > > >> I'm not sure, what would be a reasonable default? The keymap of the > >> current major mode? > > > > I thought about the description in "Active Keymaps". > > Do you mean to use the first active keymap? > > I can see how that make sense, and would probably be intuitive when > trying to figure out what keymap is active in different parts of a > buffer (for example over a button). > > If that's what you're thinking of, I wonder if there's any way to get > the name of the highest precedent keymap among the active keymaps? > > This was the first thing I tried, but it didn't work: > > (car (current-active-maps t (point))) Does the pseudo-code at the beginning of "Searching Keymaps" give any ideas?