RE: spontaneous C-L and RE: jde glitches
I was able to repeatably cause the behavior by starting a new method and not providing the closing brace. Removing the closing brace also triggered the behavior. It happened every few seconds when reparsing (semantic) or updating font lock (as seen when a string is open and not completed). I had to have enough code in the buffer to be bigger than the screen size (to trigger scrolling). In the attached file if I remove the closing brace of testit1() I see the spontaneous C-L behavior. A while back (26 Mar) there was also a message about getting a stack overflow in the messages buffer from semantic parsing (RE: jde glitches). When I created a new file to test out the spontaneous C-L behavior I also encountered the stack overflow problem. Saving the file, closing, and re-opening the file cured the problem. GNU Emacs 21.1 on Win2k, jde 2.2.9beta9.1, elib-1.0, eieio-0.17beta4, speedbar-0.14beta4, and semantic-1.4beta14 with semantic-imenu.el v 1.39.2.5 from CVS (to include Eric Ludlams patch) -- Craig Kelley -Original Message- From: Rory Molinari [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 3:46 PM To: [EMAIL PROTECTED] Subject: Re: spontaneous C-L Mark Abrams writes: Berndl, Klaus wrote: The ECB versions = 1.60 contain code for better handling eshell. My first question: Do you use the eshell package in combination with ECB? No I am not using eshell, unless it is part of a package that I am not aware of. There is no eshell.el in my lisp directories. Mark I am not using it either, and sometimes see the refresh problem. jde-version: 2.2.9beta9.1 semantic-version: 1.4beta14 eieio-version:0.17beta4 I found myself having this problem yesterday, while editing a java class too large to post to the group. In trying (and failing - see below) to boil my class down to a small example I found the following: 1) The refresh occurred (repeatedly) while I was editing an unterminated string, which was followed by another string, like this (cursor shown with |): String string1 = A test + case | String string2 = Another + string; 2) The autorefresh reliably goes away when I terminate the first string with another double quote. 3) I successively removed chunks of the original file, each time verifying that the auto-refresh still happened. This worked until I made a deletion (somewhat before the first string above) which stopped the autorefresh. Confusingly, undoing the deletion, returning the buffer to the previous state (in which the autorefresh occurred), did not make the autorefresh start up again. Reloading the file, from the last broken state, did not make the autorefresh start up again. 4) When it happens, the autofresh takes place regularly, at a frequency I have come to associate with the auto-reparse (semantic, I think) that takes place after changes in the buffer. I don't have hard evidence for it being a semantic issue, though, as I didn't see any messages in the *Messages* buffer. I have not included the file which causes this problem, as the problem does not occur when the file is simply loaded up. I am sorry that this report is not more helpful. Rory TestCtrlL.java Description: Binary data
Re: jde glitches
Just an update for folks: since upgrading to emacs 21.2.1 this problem has gone away. BTW, starting up this version was a real shocker! I'm still not quite sure what to make of all the graphical changes. Emacs has sure come a long way. Mike On Wed, 3 Apr 2002, ABE Yasushi wrote: Hi. In [EMAIL PROTECTED] Mike Charnoky [EMAIL PROTECTED] wrote: First off: every so often, emacs simply hangs while I'm editing a file. The emacs process seems to be in a busy loop (in the running state), hogging the CPU. When this happens, emacs is unresponsive to any user input. Sometimes, if I hit a C-g a bunch of times, I eventually regain control, though it takes a while. this glitch is due to 'built-in search function's defadvice' in senator.el. I am doing like this patch. but some senator feature may not be able to be used. # it isn't being examined. ABE Yasushi [EMAIL PROTECTED]
Re: jde glitches
In my case, every time the font-lock stops working, I get the following message in *Messages* Stack overflow in equal I am using Emacs : GNU Emacs 20.7.1 (i386-redhat-linux-gnu, X toolkit) of Fri Mar 16 2001 on porky.devel.redhat.com Package: JDE version 2.2.9beta9.1 Required packages: semantic-1.4beta13 eieio-0.17beta3 speedbar-0.14beta2 I can generate a more detailed bug report, if it would help. Nick
RE: jde glitches
Hi Paul, ... You should be sure to byte-compile to minimize the parsing problem. Some days ago your recommendation was never byte-compile the packages because this can cause some problems. I had written a mail to you and this list, where i strongly recommended at least byte-compiling eieio and semantic, exactly because speeds up the parsing. Now you agree with me and correct your statement you have made the days before? What is now your recommendation concerning byte-compiling? (This is not for me, because i always byte-compile, but i think some JDE users are interested..) You could also try the new disc caching feature of semantic so that you don't have to reparse API header files and other static files every time yo open them. Yes, semanticdb should always be turned on!! Ciao, Klaus
RE: jde glitches
Thanks everyone. I've upgraded to the latest semantic (1.4beta14) and speedbar (0.14beta3), hoping that some problem has been fixed. (I coulda sworn I tried to do this a few days ago on my home machine, but jde complained about the new versions... weird). As always, I've byte compiled all the source. Switch off jde-check-version-flag! Klaus
RE: jde glitches
Berndl, Klaus writes: Hi Paul, ... You should be sure to byte-compile to minimize the parsing problem. Some days ago your recommendation was never byte-compile the packages because this can cause some problems. I had written a mail to you and this list, where i strongly recommended at least byte-compiling eieio and semantic, exactly because speeds up the parsing. Now you agree with me and correct your statement you have made the days before? I recommend compiling to see if it made a difference in the time it takes to load a file. Eric thinks it might not make much of a difference. - Paul