From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: how to get key maps info? Date: Fri, 25 Jan 2013 08:35:59 -0800 Message-ID: <9EAD617B0E7B4B0EBAD5A7216D3AF24C@us.oracle.com> References: <878v7hzfc5.fsf@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1359131951 25790 80.91.229.3 (25 Jan 2013 16:39:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2013 16:39:11 +0000 (UTC) To: "'Nicolas Richard'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 25 17:39:30 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1TymJK-0005eW-7o for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Jan 2013 17:39:26 +0100 Original-Received: from localhost ([::1]:51535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TymGK-0006zu-JD for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Jan 2013 11:36:20 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TymG7-0006a0-KN for help-gnu-emacs@gnu.org; Fri, 25 Jan 2013 11:36:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TymG6-0007R7-9z for help-gnu-emacs@gnu.org; Fri, 25 Jan 2013 11:36:07 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:42565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TymG6-0007Qm-3k for help-gnu-emacs@gnu.org; Fri, 25 Jan 2013 11:36:06 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id r0PGa3IQ016254 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 25 Jan 2013 16:36:04 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r0PGa3xP017798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Jan 2013 16:36:03 GMT Original-Received: from abhmt104.oracle.com (abhmt104.oracle.com [141.146.116.56]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r0PGa3Ht028560; Fri, 25 Jan 2013 10:36:03 -0600 Original-Received: from dradamslap1 (/10.159.189.45) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 25 Jan 2013 08:36:02 -0800 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac367OqsCrzbpzRSQNSd8zhiIzYTWwAKDCTQ In-Reply-To: <878v7hzfc5.fsf@yahoo.fr> X-Source-IP: ucsinet22.oracle.com [156.151.31.94] 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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88810 Archived-At: > > the C-h k describe a specific key, so that C-h k M-g g > > provides me the documentation for goto-line. But what if > > I want to get all the possible completion for M-g? > > Is there an help feature for that? > > In most situations, C-h will do it, so that > would be `M-g C-h' in this case. That is a good answer, but there are some cases where it doesn't work. (I don't recall particular cases. Isearch used to be one, but that has been corrected.) Other things that can help in this way: 1. `C-h b' and `C-h m' (which have already been mentioned). 2. `C-h M-k' to see all the bindings for a particular keymap. Requires library `help-fns+.el'. E.g., `C-h M-k ctl-x-map'. This is especially useful for keymaps, such as minibuffer maps, that you cannot easily examine otherwise. 3. ` S-TAB' to complete the key sequence. Requires library `icicles.el'. E.g., `M-g TAB' shows these completions: .. c = goto-char ESC = ... g = goto-line M-g = goto-line M-n = next-error M-p = previous-error n = next-error p = previous-error TAB = move-to-column (`..' goes up a level, in this case above prefix key `M-g' to the top. `...' indicates here that ESC (i.e., `M-g M-') is itself a prefix key.) This shows you the available keys, but it also lets you invoke them. It is the equivalent, for keys, of completing a command name when you use `M-x'. During key completion, if you cycle among candidates then the mode line of window *Completions* shows the first line of what `C-h k' would show for the current candidate key. `C-M-RET' shows the full `C-h k' help for the current candidate key. Info about #2 and #3: http://www.emacswiki.org/emacs/HelpPlus http://www.emacswiki.org/emacs/Icicles_-_Key_Completion