all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Freeze due to global font lock mode in c++
@ 2005-10-26 13:52 Tobias Munk
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Munk @ 2005-10-26 13:52 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Freeze due to global font lock mode in c++
       [not found] <mailman.12776.1130334759.20277.bug-gnu-emacs@gnu.org>
@ 2005-10-26 14:44 ` Romain Francoise
  0 siblings, 0 replies; 2+ messages in thread
From: Romain Francoise @ 2005-10-26 14:44 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Tobias Munk <munk_tobias@yahoo.de> writes:

> I don't have access to the current CVS emacs, so I don't know it is
> still present there.

I can reproduce this bug with Emacs 21.4 but not with the CVS version,
so it appears to have been fixed.  Thanks for the report!

-- 
Romain Francoise <romain@orebokech.com> | I like the streets when
it's a miracle -- http://orebokech.com/ | they're empty, I can make the
                                        | rest up.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-26 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-26 13:52 Freeze due to global font lock mode in c++ Tobias Munk
     [not found] <mailman.12776.1130334759.20277.bug-gnu-emacs@gnu.org>
2005-10-26 14:44 ` Romain Francoise

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.