GNU bug report logs -
#213
Emacs hangs (font-lock-mode)
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:
#213: Emacs hangs (font-lock-mode)
It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.
Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <cyd <at> stupidchicken.com> by
replying to this email.
--
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)]
"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/?
[Message part 3 (message/rfc822, inline)]
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
This bug report was last modified 15 years and 146 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.