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: one shortcut next occurrence search Date: Fri, 24 Dec 2010 08:39:07 -0800 Message-ID: <9D99B6E438884B10849CD2F12D5D493A@us.oracle.com> References: <30512323.post@talk.nabble.com> <87r5d7a1fq.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1293208828 29154 80.91.229.12 (24 Dec 2010 16:40:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Dec 2010 16:40:28 +0000 (UTC) To: "'Tassilo Horn'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 24 17:40:21 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PWAgm-0001Zs-Ib for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Dec 2010 17:40:20 +0100 Original-Received: from localhost ([127.0.0.1]:48624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PWAgm-0006I0-0p for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Dec 2010 11:40:20 -0500 Original-Received: from [140.186.70.92] (port=58502 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PWAgO-0006He-F1 for help-gnu-emacs@gnu.org; Fri, 24 Dec 2010 11:39:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PWAgN-0002CN-9v for help-gnu-emacs@gnu.org; Fri, 24 Dec 2010 11:39:56 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:35263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PWAgN-0002CB-3V for help-gnu-emacs@gnu.org; Fri, 24 Dec 2010 11:39:55 -0500 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oBOGdqmr026047 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 24 Dec 2010 16:39:53 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oBOGZZwh000537; Fri, 24 Dec 2010 16:39:51 GMT Original-Received: from abhmt013.oracle.com by acsmt355.oracle.com with ESMTP id 880464351293208752; Fri, 24 Dec 2010 08:39:12 -0800 Original-Received: from dradamslap1 (/10.159.219.249) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 24 Dec 2010 08:39:11 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87r5d7a1fq.fsf@member.fsf.org> Thread-Index: AcujWJtpynFPzhizThGwYL63O/EdcgALDNEw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77870 Archived-At: > > Otherwise, you can try " C-h", that is "C-c > > C-h", "C-x C-h" and so on. > > Yes, especially C-h b is useful for finding out the bindings for the > preceeding prefix. For example, C-s C-h b tells you all bindings of > isearch. Actually, Isearch is the exception in this regard. As Elena indicated, typically all you have to do is hit the prefix key and then `C-h', to see the bindings on that key. IIRC, Isearch (`C-s') used to be that way too (Many Moon Ago), but then for a long time `C-h' didn't work at all for `C-s'. Then Someone(TM) thought it would be better for `C-s C-h' to give more general help, not just the bindings. So now you need to add `b' to get the bindings. [In Isearch+, I bind `C-s C-h' to a version of the standard command `isearch-mode-help' that (a) gives help about Isearch and (b) lists the Isearch key bindings. The (a) part is what vanilla Isearch gives you with `C-s C-h m'. The (b) part is what it gives you with `C-s C-h b'.] --- I will make a plug here also for command `describe-keymap' in library help-fns+.el. It is bound to `C-h M-k'. It gives you a human-readable view of keymaps. The only thing it leaves out (purposely) are menu bindings. `C-h M-k RET isearch-mode-map' shows you the same thing as `C-s C-h b'. But the `C-h' trick does not work with all prefix keys. And there are many keymaps that are not bound to prefix keys. `C-h M-k' can be useful even for keymaps that you cannot get to easily, such as the minibuffer keymaps. You can even use it with `global-map'. But you can use it only for keymaps that are the value of a variable (you are prompted for the variable name).