unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Roy Smith <roy@panix.com>
To: help-gnu-emacs@gnu.org
Subject: Custom keybinding getting over-ridden in python mode
Date: Wed, 2 Apr 2014 12:53:21 -0400	[thread overview]
Message-ID: <111C7C28-C651-4733-AA98-F8254B9786E4@panix.com> (raw)

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:

(global-set-key "\C-cm" 'compile)

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.

Any clue what might be different between the two boxes which is causing this behavior?

---
Roy Smith
roy@panix.com




             reply	other threads:[~2014-04-02 16:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-02 16:53 Roy Smith [this message]
2014-04-02 17:05 ` Custom keybinding getting over-ridden in python mode Roy Smith
     [not found] ` <mailman.18753.1396458568.10748.help-gnu-emacs@gnu.org>
2014-04-05 16:21   ` Rusi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=111C7C28-C651-4733-AA98-F8254B9786E4@panix.com \
    --to=roy@panix.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).