From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?M=C3=A1rton?= Marczell Newsgroups: gmane.emacs.bugs Subject: bug#17304: Python mode delays evaluation Date: Sat, 19 Apr 2014 14:04:34 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e016355eeca714204f76411f5 X-Trace: ger.gmane.org 1398040098 14528 80.91.229.3 (21 Apr 2014 00:28:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Apr 2014 00:28:18 +0000 (UTC) To: 17304@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 21 02:28:12 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wc25j-0001UI-Hi for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Apr 2014 02:28:11 +0200 Original-Received: from localhost ([::1]:47033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wc25j-0007P0-4X for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Apr 2014 20:28:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wc25d-0007Nd-7p for bug-gnu-emacs@gnu.org; Sun, 20 Apr 2014 20:28:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wc25b-0000PY-EI for bug-gnu-emacs@gnu.org; Sun, 20 Apr 2014 20:28:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wc25b-0000PT-9C for bug-gnu-emacs@gnu.org; Sun, 20 Apr 2014 20:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wc25a-0007lX-G1 for bug-gnu-emacs@gnu.org; Sun, 20 Apr 2014 20:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?M=C3=A1rton?= Marczell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Apr 2014 00:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17304 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139804006629811 (code B ref -1); Mon, 21 Apr 2014 00:28:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Apr 2014 00:27:46 +0000 Original-Received: from localhost ([127.0.0.1]:53612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wc25H-0007kg-Nm for submit@debbugs.gnu.org; Sun, 20 Apr 2014 20:27:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33705) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WbU0k-00011p-Ji for submit@debbugs.gnu.org; Sat, 19 Apr 2014 08:04:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbU0d-000703-LX for submit@debbugs.gnu.org; Sat, 19 Apr 2014 08:04:41 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbU0d-0006zz-IX for submit@debbugs.gnu.org; Sat, 19 Apr 2014 08:04:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbU0b-0004ig-Kt for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2014 08:04:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WbU0Z-0006zZ-Vb for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2014 08:04:37 -0400 Original-Received: from mail-ee0-x22c.google.com ([2a00:1450:4013:c00::22c]:51766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WbU0Z-0006zT-Jr for bug-gnu-emacs@gnu.org; Sat, 19 Apr 2014 08:04:35 -0400 Original-Received: by mail-ee0-f44.google.com with SMTP id e49so2323744eek.17 for ; Sat, 19 Apr 2014 05:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=TftTgjCOoYtgnwVhbd7G5sRzFgVbuyMtfA39t61bQuQ=; b=gEGqpHk1EhQWdB16nrBPPIV+UdVJSRQ2hEVq7wLOxP78ucrAl7r0Ba2zHrvyS6eMNL RN/Ut5fNOmTrtrJIM2pGGvjMEhJfpFfbbg9jZmVdQ1mLiSUNGuCbwgf/pZpQpIhTomSR xWURpFsDJmO/95Bi7Z1EH9/iuJr31mSWoJozVrRUPfTndixpOzEktYwazLUGWVxFukAo UarQ5IWAeDzObEOrgAWQvwAIKhB2xFXbZIBhMIhZAS7AeaSbuhEBVsv221pIIshETloq AJcU3420tTAWbGE0GjR1ERHNnvcdJ7ifN8RhfUYw6mQcXdw12ow6J4HO7vJCTNDVPyDu TwUw== X-Received: by 10.15.82.132 with SMTP id a4mr30254126eez.47.1397909074111; Sat, 19 Apr 2014 05:04:34 -0700 (PDT) Original-Received: by 10.14.140.74 with HTTP; Sat, 19 Apr 2014 05:04:34 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Sun, 20 Apr 2014 20:27:40 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88176 Archived-At: --089e016355eeca714204f76411f5 Content-Type: text/plain; charset=UTF-8 From: dalokmarcinak@gmail.com To: bug-gnu-emacs@gnu.org Subject: 24.3; Python mode delays evaluation --text follows this line-- This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': --- When I run a Python 3.3.4 prompt inside Emacs 24.3 on Windows 7, correct commands are evaluated immediately, but incorrect ones are delayed (I have to press Enter one more time), as seen below: >>> 1 1 >>> nonsense >>> Traceback (most recent call last): File "", line 1, in NameError: name 'nonsense' is not defined --- If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/Program Files/lispbox-0.7/emacs/etc/DEBUG. In GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.7) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' Important settings: value of $LANG: HUN locale-coding-system: cp1250 default enable-multibyte-characters: t Major mode: Inferior Python Minor modes in effect: compilation-shell-minor-mode: t shell-dirtrack-mode: t tooltip-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: M-x r e p o C-g M-x r u n . - - p y M-x r e p o r t P y t h o n SPC m o d e SPC d e l a y s SPC e v a l u t a i o n a t i o n C-y - - - - - - C-c C-c y e s M-x r e p o r t Recent messages: Checking 87 files in c:/Program Files/lispbox-0.7/emacs/lisp/calc... Checking 77 files in c:/Program Files/lispbox-0.7/emacs/lisp/obsolete... Checking 2 files in c:/Program Files/lispbox-0.7/emacs/leim... Checking for load-path shadows...done Mark set [2 times] Sending... Mark set [2 times] Sending via mail... Sending...done Making completion list... Load-path shadows: None found. Features: (mailalias mailclient browse-url shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils help-mode compile python rx edmacro kmacro 2048-game-autoloads auctex-autoloads tex-site info gnuplot-autoloads gnuplot-mode-autoloads js2-mode-autoloads finder-inf latex-preview-pane-autoloads lua-mode-autoloads markdown-mode+-autoloads markdown-mode-autoloads php-mode-autoloads package warnings sql easymenu thingatpt tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util mm-util mail-prsvr password-cache tramp-loaddefs shell pcomplete comint ansi-color ring format-spec advice help-fns cl-lib advice-preload time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-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 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 w32 multi-tty emacs) --089e016355eeca714204f76411f5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

From: dalok= marcinak@gmail.com
To: bug-= gnu-emacs@gnu.org
Subject: 24.3; Python mode delays evaluation
--= text follows this line--
This bug report will be sent to the Bug-GNU-Emacs mailing list
and the G= NU bug tracker at debbugs.gnu.org.= =C2=A0 Please check that
the From: line contains a valid email address.= =C2=A0 After a delay of up
to one day, you should receive an acknowledgment at that address.

Pl= ease write in English if possible, as the Emacs maintainers
usually do n= ot have translators for other languages.

Please describe exactly wha= t actions triggered the bug, and
the precise symptoms of the bug.=C2=A0 If you can, give a recipe
startin= g from `emacs -Q':


---
When I run a Python 3.3.4 prompt i= nside Emacs 24.3 on Windows 7, correct commands are evaluated immediately, = but incorrect ones are delayed (I have to press Enter one more time), as se= en below:

=C2=A0=C2=A0=C2=A0 >>> 1
=C2=A0=C2=A0=C2=A0 1
=C2=A0=C2= =A0=C2=A0 >>> nonsense
=C2=A0=C2=A0=C2=A0 >>>
=C2= =A0=C2=A0=C2=A0 Traceback (most recent call last):
=C2=A0=C2=A0=C2=A0 Fi= le "<stdin>", line 1, in <module>
=C2=A0=C2=A0=C2= =A0 NameError: name 'nonsense' is not defined
---

If Emacs crashed, and you have the Emacs process in the gdb debu= gger,
please include the output from the following gdb commands:
=C2= =A0=C2=A0=C2=A0 `bt full' and `xbacktrace'.
For information abou= t debugging Emacs, please read the file
c:/Program Files/lispbox-0.7/emacs/etc/DEBUG.


In GNU Emacs 24.3.= 1 (i386-mingw-nt6.1.7601)
=C2=A0of 2013-03-17 on MARVIN
Windowing sys= tem distributor `Microsoft Corp.', version 6.1.7601
Configured using= :
=C2=A0`configure --with-gcc (4.7) --cflags
=C2=A0-ID:/devel/emacs/libs/l= ibXpm-3.5.8/include
=C2=A0-ID:/devel/emacs/libs/libXpm-3.5.8/src
=C2= =A0-ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
=C2=A0-ID:/devel/ema= cs/libs/zlib-dev_1.2.5-2/include
=C2=A0-ID:/devel/emacs/libs/giflib-4.1.4-1/include
=C2=A0-ID:/devel/emac= s/libs/jpeg-6b-4/include
=C2=A0-ID:/devel/emacs/libs/tiff-3.8.2-1/includ= e
=C2=A0-ID:/devel/emacs/libs/gnutls-3.0.9/include
=C2=A0-ID:/devel/e= macs/libs/libiconv-1.13.1-1-dev/include
=C2=A0-ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'

Impor= tant settings:
=C2=A0 value of $LANG: HUN
=C2=A0 locale-coding-system= : cp1250
=C2=A0 default enable-multibyte-characters: t

Major mode= : Inferior Python

Minor modes in effect:
=C2=A0 compilation-shell-minor-mode: t
=C2= =A0 shell-dirtrack-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 mouse-wheel-= mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 fil= e-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-comp= osition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compressio= n-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t
Recent input:
M-x r e p o C-g M-x r u n . - <backspace> <b= ackspace>
- p y <return> M-x r e p o <tab> r t <tab> <return>=
P y t h o n SPC m o d e SPC d e l a y s SPC e v a l
u t a i o n &l= t;backspace> <backspace> <backspace> <backspace>
<backspace> a t i o n <return> C-y <up> <up> <up= > <up>
<up> <up> <up> <up> <up> = <up> <up> <down> <return>
<up> - - - <= down> <down> <down> <down> <down> <down> <= br> <down> <down> <down> <down> <down> - - - C-c = C-c y
e s <return> <help-echo> <down-mouse-1> <mou= se-1> M-x
r e p o <tab> r t <tab> <return>

Recent messages:
Checking 87 files in c:/Program Files/lispbox-0.7/e= macs/lisp/calc...
Checking 77 files in c:/Program Files/lispbox-0.7/emac= s/lisp/obsolete...
Checking 2 files in c:/Program Files/lispbox-0.7/emac= s/leim...
Checking for load-path shadows...done
Mark set [2 times]
Sending...Mark set [2 times]
Sending via mail...
Sending...done
Making com= pletion list...

Load-path shadows:
None found.

Features: (mailalias mailclient browse-url shadow sort mail-extr emacsbug message
= rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mail= abbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mail-uti= ls help-mode compile python rx edmacro kmacro
2048-game-autoloads auctex-autoloads tex-site info gnuplot-autoloads
gnu= plot-mode-autoloads js2-mode-autoloads finder-inf
latex-preview-pane-aut= oloads lua-mode-autoloads markdown-mode+-autoloads
markdown-mode-autoloa= ds php-mode-autoloads package warnings sql easymenu
thingatpt tramp tramp-compat auth-source eieio byte-opt bytecomp
byte-co= mpile cconv gnus-util mm-util mail-prsvr password-cache
tramp-loaddefs s= hell pcomplete comint ansi-color ring format-spec advice
help-fns cl-lib= advice-preload time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-winw32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list
ne= wcomment lisp-mode register page menu-bar rfn-eshadow timer select
scrol= l-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korea= n japanese hebrew greek romanian slovak czech european ethiopic
indian c= yrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev min= ibuffer loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custo= m widget hashtable-print-readable backquote make-network-process
w32 mul= ti-tty emacs)

--089e016355eeca714204f76411f5--