From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Gustafsson Newsgroups: gmane.emacs.bugs Subject: bug#16786: 24.2; PostScript file with long lines locks up UI Date: Mon, 17 Feb 2014 23:34:00 +0200 Message-ID: <21250.32840.43915.833076@guava.gson.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1392683413 31453 80.91.229.3 (18 Feb 2014 00:30:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2014 00:30:13 +0000 (UTC) To: 16786@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 18 01:30:21 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 1WFYZo-0005BP-Dm for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Feb 2014 01:30:20 +0100 Original-Received: from localhost ([::1]:45159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFYZn-000623-7t for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Feb 2014 19:30:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFYZe-000616-Oy for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 19:30:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFYZZ-0003Cg-NY for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 19:30:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFYZZ-0003CS-Kr for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 19:30:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WFYZZ-0006nU-9C for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 19:30:05 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Gustafsson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Feb 2014 00:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16786 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.139268335126025 (code B ref -1); Tue, 18 Feb 2014 00:30:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Feb 2014 00:29:11 +0000 Original-Received: from localhost ([127.0.0.1]:57240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFYYf-0006lf-Lm for submit@debbugs.gnu.org; Mon, 17 Feb 2014 19:29:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39289) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFVpW-00022V-1e for submit@debbugs.gnu.org; Mon, 17 Feb 2014 16:34:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFVpM-0006JT-1o for submit@debbugs.gnu.org; Mon, 17 Feb 2014 16:34:16 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFVpL-0006JO-UM for submit@debbugs.gnu.org; Mon, 17 Feb 2014 16:34:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFVpH-000678-FY for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 16:34:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFVpD-0006I4-3C for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 16:34:07 -0500 Original-Received: from gunvor.araneus.fi ([46.246.126.150]:52881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFVpC-0006Go-Ow for bug-gnu-emacs@gnu.org; Mon, 17 Feb 2014 16:34:03 -0500 Original-Received: from guava.gson.org (unknown [10.0.1.240]) by gunvor.araneus.fi (Postfix) with ESMTP id F1006145686; Mon, 17 Feb 2014 21:34:33 +0000 (UTC) Original-Received: by guava.gson.org (Postfix, from userid 101) id 119DA75E36; Mon, 17 Feb 2014 23:34:00 +0200 (EET) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Mon, 17 Feb 2014 19:29:07 -0500 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:85800 Archived-At: Hi, I have a PostScript source file containing some embedded font data in the form of a single line about 100,000 characters long. When I open this file in emacs, it stops responding to keystrokes (including control-G) for several minutes, consuming 100% CPU. I see this behavior in 22.2.1, 23.4.1, and 24.2.1, but not in 21.4.1. The problem can be reproduced by evaluating the following elisp expression: (progn (switch-to-buffer "test") (insert (make-string 100000 97)) (ps-mode) ) -- Andreas Gustafsson, gson@gson.org In GNU Emacs 24.2.1 (x86_64--netbsd) of 2012-10-12 on pomegranate.tastylime.net Configured using: `configure '--srcdir=/scratch/editors/emacs24-nox11/work/emacs-24.2' '--localstatedir=/var' '--without-dbus' '--without-m17n-flt' '--without-otf' '--without-rsvg' '--without-x' '--without-xft' '--without-gif' '--without-jpeg' '--without-png' '--without-tiff' '--without-xpm' '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-DTERMINFO -I/usr/include'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: 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 input: ESC [ ? 1 ; 2 c ESC x r e p o r TAB RET Recent messages: ("emacs") Customizing... Done. For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr warnings emacsbug message format-spec rfc822 mml easymenu 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 time-date guess-offset cc-vars cc-defs regexp-opt ediff-hook vc-hooks lisp-float-type lisp-mode register page menu-bar rfn-eshadow timer 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 files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)