GNU bug report logs -
#5585
23.1.91; mark text in c++ mode is painfully slow
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5585 in the body.
You can then email your comments to 5585 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5585
; Package
emacs
.
(Tue, 16 Feb 2010 16:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Tomas Berggren" <Tomas.Berggren <at> configura.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 16 Feb 2010 16:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
tomasb <at> softhome.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-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
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-echo> <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-echo> <help-echo> <help-echo> <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> <end> <help-echo>
<help-echo> <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-print-readable backquote make-network-process multi-tty emacs)
[Message part 2 (text/html, inline)]
bug reassigned from package 'emacs' to 'emacs,cc-mode'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 17 Feb 2010 21:00:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5585
; Package
emacs,cc-mode
.
(Thu, 18 Feb 2010 09:05:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 5585 <at> debbugs.gnu.org (full text, mbox):
> 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.
Thanks for the bug report, but this is impossible to fix unless you
provide a precise, step-by-step recipe, ideally starting from
`emacs -Q'.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5585
; Package
emacs,cc-mode
.
(Thu, 18 Feb 2010 12:34:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 5585 <at> debbugs.gnu.org (full text, mbox):
"Tomas Berggren" <Tomas.Berggren <at> configura.com> writes:
> Ok, not sure if this is detailed enough, please let me know otherwise.
> Unfortunately I don't know what emacs -Q meen.
>
> I start with a clean emacs and open c:/windows/notepad.exe with ctrl x
> ctrl f just to get a few thousand lines of code. The file can be saved
> as a txt-file to be sure the content is treated as text but the result
> on my machine is the same if I keep it as an executable.
>
> Then go to the top, press ctrl space to set mark, then ctrl n for new
> line and keep the n button down for 20 seconds.
>
> The result on our machines is that the marker freeze after the first
> line and the process hang for 20-30 seconds before the text is marked.
So this is nothing to do with C++ mode?
I can't reproduce this; C-n does not hang.
By `emacs -Q', I mean starting Emacs with no customizations. If you're
on Windows, you can do this by editing command run by the Emacs
"launcher" to add a `-Q' argument.
(Please keep 5585 <at> debbugs.gnu.org in the CC list).
bug closed, send any further explanations to "Tomas Berggren" <Tomas.Berggren <at> configura.com>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> debbugs.gnu.org
.
(Thu, 18 Feb 2010 13:05:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5585
; Package
emacs,cc-mode
.
(Thu, 18 Feb 2010 13:09:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 5585 <at> debbugs.gnu.org (full text, mbox):
You are correct!
Sorry for the inconvenience but the problem seems to be within our
customization of the lisp files.
Next time I will try with emacs -Q first!
By the way, is there a planned release date for 23.2?
Best Regards,
Tomas
-----Original Message-----
From: Chong Yidong [mailto:cyd <at> stupidchicken.com]
Sent: den 18 februari 2010 13:32
To: Tomas Berggren
Cc: 5585 <at> debbugs.gnu.org
Subject: Re: 23.1.91; mark text in c++ mode is painfully slow
"Tomas Berggren" <Tomas.Berggren <at> configura.com> writes:
> Ok, not sure if this is detailed enough, please let me know otherwise.
> Unfortunately I don't know what emacs -Q meen.
>
> I start with a clean emacs and open c:/windows/notepad.exe with ctrl x
> ctrl f just to get a few thousand lines of code. The file can be saved
> as a txt-file to be sure the content is treated as text but the result
> on my machine is the same if I keep it as an executable.
>
> Then go to the top, press ctrl space to set mark, then ctrl n for new
> line and keep the n button down for 20 seconds.
>
> The result on our machines is that the marker freeze after the first
> line and the process hang for 20-30 seconds before the text is marked.
So this is nothing to do with C++ mode?
I can't reproduce this; C-n does not hang.
By `emacs -Q', I mean starting Emacs with no customizations. If you're
on Windows, you can do this by editing command run by the Emacs
"launcher" to add a `-Q' argument.
(Please keep 5585 <at> debbugs.gnu.org in the CC list).
bug archived.
Request was from
Debbugs Internal Request <bug-gnu-emacs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 19 Mar 2010 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 95 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.