Subject: bug#21859: 25.0.50; uesless binding for C-M-p in inferior-python-mode

From: Eric Hanchrow <[email-masked]>
Date: Sun, 08 Nov 2015 04:05:21 +0000

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.

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.

In GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu)
 of 2015-08-03 on ip-10-0-0-142
Repository revision: 13e71e5ef38581661cf132421a140b513f90031a
Configured using:
 `configure --without-x'

Configured features:
SOUND NOTIFY LIBSELINUX LIBXML2 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Inferior Python

Minor modes in effect:
  compilation-shell-minor-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Shell native completion is enabled.
C-M-p runs the command compilation-previous-error
Type C-x 1 to delete the help window, C-M-v to scroll help.
Mark saved where search started
scroll-up-command: End of buffer [2 times]
Mark set
GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu) of 2015-08-03 on
ip-10-0-0-142
Scanning for dabbrevs...done

Load-path shadows:
None found.

Features:
(shadow sort mail-extr dabbrev emacsbug message dired rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils misearch
multi-isearch compile tool-bar python tramp-sh tramp tramp-compat
auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns
mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete
format-spec advice json comint regexp-opt ring ansi-color term/xterm
xterm byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu seq
cl-loaddefs pcase cl-lib cconv time-date mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list
newcomment elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow timer select mouse jit-lock font-lock syntax facemenu
font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
charscript case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote inotify multi-tty
make-network-process emacs)

Memory information:
((conses 16 126679 7789)
 (symbols 48 30456 0)
 (miscs 40 111 207)
 (strings 32 43227 17378)
 (string-bytes 1 955030)
 (vectors 16 14663)
 (vector-slots 8 470023 2629)
 (floats 8 175 804)
 (intervals 56 371 17)
 (buffers 976 15)
 (heap 1024 30660 1233))