From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tomas Berggren" Newsgroups: gmane.emacs.bugs Subject: bug#5585: 23.1.91; mark text in c++ mode is painfully slow Date: Tue, 16 Feb 2010 16:48:37 +0100 Message-ID: <8D12EF90EAF6264181DEA9F86EF2FCD5015C1094@mail.configura.local> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CAAF1F.80DE07E6" X-Trace: ger.gmane.org 1266365890 7781 80.91.229.12 (17 Feb 2010 00:18:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Feb 2010 00:18:10 +0000 (UTC) To: 5585@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 17 01:18:00 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NhXc3-0002pu-Lm for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Feb 2010 01:17:57 +0100 Original-Received: from localhost ([127.0.0.1]:40414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhXc2-0007yL-I2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Feb 2010 19:17:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhQCG-0005D9-Mj for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2010 11:22:48 -0500 Original-Received: from [140.186.70.92] (port=41329 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhQCF-0005CB-3R for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2010 11:22:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhQCC-0002PO-OR for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2010 11:22:46 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50298) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhQCC-0002PI-Lu for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2010 11:22:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NhQ5i-0005oN-Eq; Tue, 16 Feb 2010 11:16:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: "Tomas Berggren" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2010 16:16:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5585 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.126633694422327 (code B ref -1); Tue, 16 Feb 2010 16:16:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Feb 2010 16:15:44 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhQ5P-0005o4-9e for submit@debbugs.gnu.org; Tue, 16 Feb 2010 11:15:43 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhQ2P-0005lH-Qk for submit@debbugs.gnu.org; Tue, 16 Feb 2010 11:12:38 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:52626) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhQ1s-0007ao-Si for emacs-pretest-bug@gnu.org; Tue, 16 Feb 2010 11:12:33 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43422) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NhQ1Q-00067e-5b for emacs-pretest-bug@gnu.org; Tue, 16 Feb 2010 11:12:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhQ0Z-0000mK-5q for emacs-pretest-bug@gnu.org; Tue, 16 Feb 2010 11:10:45 -0500 Original-Received: from n166p192.linnet.se ([85.112.166.192]:57758 helo=mail.configura.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhQ0Y-0000lX-K3 for emacs-pretest-bug@gnu.org; Tue, 16 Feb 2010 11:10:43 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 23.1.91; mark text in c++ mode is painfully slow Thread-Index: AcqvH4DMkE8DheXpQyS21Kydke8ZiA== X-detected-operating-system: by eggs.gnu.org: Windows XP SP1+, 2000 SP3 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 16 Feb 2010 11:15:41 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 16 Feb 2010 11:16:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 16 Feb 2010 19:17:48 -0500 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35144 Archived-At: This is a multi-part message in MIME format. ------_=_NextPart_001_01CAAF1F.80DE07E6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I opened a file with about 3500 lines in c++ mode and started from the top marking the text with ctrl - space and then pressed arrow down or ctrl n to mark about 200 lines. The cursor pause after a few lines and hangs for some seconds with almost 100% cpu activity. This behavior did not appear in 20 and 22. I normally work in 23.1.1 but downloaded the latest beta to see if anything had been corrected. Not sure if this depends on the amount of code or if the support for Unicode made things slower, but since it worked fine on 22 something else might have changed. It might be by local setup as well. =20 I hope this can be of any use, this is my first bug report after using emacs for 12 years! =20 Best Regards, =20 Tomas tomasb@softhome.net =20 =20 In GNU Emacs 23.1.91.1 (i386-mingw-nt6.1.7600) of 2010-01-03 on PRETEST Windowing system distributor `Microsoft Corp.', version 6.1.7600 configured using `configure --with-gcc (3.4)' =20 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: SVE value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t =20 Major mode: C++/l =20 Minor modes in effect: fast-lock-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t =20 Recent input: =20 C-SPC =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 M-x C-g C-SPC =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 C-a C-SPC =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 M-x r e SPC =20 p o SPC r SPC e SPC b u SPC =20 Recent messages: Making completion list... Fontifying init.m... (regexps.....................................................) Loading vc-cvs...done Mark set [2 times] Mark activated Quit Mark set Quit Mark set [3 times] Making completion list... =20 Load-path shadows: None found. =20 Features: (shadow sort mail-extr message smtpmail sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils emacsbug parse-time vc-cvs help-mode view fast-lock ps-mode derived compile comint echistory chistory electric saveplace uniquify advice help-fns advice-preload etags ring make-mode cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt cus-edit cus-start cus-load wid-edit pcvs pcvs-parse pcvs-info pcvs-defs easymenu easy-mmode pcvs-util ewoc vc vc-dispatcher tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) ------_=_NextPart_001_01CAAF1F.80DE07E6 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I opened a file with about 3500 lines in c++ mode and started from the top marking

the text with ctrl - space and then pressed arrow down or ctrl n to = mark

about 200 lines. The cursor pause after a few lines and hangs for = some

seconds with almost 100% cpu activity. This behavior did not appear = in

20 and 22. I normally work in 23.1.1 but downloaded the latest beta = to

see if anything had been corrected. Not sure if this depends on = the

amount of code or if the support for Unicode made things slower, = but

since it worked fine on 22 something else might have changed. It might be by = local setup as well.

 =

I hope this can be of any use, this is my first bug report after using = emacs for 12 years!

 =

Best Regards,

 =

Tomas<= /o:p>

tomasb@soft= home.net

 =

 =

In GNU Emacs 23.1.91.1 (i386-mingw-nt6.1.7600)

 of 2010-01-03 on PRETEST

Windowing system distributor `Microsoft Corp.', version = 6.1.7600

configured using `configure --with-gcc (3.4)'

 =

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: SVE

  value of $XMODIFIERS: nil

  locale-coding-system: cp1252

  default enable-multibyte-characters: t

 =

Major mode: C++/l

 =

Minor modes in effect:

  fast-lock-m= ode: t

  tooltip-mode: t

  mouse-wheel= -mode: t

  file-name-shadow-mode: t

  global-font= -lock-mode: t

  font-lock-mode: t

  global-auto= -composition-mode: t

  auto-composition-mode: t

  auto-encryption-mode: t

  auto-compression-mode: t

  column-number-mode: t

  line-number-mode: t

  transient-m= ark-mode: t

  abbrev-mode: t

 =

Recent input:

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

C-SPC <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down-mouse-1> <mouse-1> <down-mouse-1> = <mouse-1>

M-x C-g <down-mouse-1> <mouse-1> C-SPC <down> <down> =

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> <down-mouse-1>

<mouse-1= > <help-echo> <help-echo> <down-mouse-1> <mouse-1> =

<help-ec= ho> <help-echo> <help-echo> <help-echo> = <down-mouse-1>

<mouse-1= > <down-mouse-1> <mouse-1> <down-mouse-1> = <mouse-1>

C-a C-SPC <down> <down> <down> <down> <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <down> <down> <down> = <down> <down>

<down>= ; <down> <down> <help-echo> <help-echo> = <help-echo>

<help-ec= ho> <help-echo> <help-echo> <down-mouse-1> =

<mouse-1= > <down-mouse-1> <mouse-1> <end> <help-echo> =

<help-ec= ho> <down-mouse-1> <mouse-1> M-x r e SPC <backspace> =

p o SPC r SPC e SPC b u SPC <return>

 =

Recent messages:

Making completion list...

Fontifying init.m... = (regexps.....................................................)=

Loading vc-cvs...done

Mark set [2 times]

Mark activated

Quit

Mark set

Quit

Mark set [3 times]

Making completion list...

 =

Load-path shadows:

None found.

 =

Features:

(shadow sort mail-extr message smtpmail sendmail ecomplete rfc822 = mml

mml-sec password-cache mm-decode mm-bodies mm-encode mailcap = mail-parse

rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader = gnus-util

netrc time-date mm-util mail-prsvr gmm-utils mailheader canlock = sha1

hex-util hashcash mail-utils emacsbug parse-time vc-cvs help-mode = view

fast-lock ps-mode derived compile comint echistory chistory = electric

saveplace uniquify advice help-fns advice-preload etags ring = make-mode

cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine = cc-vars

cc-defs regexp-opt cus-edit cus-start cus-load wid-edit pcvs = pcvs-parse

pcvs-info pcvs-defs easymenu easy-mmode pcvs-util ewoc vc = vc-dispatcher

tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 = disp-table

ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe = lisp-mode

register page menu-bar rfn-eshadow timer select scroll-bar mldrag = 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

loaddefs button minibuffer faces cus-face files text-properties = overlay

md5 base64 format env code-pages mule custom widget

hashtable-p= rint-readable backquote make-network-process multi-tty emacs)

------_=_NextPart_001_01CAAF1F.80DE07E6--