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: keybinding trouble Date: Fri, 8 Feb 2013 08:40:18 -0800 Message-ID: <0F3728A89F84481CA1A8FEEF518B8DE2@us.oracle.com> References: 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 1360341634 31024 80.91.229.3 (8 Feb 2013 16:40:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2013 16:40:34 +0000 (UTC) To: "'Frederik'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 08 17:40:53 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 1U3r0O-0007ur-SJ for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Feb 2013 17:40:52 +0100 Original-Received: from localhost ([::1]:38359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3r05-0004vc-UB for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Feb 2013 11:40:33 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3qzx-0004uy-QM for help-gnu-emacs@gnu.org; Fri, 08 Feb 2013 11:40:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3qzw-0006SK-26 for help-gnu-emacs@gnu.org; Fri, 08 Feb 2013 11:40:25 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:36804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3qzv-0006Qq-SE for help-gnu-emacs@gnu.org; Fri, 08 Feb 2013 11:40:23 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r18GeLmF010161 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Feb 2013 16:40:22 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r18GeL5G013241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Feb 2013 16:40:21 GMT Original-Received: from abhmt115.oracle.com (abhmt115.oracle.com [141.146.116.67]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r18GeLL5013462; Fri, 8 Feb 2013 10:40:21 -0600 Original-Received: from dradamslap1 (/10.159.230.71) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 08 Feb 2013 08:40:20 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac4GGb1JKR0dc2FZSWepF/T/1sd8/QAAJtbA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:89014 Archived-At: > (eval-after-load 'flyspell-mode > '(define-key flyspell-mode-map (kbd "C-c f") > 'flyspell-auto-correct-previous-word)) > > I also tried "\C-c f", "C-c ." and "\C-c ." -- none of them works, > neither in GTK emacs nor in terminal mode. (kbd "C-c f") and (kbd "C-c .") are reasonable. For just a string, lose the space: "\C-cf" and "\C-c.". Does just loading flyspell-mode define the keymap? Is the feature or library actually named `flyspell-mode' and not `flyspell'? (In my emacs -Q, there is only flyspell.el.) You can check the bindings for a given keymap using `C-h M-k' (`describe-keymap'), from `help-fns+.el': http://www.emacswiki.org/emacs-en/download/help-fns%2b.el