unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eric Hanchrow <eric.hanchrow@gmail.com>
Cc: 21859@debbugs.gnu.org
Subject: bug#21859: 25.0.50; uesless binding for C-M-p in inferior-python-mode
Date: Thu, 01 Aug 2019 20:22:23 +0200	[thread overview]
Message-ID: <875zngiw4g.fsf@mouse.gnus.org> (raw)
In-Reply-To: <CAHZoxq-E0gG+kiHynk8=SfbAYSTjU-QhJoo2ppvMOeZcFYSCQw@mail.gmail.com> (Eric Hanchrow's message of "Sun, 08 Nov 2015 04:05:21 +0000")

Eric Hanchrow <eric.hanchrow@gmail.com> writes:

> I started emacs with -Q
>
> Typed M-x run-python RET
> Typed C-h f C-M-p
> Saw ``C-M-p runs the command compilation-previous-error''
> I had expected to see ``C-M-p runs the command backward-list'', or
> perhaps backward-sexp.

(I'm going through old bug reports that have unfortunately not gotten
any responses.)

This is a binding from the `compilation-shell-minor-mode-map' keymap.
If you don't want that, you could probably switch that minor mode off in
these buffers.

> Further, doing M-x local-set-key RET C-M-p backward-list RET has no
> effect: it's still bound to compilation-previous-error.

That's also because of the minor mode map that has precedence over the
current major-mode map.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2019-08-01 18:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-08  4:05 bug#21859: 25.0.50; uesless binding for C-M-p in inferior-python-mode Eric Hanchrow
2019-08-01 18:22 ` Lars Ingebrigtsen [this message]

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=875zngiw4g.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=21859@debbugs.gnu.org \
    --cc=eric.hanchrow@gmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).