[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Freeze due to global font lock mode in c++
From: |
Tobias Munk |
Subject: |
Freeze due to global font lock mode in c++ |
Date: |
Wed, 26 Oct 2005 15:52:31 +0200 (CEST) |
Emacs 21.3/21.4 seems to reproducibility freeze when
typing an unbalanced parenthesis in c++ mode inside a
pair of brackets - i.e. something like "if ( foo( )" -
if the corresponding line is not yet automatically
indented, and if it is located inside of a
sufficiently big file.
You can obtain my file to reproduce it at:
http://www.theorie.physik.uni-muenchen.de/~munk/freeze3.cpp
To reproduce the freeze,
- open it with emacs -q
- turn on global-font-lock-mode, and wait some
seconds.
This always freezes my emacs. I tested it on debian
sarge and suse 9.something (emacs 21.3), both also in
a console with "emacs -nw ..." Furthermore, I did not
only experience it with this specific example file,
but also with several others, always in a set up as
described in the first paragraph. It seems to be
independent of the "Font Lock Support Mode" (I tested
jit lock and fast lock).
I don't have access to the current CVS emacs, so I
don't know it is still present there. The output at
the bottom is what "report a bug" in emacs produced
after opening the file, just some seconds before the
freeze.
Cheers,
Tobias
In GNU Emacs 21.4.1 (x86_64-pc-linux-gnu, X toolkit,
Xaw3d scroll bars)
of 2005-03-19 on athlon.lowpingbastards.de, modified
by Debian
configured using `configure '--build=x86_64-linux'
'--host=x86_64-linux' '--prefix=/usr'
'--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var/lib' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--with-x=yes' '--with-x-toolkit=athena'
'CFLAGS=-DDEBIAN -g -O2' 'build_alias=x86_64-linux'
'host_alias=x86_64-linux''
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: en_US
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Recent input:
<help-echo> <help-echo> <menu-bar> <options>
<toggle-global-lazy-font-lock-mode>
<help-echo> <help-echo> <help-echo> <help-echo>
<help-echo>
<menu-bar> <help-menu> <report-emacs-bug>
Recent messages:
Loading 50w3 (source)...done
Loading 50w3m-el (source)...done
For information about the GNU Project and its goals,
type C-h C-p.
freeze3.cpp has auto save data; consider M-x
recover-file
Loading cc-mode...done
Loading font-lock...
Loading regexp-opt...done
Loading font-lock...done
Global Font Lock mode enabled
Loading emacsbug...done
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden:
http://mail.yahoo.de
- Freeze due to global font lock mode in c++,
Tobias Munk <=