GNU bug report logs - #21859
25.0.50; uesless binding for C-M-p in inferior-python-mode

Previous Next

Package: emacs;

Reported by: Eric Hanchrow <eric.hanchrow <at> gmail.com>

Date: Sun, 8 Nov 2015 04:06:02 UTC

Severity: minor

Tags: notabug

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21859 in the body.
You can then email your comments to 21859 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21859; Package emacs. (Sun, 08 Nov 2015 04:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eric Hanchrow <eric.hanchrow <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 08 Nov 2015 04:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eric Hanchrow <eric.hanchrow <at> gmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 25.0.50; uesless binding for C-M-p in inferior-python-mode
Date: Sun, 08 Nov 2015 04:05:21 +0000
[Message part 1 (text/plain, inline)]
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))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21859; Package emacs. (Thu, 01 Aug 2019 18:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 21859 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eric Hanchrow <eric.hanchrow <at> gmail.com>
Cc: 21859 <at> debbugs.gnu.org
Subject: Re: bug#21859: 25.0.50; uesless binding for C-M-p in
 inferior-python-mode
Date: Thu, 01 Aug 2019 20:22:23 +0200
Eric Hanchrow <eric.hanchrow <at> 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




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 01 Aug 2019 18:23:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 21859 <at> debbugs.gnu.org and Eric Hanchrow <eric.hanchrow <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 01 Aug 2019 18:23:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 30 Aug 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.