From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Roy Smith Newsgroups: gmane.emacs.help Subject: Re: Custom keybinding getting over-ridden in python mode Date: Wed, 2 Apr 2014 13:05:12 -0400 Message-ID: References: <111C7C28-C651-4733-AA98-F8254B9786E4@panix.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1396525735 25734 80.91.229.3 (3 Apr 2014 11:48:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2014 11:48:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 03 13:48:48 2014 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 1WVeJt-00075K-G8 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Apr 2014 11:52:25 +0200 Original-Received: from localhost ([::1]:39848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVOfX-0000p0-OF for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Apr 2014 13:09:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVObM-0004hi-MD for help-gnu-emacs@gnu.org; Wed, 02 Apr 2014 13:05:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVObF-0004Ae-6S for help-gnu-emacs@gnu.org; Wed, 02 Apr 2014 13:05:24 -0400 Original-Received: from mailbackend.panix.com ([166.84.1.89]:55787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVObF-0004AU-3S for help-gnu-emacs@gnu.org; Wed, 02 Apr 2014 13:05:17 -0400 Original-Received: from sullivan.lic.songza.com (rrcs-24-136-109-108.nyc.biz.rr.com [24.136.109.108]) by mailbackend.panix.com (Postfix) with ESMTP id 8035E2E47C; Wed, 2 Apr 2014 13:05:16 -0400 (EDT) In-Reply-To: <111C7C28-C651-4733-AA98-F8254B9786E4@panix.com> X-Mailer: Apple Mail (2.1283) X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 166.84.1.89 X-Mailman-Approved-At: Wed, 02 Apr 2014 13:09:27 -0400 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:96927 Archived-At: Follow-up: Not surprisingly, on the "broken" machine, when I do C-h b to look at = the keymap, it includes: C-c m Prefix Command C-c m l pylint C-c m n next-error C-c m p previous-error which the other machine does not. How do I figure out where those extra = key bindings might be coming from? On Apr 2, 2014, at 12:53 PM, Roy Smith wrote: > I have two Ubuntu Precise boxes that are both running GNU Emacs = 23.3.1. I have the same init.el file on both boxes, which contains, = among other things, the binding: >=20 > (global-set-key "\C-cm" 'compile) >=20 > On one machine (the one I've been running for a couple of years), this = works in all modes. On the new machine that I just set up, the = keybinding seems to get lost in Python mode. When I type C-C m, it = echos "C-c m-" at the bottom of the screen and waits for more input. It = works fine in other modes, and M-X compile works in python mode. >=20 > Any clue what might be different between the two boxes which is = causing this behavior? >=20 > --- > Roy Smith > roy@panix.com >=20 --- Roy Smith roy@panix.com