From unknown Sat Sep 13 02:39:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17670: 24.3.90.1; no indent from C-j in Python shell Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jun 2014 16:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17670 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17670@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.140172492919331 (code B ref -1); Mon, 02 Jun 2014 16:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jun 2014 16:02:09 +0000 Received: from localhost ([127.0.0.1]:41064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrUgX-00051f-5V for submit@debbugs.gnu.org; Mon, 02 Jun 2014 12:02:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60146) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrUgQ-000511-MC for submit@debbugs.gnu.org; Mon, 02 Jun 2014 12:02:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrUgE-0007fW-Ai for submit@debbugs.gnu.org; Mon, 02 Jun 2014 12:01:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrUgE-0007fS-7Q for submit@debbugs.gnu.org; Mon, 02 Jun 2014 12:01:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrUg7-0005WT-2n for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 12:01:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrUfz-0007Tx-SW for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 12:01:38 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:64763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrUfz-0007TV-JY for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 12:01:31 -0400 Received: from [192.168.178.32] (brln-4d0cb981.pool.mediaWays.net [77.12.185.129]) by mrelayeu.kundenserver.de (node=mreue004) with ESMTP (Nemesis) id 0LodXq-1WKsc013yE-00gZtW; Mon, 02 Jun 2014 18:01:26 +0200 Message-ID: <538C9FC8.1020209@easy-emacs.de> Date: Mon, 02 Jun 2014 18:01:12 +0200 From: Andreas =?UTF-8?Q?R=C3=B6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:kzHHwabR3U2ENa5xwId6oSWQn3NAomm72vw24AVY3QG JUd7q7VBKGk2LLNigDC08B7P8Iwquxk1LEgWh3kZrO2P+gybU9 IUDUaRB41pP3YRSl+GPlFGhTYuJAjTGK6XX50LOsa3neTBHeyd j6Tv1tR5pj53/b3GueEGUBUfUnJMAZXkQ0hQ6E4f2tcLpdS61W XMwFwyZC42Hyluu2woO++QsijcJStBH/43TSc2dvwb1oMSqY3a tQGFG/I9oPbnCGYu8XSiIGcoSdntkAHsoNX4tOQMpOXqyKqWRw kC7CljGYqCSZGmUJPXHVlgH7MTVbMoRw/Y/vb+6xyjprQMUPff N7oUk2KXIpa1QaNLycUXnUUQi/c5XuONjvUMqfal1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 "", 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: C-d C-g C-y C-d C-g C-x C-f e y p . p y M-x r u n - p y t h o n C-x 1 C-g C-h k C-x o C-x 1 M-+ C-x b * P C-h f p y t h o n - c o m i n d c a i n C-x o C-x 1 M-x e d e b u g - d e f C-x b C-x b * P p r i t 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 C-h f i n d e n t - r e l i d d i f SPC R e u T r u e : C-j C-e C-j p r o i n t SPC ( 4 5 ) C-x 1 C-SPC C-e M-w M-x r e p o r t - e m 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)) From unknown Sat Sep 13 02:39:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17670: 24.3.90.1; no indent from C-j in Python shell Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jun 2014 17:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17670 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17670@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.140172914528524 (code B ref -1); Mon, 02 Jun 2014 17:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jun 2014 17:12:25 +0000 Received: from localhost ([127.0.0.1]:41158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrVmW-0007Ps-Pb for submit@debbugs.gnu.org; Mon, 02 Jun 2014 13:12:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55476) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrVmP-0007PU-Pk for submit@debbugs.gnu.org; Mon, 02 Jun 2014 13:12:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrVmA-00028r-Kh for submit@debbugs.gnu.org; Mon, 02 Jun 2014 13:12:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrVmA-00028n-If for submit@debbugs.gnu.org; Mon, 02 Jun 2014 13:11:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrVm2-0006Ap-6O for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 13:11:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrVlt-0001pP-Q1 for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 13:11:50 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:58624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrVlt-0001pA-G8 for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 13:11:41 -0400 Received: from [192.168.178.32] (brln-4d0cb981.pool.mediaWays.net [77.12.185.129]) by mrelayeu.kundenserver.de (node=mreue001) with ESMTP (Nemesis) id 0Lyvjs-1WmzYh1wjg-014B2J; Mon, 02 Jun 2014 19:11:39 +0200 Message-ID: <538CB03E.1040502@easy-emacs.de> Date: Mon, 02 Jun 2014 19:11:26 +0200 From: Andreas =?UTF-8?Q?R=C3=B6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 References: <538C9FC8.1020209@easy-emacs.de> In-Reply-To: <538C9FC8.1020209@easy-emacs.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:Io1tPs8bQUFt4nDHRsJj2F/c1T6XylYwUTuqhoumHsE FtC91lWX3/gH6TSeVhgiBclBLFCbTEClgb0mmKD3i9vElcPiqQ upbgdOLhZJ9PRHIjWNFrs7gxDySDwf1fDOCFtuA9vUTyfTktQa VNMI3QO6ClVMJfsGRV1izckYqTykzBklTyrO132PE7d084+6kF 8p3M/1QC/tBE5NXjm8WnKcrdT8xulBGYLOGaUh3TkM371HOOPp G5coQmtoSWSB5Vkn1pFO9tHZaT5jtSmj5mRmwygIjrYiDW5Y0P x2Z1EsCcKFK45nupq0jBPvGJI404nxBVCnHgCCNy5a3N25yts5 bbDusqPr4uFrhCIOZf+L4nxd9M2KIXUJNIa9doCme X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) also in In GNU Emacs 24.3.91.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-05-12 From unknown Sat Sep 13 02:39:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17670: 24.3.90.1; no indent from C-j in Python shell Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jun 2014 18:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17670 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas =?UTF-8?Q?R=C3=B6hler?= Cc: 17670@debbugs.gnu.org Received: via spool by 17670-submit@debbugs.gnu.org id=B17670.14017329756985 (code B ref 17670); Mon, 02 Jun 2014 18:17:02 +0000 Received: (at 17670) by debbugs.gnu.org; 2 Jun 2014 18:16:15 +0000 Received: from localhost ([127.0.0.1]:41248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrWmI-0001oU-Bl for submit@debbugs.gnu.org; Mon, 02 Jun 2014 14:16:14 -0400 Received: from mercure.iro.umontreal.ca ([132.204.24.67]:51214) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrWmB-0001oG-SW for 17670@debbugs.gnu.org; Mon, 02 Jun 2014 14:16:08 -0400 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 82BEB84D9D; Mon, 2 Jun 2014 14:16:03 -0400 (EDT) Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id D88941E5B7C; Mon, 2 Jun 2014 14:15:39 -0400 (EDT) Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id C8B67B40F6; Mon, 2 Jun 2014 14:15:39 -0400 (EDT) From: Stefan Monnier Message-ID: References: <538C9FC8.1020209@easy-emacs.de> Date: Mon, 02 Jun 2014 14:15:39 -0400 In-Reply-To: <538C9FC8.1020209@easy-emacs.de> ("Andreas =?UTF-8?Q?R=C3=B6hler?="'s message of "Mon, 02 Jun 2014 18:01:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-Spam-Status: No X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) > emacs -Q > M-x run-python > Insert at prompt: "if True:" > C-j should indent but goes to BOL C-j doesn't indent in "emacs -Q". RET does instead. Stefan From unknown Sat Sep 13 02:39:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17670: 24.3.90.1; no indent from C-j in Python shell Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jun 2014 20:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17670 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 17670@debbugs.gnu.org Received: via spool by 17670-submit@debbugs.gnu.org id=B17670.14017393653307 (code B ref 17670); Mon, 02 Jun 2014 20:03:02 +0000 Received: (at 17670) by debbugs.gnu.org; 2 Jun 2014 20:02:45 +0000 Received: from localhost ([127.0.0.1]:41331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrYRR-0000rG-8M for submit@debbugs.gnu.org; Mon, 02 Jun 2014 16:02:45 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:62372) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrYRN-0000qt-PZ for 17670@debbugs.gnu.org; Mon, 02 Jun 2014 16:02:43 -0400 Received: from [192.168.178.32] (brln-4d0cb981.pool.mediaWays.net [77.12.185.129]) by mrelayeu.kundenserver.de (node=mreue005) with ESMTP (Nemesis) id 0Mczwc-1X9dWN32os-00IHei; Mon, 02 Jun 2014 22:02:34 +0200 Message-ID: <538CD84C.6050309@easy-emacs.de> Date: Mon, 02 Jun 2014 22:02:20 +0200 From: Andreas =?UTF-8?Q?R=C3=B6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 References: <538C9FC8.1020209@easy-emacs.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:iD/SWtRniPuPb/jfsyGF97pFBsMDC8gaY4QqyUqz6TB XdX3BV9W5FI9fIDIGlQQ7F1pEecG+nEHpvBz6eep/I+3E+Qk+L hm86gbPZlcYbZvzuHC8x0S1qC78wtu/4mfwxJ7eY27eaU6uFGP P9yFhyRIrnPOEbc44TGE0mfZDNAsWlfCw4skdbCBszIFD5PjUO xjszZ7cqAapfq1+y5EWLYg2DKCeJ3NSIbGh16isk2mCGgs+ufp 0MbHzCFToyEbJFeuFG6EhE+BJcSI9DkTkqahlng9ddhJP9/+22 KoRWg2n7W2IDTJWKVY8ClrLqyEly4baxtUeSOkRJHwv6vk0RNw 5wYN2fPdKhy1KaYjgL1Y8CwmNx0Sxjm8GvF0GqguF X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 02.06.2014 20:15, Stefan Monnier wrote: >> emacs -Q >> M-x run-python >> Insert at prompt: "if True:" >> C-j should indent but goes to BOL > > C-j doesn't indent in "emacs -Q". RET does instead. > > > Stefan > So the defaults are switched? Don't think it's a good idea. RET is that basic... If beginners don't get a simple newline, that might turn bad. Andreas From unknown Sat Sep 13 02:39:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Andreas =?UTF-8?Q?R=C3=B6hler?= Subject: bug#17670: closed (Re: bug#17670: 24.3.90.1; no indent from C-j in Python shell) Message-ID: References: <538C9FC8.1020209@easy-emacs.de> X-Gnu-PR-Message: they-closed 17670 X-Gnu-PR-Package: emacs Reply-To: 17670@debbugs.gnu.org Date: Mon, 02 Jun 2014 23:57:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1401753423-32284-1" This is a multi-part message in MIME format... ------------=_1401753423-32284-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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@debbugs.gnu.org. --=20 17670: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17670 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1401753423-32284-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 17670-done) by debbugs.gnu.org; 2 Jun 2014 23:56:24 +0000 Received: from localhost ([127.0.0.1]:41372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wrc5X-0008NQ-Fd for submit@debbugs.gnu.org; Mon, 02 Jun 2014 19:56:23 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:1665) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wrc5U-0008N8-Bj for 17670-done@debbugs.gnu.org; Mon, 02 Jun 2014 19:56:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVPO+IOj/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqDTCE X-IPAS-Result: ArYGAIDvNVPO+IOj/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCzQSFBgNJIgECNIZF456B4Q4BKkZgWqDTCE X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="65518537" Received: from 206-248-131-163.dsl.teksavvy.com (HELO pastel.home) ([206.248.131.163]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 02 Jun 2014 19:56:14 -0400 Received: by pastel.home (Postfix, from userid 20848) id 83F06600D1; Mon, 2 Jun 2014 19:56:13 -0400 (EDT) From: Stefan Monnier To: Andreas =?windows-1252?Q?R=F6hler?= Subject: Re: bug#17670: 24.3.90.1; no indent from C-j in Python shell Message-ID: References: <538C9FC8.1020209@easy-emacs.de> <538CD84C.6050309@easy-emacs.de> Date: Mon, 02 Jun 2014 19:56:13 -0400 In-Reply-To: <538CD84C.6050309@easy-emacs.de> ("Andreas =?windows-1252?Q?R?= =?windows-1252?Q?=F6hler=22's?= message of "Mon, 02 Jun 2014 22:02:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17670-done Cc: 17670-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > If beginners don't get a simple newline, that might turn bad. It might. Time will tell. Stefan ------------=_1401753423-32284-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Jun 2014 16:02:09 +0000 Received: from localhost ([127.0.0.1]:41064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrUgX-00051f-5V for submit@debbugs.gnu.org; Mon, 02 Jun 2014 12:02:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60146) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrUgQ-000511-MC for submit@debbugs.gnu.org; Mon, 02 Jun 2014 12:02:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrUgE-0007fW-Ai for submit@debbugs.gnu.org; Mon, 02 Jun 2014 12:01:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrUgE-0007fS-7Q for submit@debbugs.gnu.org; Mon, 02 Jun 2014 12:01:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrUg7-0005WT-2n for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 12:01:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrUfz-0007Tx-SW for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 12:01:38 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:64763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrUfz-0007TV-JY for bug-gnu-emacs@gnu.org; Mon, 02 Jun 2014 12:01:31 -0400 Received: from [192.168.178.32] (brln-4d0cb981.pool.mediaWays.net [77.12.185.129]) by mrelayeu.kundenserver.de (node=mreue004) with ESMTP (Nemesis) id 0LodXq-1WKsc013yE-00gZtW; Mon, 02 Jun 2014 18:01:26 +0200 Message-ID: <538C9FC8.1020209@easy-emacs.de> Date: Mon, 02 Jun 2014 18:01:12 +0200 From: =?ISO-8859-1?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.3.90.1; no indent from C-j in Python shell Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:kzHHwabR3U2ENa5xwId6oSWQn3NAomm72vw24AVY3QG JUd7q7VBKGk2LLNigDC08B7P8Iwquxk1LEgWh3kZrO2P+gybU9 IUDUaRB41pP3YRSl+GPlFGhTYuJAjTGK6XX50LOsa3neTBHeyd j6Tv1tR5pj53/b3GueEGUBUfUnJMAZXkQ0hQ6E4f2tcLpdS61W XMwFwyZC42Hyluu2woO++QsijcJStBH/43TSc2dvwb1oMSqY3a tQGFG/I9oPbnCGYu8XSiIGcoSdntkAHsoNX4tOQMpOXqyKqWRw kC7CljGYqCSZGmUJPXHVlgH7MTVbMoRw/Y/vb+6xyjprQMUPff N7oUk2KXIpa1QaNLycUXnUUQi/c5XuONjvUMqfal1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 "", 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: C-d C-g C-y C-d C-g C-x C-f e y p . p y M-x r u n - p y t h o n C-x 1 C-g C-h k C-x o C-x 1 M-+ C-x b * P C-h f p y t h o n - c o m i n d c a i n C-x o C-x 1 M-x e d e b u g - d e f C-x b C-x b * P p r i t 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 C-h f i n d e n t - r e l i d d i f SPC R e u T r u e : C-j C-e C-j p r o i n t SPC ( 4 5 ) C-x 1 C-SPC C-e M-w M-x r e p o r t - e m 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)) ------------=_1401753423-32284-1-- From unknown Sat Sep 13 02:39:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17670: 24.3.90.1; no indent from C-j in Python shell In-Reply-To: <538C9FC8.1020209@easy-emacs.de> Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Jun 2014 04:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17670 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 17670@debbugs.gnu.org Received: via spool by 17670-submit@debbugs.gnu.org id=B17670.14017699281672 (code B ref 17670); Tue, 03 Jun 2014 04:33:01 +0000 Received: (at 17670) by debbugs.gnu.org; 3 Jun 2014 04:32:08 +0000 Received: from localhost ([127.0.0.1]:41459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrgON-0000Qt-Ay for submit@debbugs.gnu.org; Tue, 03 Jun 2014 00:32:07 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37048 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WrgOK-0000Qj-GY for 17670@debbugs.gnu.org; Tue, 03 Jun 2014 00:32:05 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WrgOJ-000153-Nt; Tue, 03 Jun 2014 00:32:03 -0400 From: Glenn Morris References: <538C9FC8.1020209@easy-emacs.de> X-Spook: Montenegro Croatian Steve Case investigation Blowfish X-Ran: ??oj\*=ux}U7i;,T}{uU4K8{9(^|'/K\V8@!L<{t;$+Su~hx&]E7d8* User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.7 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) Stefan Monnier wrote: >> emacs -Q >> M-x run-python >> Insert at prompt: "if True:" >> C-j should indent but goes to BOL > > C-j doesn't indent in "emacs -Q". RET does instead. But RET does not seem to indent in the situation described here? Ie, in inferior python buffers. (Neither C-j nor RET ever has, AFAICS.) It seems to work with RET if you set python-shell-interpreter to ipython, but I think that's ipython doing it, not Emacs. Maybe Emacs should be able to make it work with plain python?