GNU bug report logs -
#17670
24.3.90.1; no indent from C-j in Python shell
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#17670: 24.3.90.1; no indent from C-j in Python shell
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 17670 <at> debbugs.gnu.org.
--
17670: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17670
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
> If beginners don't get a simple newline, that might turn bad.
It might. Time will tell.
Stefan
[Message part 3 (message/rfc822, inline)]
emacs -Q
M-x run-python
Insert at prompt: "if True:"
C-j should indent but goes to BOL
Running fails as expected:
Python 2.7.3 (default, Mar 14 2014, 11:57:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> if True:
print(45)
... File "<stdin>", line 2
print(45)
^
IndentationError: expected an indented block
>>>
;;;;;;;;;;;;;;;;
In GNU Emacs 24.3.90.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2014-04-24
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
System Description: Debian GNU/Linux 7.5 (wheezy)
Important settings:
value of $LANG: de_DE.utf8
locale-coding-system: utf-8-unix
Major mode: Inferior Python
Minor modes in effect:
compilation-shell-minor-mode: t
tooltip-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <options> <menu-set-font>
C-d C-g C-y C-d C-g C-x C-f <M-backspace> <M-backspace>
<M-backspace> <M-backspace> <M-backspace> e y p . p
y <return> M-x r u n - p y t h o n <return> C-x 1 C-g
C-h k <tab> C-x o <down> <down> <down> <left> <down>
<down> <left> <left> <left> <left> <left> <return>
C-x 1 <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <up> <left> <left> <left>
<help-echo> <help-echo> <help-echo> M-+ C-x b * P <tab>
<return> C-h f p y t h o n - c o m <tab> <M-backspace>
i n <tab> d <tab> c a <tab> i n <tab> <return> C-x
o <down> <down> <right> <return> <down> C-x 1 M-x e
d e b u g - d e f <tab> <return> C-x b <return> C-x
b * P <tab> <return> p r i t <backspace> n t ( 3 4
) C-j C-h k C-j C-h v i n d e n t - l i n e - f u <tab>
<return> C-h f i n d e n t - r e <tab> l <tab> <return>
i d <backspace> d <backspace> i <backspace> f SPC R
e u <backspace> <backspace> <backspace> T r u e : C-j
<up> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> C-e C-j p r o <backspace> i n t SPC <backspace>
( 4 5 ) <return> C-x 1 <up> <up> <up> <up> <up> <up>
C-SPC C-e M-w <help-echo> <help-echo> <down-mouse-1>
<mouse-1> <help-echo> M-x r e p o r t - e m <tab>
<return>
Recent messages:
M-+ is undefined
Making completion list... [2 times]
Type C-x 1 to delete the help window.
Edebug: python-indent-calculate-indentation
Compiler-macro error for python-syntax-context: (void-function python-syntax--context-compiler-macro) [2 times]
python-indent-calculate-indentation
Type C-x 1 to delete the help window, C-M-v to scroll help.
Making completion list...
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils pcase edebug cl-loaddefs cl-lib find-func help-fns
help-mode compile python easymenu comint ring ansi-color time-date
tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer 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 make-network-process
inotify dynamic-setting x-toolkit x multi-tty emacs)
Memory information:
((conses 8 126368 6172)
(symbols 24 36990 0)
(miscs 20 60 244)
(strings 16 50063 4936)
(string-bytes 1 725002)
(vectors 8 11772)
(vector-slots 4 411801 5684)
(floats 8 69 355)
(intervals 28 570 9)
(buffers 512 17)
(heap 1024 32795 466))
This bug report was last modified 11 years and 76 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.