GNU bug report logs -
#213
Emacs hangs (font-lock-mode)
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 213 in the body.
You can then email your comments to 213 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#213
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Albert Neumüller" <albert.neu <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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
Reply sent to
Chong Yidong <cyd <at> stupidchicken.com>
:
You have taken responsibility.
Full text and
rfc822 format available.
Notification sent to
"Albert Neumüller" <albert.neu <at> gmail.com>
:
bug acknowledged by developer.
Full text and
rfc822 format available.
Message #10 received at 213-done <at> emacsbugs.donarmstrong.com (full text, mbox):
"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/?
bug archived.
Request was from
Debbugs Internal Request <don <at> donarmstrong.com>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Wed, 11 Jun 2008 14:24:02 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 20 Jan 2010 19:43:01 GMT)
Full text and
rfc822 format available.
Merged 213 218.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 20 Jan 2010 19:43:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <bug-gnu-emacs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 18 Feb 2010 12:24:03 GMT)
Full text and
rfc822 format available.
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.