From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Describing local-map/keymap in overlays/text properties Date: Sat, 6 Jul 2013 13:18:23 -0700 (PDT) Message-ID: <20f7f954-3d6d-496a-b346-4a4c13e36775@default> References: <87d2qxjs7n.fsf@igel.home> <87y59jzp8l.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1373141915 29989 80.91.229.3 (6 Jul 2013 20:18:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Jul 2013 20:18:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen , Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 06 22:18:35 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UvYwD-0002aw-Kb for ged-emacs-devel@m.gmane.org; Sat, 06 Jul 2013 22:18:33 +0200 Original-Received: from localhost ([::1]:49928 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvYwD-0005s6-6C for ged-emacs-devel@m.gmane.org; Sat, 06 Jul 2013 16:18:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvYwA-0005s0-Hl for emacs-devel@gnu.org; Sat, 06 Jul 2013 16:18:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvYw9-0002wA-OX for emacs-devel@gnu.org; Sat, 06 Jul 2013 16:18:30 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:42792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvYw9-0002w3-H9 for emacs-devel@gnu.org; Sat, 06 Jul 2013 16:18:29 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r66KIR5K016612 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 6 Jul 2013 20:18:28 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r66KIQ1t021844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 6 Jul 2013 20:18:26 GMT Original-Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r66KIQqr021841; Sat, 6 Jul 2013 20:18:26 GMT In-Reply-To: <87y59jzp8l.fsf@building.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161686 Archived-At: > >> Is there a different command to see text property key bindings? > > > > C-u C-x =3D >=20 > That's kinda obscure. Anybody mind if I alter `C-h m' and `C-h b' > to display text prop keymaps (first)? Yes, I mind. (But please submit an enhancement request via `report-emacs-bug', if you like.) `C-h m' is already very long, even for a short major-mode doc string. This does not belong there at all, IMO. `C-h b' is another story, but it refers to the current context (e.g. buffer) generally, not only to a specific position. (I assume you are speaking generally, and not just about the doc for some particular mode.) Better than messing with `C-h m' or `C-h b' might be to provide a new command that lists only the text-property bindings at point. (But that could also be said for other parts of the `C-u C-x =3D' output: it is a mix of different kinds of info. One could imagine several separate commands for the different kinds of info.) My general reaction to your proposal is YAGNI. `C-u C-x =3D' is fine.