[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs hang up with bad-brackets cpp-file
From: |
Oke Oldenburg |
Subject: |
emacs hang up with bad-brackets cpp-file |
Date: |
Thu, 25 Aug 2005 14:27:05 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 |
Hi
when loading (or scrolling the loaded) file "fail.cxx" emacs freezes and
goes on 100% cpu load until emacs.exe gets killed. No display update, no
reaction on any keys or mouse events. Also the system "close" isnt
processed.
(I'm using emacs 21.3 on windows, details see below)
Actions on my side:
- Starting emacs
- load fail.cxx
- when the bad line "m(n));" is visible, emacs freezes.
- when the line is not visible (e.g. if there are much more lines " x;"
in the file):
- scroll down the buffer -> emacs freezes then
Here is my file "fail.cxx":
>>> START of file:
#define W c)(c
int A()
{
}
int B()
{
x;
x;
x;
x;
x;
x;
x;
x;
m(n));
}
int C()
{
}
<<< End of file
I assume the problem in a conflict of the not-nice define "c)(c" and the
double close bracket, probably when calculating hilit.
The define (original its "#define CCCp char*)(const char*" ) is needed
to have a short version of "(char*)(const char*)"
The doubled bracket were a result of cut and paste and should have been
cleared in my next step, but the freeze occured before that ...
Can you duplicate the described behavior?
thanks for any help
Oke
PS: some informations of my emacs:
In GNU Emacs 21.3.1 (i386-mingw-nt5.0.2195)
of 2004-03-10 on NYAUMO
configured using `configure --with-gcc (3.2)'
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: DEU
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Recent input:
<menu-bar> <help-menu> <report-emacs-bug>
Recent messages:
(D:\programme\emacs-21.3\bin\emacs.exe)
Loading delsel...done
Loading desktop...done
Desktop loaded.
Loading advice...done
Loading d:/programme/emacs-21.3/site-lisp/uniq.el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
Loading image...done
Loading emacsbug...done
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs hang up with bad-brackets cpp-file,
Oke Oldenburg <=