GNU bug report logs - #213
Emacs hangs (font-lock-mode)

Previous Next

Package: emacs;

Reported by: "Albert Neumüller" <albert.neu <at> gmail.com>

Date: Sat, 10 May 2008 18:55:03 UTC

Severity: normal

Merged with 218

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#213: marked as done (Emacs hangs (font-lock-mode))
[Message part 1 (text/plain, inline)]
Your message dated Tue, 13 May 2008 13:04:00 -0400
with message-id <87wsly6sqn.fsf <at> stupidchicken.com>
and subject line Re: Emacs hangs (font-lock-mode)
has caused the Emacs bug report #213,
regarding Emacs hangs (font-lock-mode)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)


-- 
213: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=213
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Albert Neumüller" <albert.neu <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs hangs (font-lock-mode)
Date: Thu, 8 May 2008 10:19:02 +0200
Hello!

Emacs hangs during font-lock-mode (cc-mode).
How to reproduce:

Copy the C++ code below, into a buffer (e.g. tmp.cpp) with cc-mode and
font-lock-mode ON, and the go ahead and try changing
the line
#include "iostream"

to

#include <iostream"

.... Emacs should hang!

Which Emacs ??? ->
GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2008-05-02 on terranova, modified by Ubuntu

'hope this can be reproduced and solved!

Regards,
Albert


======== C++ Code ========


#include "iostream"

void func1()
{
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;
	std::cout<<"<->"<<std::endl;

}

======== end of C++ code =========





For your information:

In GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2008-05-02 on terranova, modified by Ubuntu
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.1/leim'
'--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN
-DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''

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.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: C++/l

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  abbrev-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<report-emacs-bug>

Recent messages:
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
Loading cc-mode...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...done




[Message part 3 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Albert Neumüller <albert.neu <at> gmail.com>
Cc: 213-done <at> debbugs.gnu.org
Subject: Re: Emacs hangs (font-lock-mode)
Date: Tue, 13 May 2008 13:04:00 -0400
"Albert Neumüller" <albert.neu <at> gmail.com> wrote:

> Emacs hangs during font-lock-mode (cc-mode).
> How to reproduce:
>
> Copy the C++ code below, into a buffer (e.g. tmp.cpp) with cc-mode and
> font-lock-mode ON, and the go ahead and try changing
> the line
> #include "iostream"
>
> to
>
> #include <iostream"
>
> .... Emacs should hang!
>
> Which Emacs ??? ->
> GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0)
>  of 2008-05-02 on terranova, modified by Ubuntu

I can't reproduce this bug, even Emacs 22.1.  Maybe it's cause by
something in your init file.  Can you reproduce it with `emacs -Q'
and/or with an unmodified emacs 22 as distributed from
http://ftp.gnu.org/pub/gnu/emacs/?


This bug report was last modified 15 years and 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.