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: F2 Date: Wed, 2 Mar 2011 14:56:43 -0800 Message-ID: <0727A25277304F7DA911DC9F8C68F385@us.oracle.com> References: <577f8a29-95e7-4168-abb6-0e2b1820bda1@r4g2000prm.googlegroups.com><87d3mb1fdp.fsf@puma.rapttech.com.au><3fd56383-ccea-439e-9604-83559decd153@z27g2000prz.googlegroups.com> 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 1299106986 30341 80.91.229.12 (2 Mar 2011 23:03:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2011 23:03:06 +0000 (UTC) To: "'PJ Weisberg'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 03 00:02:59 2011 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 1Puv4M-0002el-M1 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Mar 2011 00:02:58 +0100 Original-Received: from localhost ([127.0.0.1]:58488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuuzH-0004y7-PV for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Mar 2011 17:57:43 -0500 Original-Received: from [140.186.70.92] (port=44362 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Puuyj-0004vK-2t for help-gnu-emacs@gnu.org; Wed, 02 Mar 2011 17:57:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Puuyh-0001Vq-Ai for help-gnu-emacs@gnu.org; Wed, 02 Mar 2011 17:57:08 -0500 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:64478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Puuyh-0001VS-21 for help-gnu-emacs@gnu.org; Wed, 02 Mar 2011 17:57:07 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p22Mv4es009960 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 2 Mar 2011 22:57:05 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p22LmTgR013479; Wed, 2 Mar 2011 22:57:03 GMT Original-Received: from abhmt020.oracle.com by acsmt355.oracle.com with ESMTP id 1103255811299106601; Wed, 02 Mar 2011 14:56:41 -0800 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 02 Mar 2011 14:56:41 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcvZK1AM0aJj1ADFTwm+llPpfLdNPAAADx6w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4D6ECB40.0080,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 148.87.113.121 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:79714 Archived-At: > > How would I determine the value of "foo-mode-map" to use. > > I was hoping someone more knowledgable would pipe up with a better > answer, but here's my suggestion: The variable "major-mode" has the > name of the current major mode, and "minor-mode-list" has all possible > minor modes. A minor mode is active if a variable with that name is > defined and non-nill. The map name should be the name of one of these > modes with "-map" at the end of it. You might have to guess which one > is binding the key you don't like. For a human-readable list of the key bindings provided by a given keymap variable, use `describe-keymap', defined in library `help-fns+.el'. http://www.emacswiki.org/emacs/download/help-fns%2b.el