From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ista Zahn Newsgroups: gmane.emacs.bugs Subject: bug#21077: 24.5; Slow printing in inferior python buffer with python-shell-enable-font-lock Date: Thu, 16 Jul 2015 12:42:39 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1437066386 22808 80.91.229.3 (16 Jul 2015 17:06:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jul 2015 17:06:26 +0000 (UTC) To: 21077@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 16 19:06:15 2015 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 1ZFmbu-0001pS-KA for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jul 2015 19:06:14 +0200 Original-Received: from localhost ([::1]:41235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFmbt-0006ec-Dx for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Jul 2015 13:06:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFmbp-0006eM-KU for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 13:06:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFmbj-0006It-0M for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 13:06:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFmbi-0006Im-Nt for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 13:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZFmbi-0000os-G6 for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 13:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ista Zahn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Jul 2015 17:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21077 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.14370663053071 (code B ref -1); Thu, 16 Jul 2015 17:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jul 2015 17:05:05 +0000 Original-Received: from localhost ([127.0.0.1]:51350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFmal-0000nH-PC for submit@debbugs.gnu.org; Thu, 16 Jul 2015 13:05:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58133) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZFmFe-0000FQ-La for submit@debbugs.gnu.org; Thu, 16 Jul 2015 12:43:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFmFY-0000Rr-C1 for submit@debbugs.gnu.org; Thu, 16 Jul 2015 12:43:09 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFmFY-0000Rn-8c for submit@debbugs.gnu.org; Thu, 16 Jul 2015 12:43:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFmFX-00018w-8C for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 12:43:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFmFR-0000Qg-DJ for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 12:43:07 -0400 Original-Received: from mail-qk0-x232.google.com ([2607:f8b0:400d:c09::232]:35199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFmFR-0000QW-8r for bug-gnu-emacs@gnu.org; Thu, 16 Jul 2015 12:43:01 -0400 Original-Received: by qkbp125 with SMTP id p125so53880598qkb.2 for ; Thu, 16 Jul 2015 09:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=zO9FSEHi8waIGS+w8nsy/u6LfUdMgOYlqINHKSJ5WDM=; b=ntBKEEzUxqjia3mBX1tAHerYPpxAkCdaC95SuvzfuU8NdNpk7r7Q+/BIAOaCExhpEi X3FZwsJx02mflCrEeWw/tp/AmZwDbrY3zxMzOxoubo2WmOMMyo2CkjXcXBtY6Au4N7aa bO7Ia7WVGoabrPey5FvTC3WoJEuQt4cLvPeLbeDxXDAsa/pXtW0YRQEtjizBaW1sfob7 fXBikJtm2Xft9UYlJ4WbAUfxqjX4UnMghzR1wbC1UfaA2cHbDywe6yKQ7QxzEd91EMMG q4eXVuyE5joQwZVibUTQGwcYHo4T8iLIzXjsReNM+tnqEFi/ftBF7WDPfrVAk219dwAt JMHA== X-Received: by 10.140.106.101 with SMTP id d92mr18454999qgf.70.1437064979699; Thu, 16 Jul 2015 09:42:59 -0700 (PDT) Original-Received: by 10.96.110.6 with HTTP; Thu, 16 Jul 2015 09:42:39 -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: Thu, 16 Jul 2015 13:05:02 -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:104993 Archived-At: From: Ista Zahn To: bug-gnu-emacs@gnu.org Subject: 24.5; Slow printing in inferior python buffer with python-shell-enable-font-lock --text follows this line-- 1. Start emacs with 'emacs -Q' 2. Start inferior python process with 'M-x run-python' 3. Run 'print(list(range(9999)))' in the *Python* buffer Result: emacs grinds to a halt and has to be killed. Setting '(setq python-shell-enable-font-lock nil)' after step 1 fixes the problem. In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.2) of 2015-04-20 on bitzer.hoetzel.info Windowing system distributor `The X.Org Foundation', version 11.0.11702000 Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 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 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 messages: Making python-shell-interpreter local to *Python* while let-bound! Making python-shell-interpreter-args local to *Python* while let-bound! Sent python-shell-completion-setup-code Sent python-ffap-setup-code Sent python-eldoc-setup-code Making completion list... Quit Type "q" in help window to restore its previous buffer. You can run the command `describe-function' with C-h f Type "q" in help window to restore its previous buffer. command-execute: Command attempted to use minibuffer while in minibuffer 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 help-fns help-mode compile cl-extra python easymenu json comint ring cl-loaddefs cl-lib 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 dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 85167 7385) (symbols 48 19060 0) (miscs 40 66 149) (strings 32 12981 4007) (string-bytes 1 392970) (vectors 16 10694) (vector-slots 8 403996 7441) (floats 8 69 390) (intervals 56 271 19) (buffers 960 14) (heap 1024 41397 1140))