Paul,

I've not found the cause, but it *is* bovinator rescanning when the
second Javadoc comment is inserted.  If you look at the format of the
minibuffer message:

   Contents.java: [######################################] ... done

This is coming from working.el in the semantic bovinator release.  I can
even customize these bovinator messages (spinning bar, etc.).

I'm not sure what's causing bovinator to do this.  Do you see the same
behavior when inserting a second Javadoc comment??

Dave

> At 09:31 AM 8/31/00 -0400, you wrote:
>>Actually, I'm mistaken (I think) about the symptoms.  I *thought* it was
>>fontifying because I see the following progress bar in my minibuffer
>>(shortened for clarity)
>>
>>   Contents.java: [######################################] ... done
>>
>>But this doesn't appear to be font-lock's message because if I call
>>"M-x font-lock-fontify-buffer" I get the following in my minibuffer:
>>
>>   Fontifying Contents.java... (regexps.............)
>>
>>So what exactly is being done?  I looked all over and I haven't yet
>>found who is generating this message.  Bovinator??
>>

> Bovinator.

> In JDE 2.2.2, the only time the bovinator scans the buffer is when the
> buffer is loaded or you select rescan on the Classes menu.

> Changes in the buffer should not trigger a rescan AFAIK.

> - Paul


>>Dave
>>
>>
>>
>>Wednesday, August 30, 2000, 9:29:50 AM, you wrote:
>>
>>> try using lazy font lock -- much faster.
>>
>>> -- from sample.emacs --
>>> ;;; ********************
>>> ;;; lazy-lock is a package which speeds up the highlighting of files
>>> ;;; by doing it "on-the-fly" -- only the visible portion of the
>>> ;;; buffer is fontified.  The results may not always be quite as
>>> ;;; accurate as using full font-lock or fast-lock, but it's *much*
>>> ;;; faster.  No more annoying pauses when you load files.
>>
>>> (add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
>>> ;; I personally don't like "stealth mode" (where lazy-lock starts
>>> ;; fontifying in the background if you're idle for 30 seconds)
>>> ;; because it takes too long to wake up again on my piddly Sparc 1+.
>>> (setq lazy-lock-stealth-time nil)
>>
>>
>>>> -----Original Message-----
>>>> From: Dave Zelnis [mailto:[EMAIL PROTECTED]]
>>>> Sent: Wednesday, August 30, 2000 7:38 AM
>>>> To: [EMAIL PROTECTED]
>>>> Subject: font-locking and javadoc
>>>> 
>>>> 
>>>> I'm using a fairly vanilla font-lock mode along with the JDE.  I can
>>>> insert a Javadoc comment (C-c C-v j) the *first* time no problem.
>>>> However, the second time (and beyond) that I insert a Javadoc comment
>>>> in that same source file, font-lock decides to re-fontify the entire
>>>> buffer.  This can be a pain on larger buffers on slower machines.  It
>>>> doesn't matter what I'm documenting (class/variable/method).
>>>> 
>>>> If I run a macro (instead of jde-javadoc-generate-javadoc-template)
>>>> that inserts some Javadoc text into the buffer at that point I don't
>>>> see this behavior.
>>>> 
>>>> Does anyone else see this?  Is this a "bug" or a "feature"?  
>>>> Can I stop
>>>> it from happening?
>>>> 
>>>> I do NOT see this behavior running "emacs -q" so I don't 
>>>> think it's in my
>>>> setup.
>>>> 
>>>> Dave
>>>> 
>>>> 
>>>> 
>>>> __________________________________________________
>>>> Do You Yahoo!?
>>>> Talk to your friends online with Yahoo! Messenger.
>>>> http://im.yahoo.com
>>>> 
>>
>>
>>try using lazy font lock -- much faster.
>>
>>-- from sample.emacs --
>>;;; ********************
>>;;; lazy-lock is a package which speeds up the highlighting of files
>>;;; by doing it "on-the-fly" -- only the visible portion of the
>>;;; buffer is fontified.  The results may not always be quite as
>>;;; accurate as using full font-lock or fast-lock, but it's *much*
>>;;; faster.  No more annoying pauses when you load files.
>>
>>(add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
>>;; I personally don't like "stealth mode" (where lazy-lock starts
>>;; fontifying in the background if you're idle for 30 seconds)
>>;; because it takes too long to wake up again on my piddly Sparc 1+.
>>(setq lazy-lock-stealth-time nil)
>>
>>
>>> -----Original Message-----
>>> From: Dave Zelnis [mailto:[EMAIL PROTECTED]]
>>> Sent: Wednesday, August 30, 2000 7:38 AM
>>> To: [EMAIL PROTECTED]
>>> Subject: font-locking and javadoc
>>> 
>>> 
>>> I'm using a fairly vanilla font-lock mode along with the JDE.  I can
>>> insert a Javadoc comment (C-c C-v j) the *first* time no problem.
>>> However, the second time (and beyond) that I insert a Javadoc comment
>>> in that same source file, font-lock decides to re-fontify the entire
>>> buffer.  This can be a pain on larger buffers on slower machines.  It
>>> doesn't matter what I'm documenting (class/variable/method).
>>> 
>>> If I run a macro (instead of jde-javadoc-generate-javadoc-template)
>>> that inserts some Javadoc text into the buffer at that point I don't
>>> see this behavior.
>>> 
>>> Does anyone else see this?  Is this a "bug" or a "feature"?  
>>> Can I stop
>>> it from happening?
>>> 
>>> I do NOT see this behavior running "emacs -q" so I don't 
>>> think it's in my
>>> setup.
>>> 
>>> Dave
>>> 
>>> 
>>> 
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Talk to your friends online with Yahoo! Messenger.
>>> http://im.yahoo.com
>>> 
>>
>>
>>
>>_________________________________________________________
>>Do You Yahoo!?
>>Get your free @yahoo.com address at http://mail.yahoo.com
>>
>>e messages.

Thursday, August 31, 2000, 6:03:58 AM, you wrote:

> At 09:31 AM 8/31/00 -0400, you wrote:
>>Actually, I'm mistaken (I think) about the symptoms.  I *thought* it was
>>fontifying because I see the following progress bar in my minibuffer
>>(shortened for clarity)
>>
>>   Contents.java: [######################################] ... done
>>
>>But this doesn't appear to be font-lock's message because if I call
>>"M-x font-lock-fontify-buffer" I get the following in my minibuffer:
>>
>>   Fontifying Contents.java... (regexps.............)
>>
>>So what exactly is being done?  I looked all over and I haven't yet
>>found who is generating this message.  Bovinator??
>>

> Bovinator.

> In JDE 2.2.2, the only time the bovinator scans the buffer is when the
> buffer is loaded or you select rescan on the Classes menu.

> Changes in the buffer should not trigger a rescan AFAIK.

> - Paul


>>Dave
>>
>>
>>
>>Wednesday, August 30, 2000, 9:29:50 AM, you wrote:
>>
>>> try using lazy font lock -- much faster.
>>
>>> -- from sample.emacs --
>>> ;;; ********************
>>> ;;; lazy-lock is a package which speeds up the highlighting of files
>>> ;;; by doing it "on-the-fly" -- only the visible portion of the
>>> ;;; buffer is fontified.  The results may not always be quite as
>>> ;;; accurate as using full font-lock or fast-lock, but it's *much*
>>> ;;; faster.  No more annoying pauses when you load files.
>>
>>> (add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
>>> ;; I personally don't like "stealth mode" (where lazy-lock starts
>>> ;; fontifying in the background if you're idle for 30 seconds)
>>> ;; because it takes too long to wake up again on my piddly Sparc 1+.
>>> (setq lazy-lock-stealth-time nil)
>>
>>
>>>> -----Original Message-----
>>>> From: Dave Zelnis [mailto:[EMAIL PROTECTED]]
>>>> Sent: Wednesday, August 30, 2000 7:38 AM
>>>> To: [EMAIL PROTECTED]
>>>> Subject: font-locking and javadoc
>>>> 
>>>> 
>>>> I'm using a fairly vanilla font-lock mode along with the JDE.  I can
>>>> insert a Javadoc comment (C-c C-v j) the *first* time no problem.
>>>> However, the second time (and beyond) that I insert a Javadoc comment
>>>> in that same source file, font-lock decides to re-fontify the entire
>>>> buffer.  This can be a pain on larger buffers on slower machines.  It
>>>> doesn't matter what I'm documenting (class/variable/method).
>>>> 
>>>> If I run a macro (instead of jde-javadoc-generate-javadoc-template)
>>>> that inserts some Javadoc text into the buffer at that point I don't
>>>> see this behavior.
>>>> 
>>>> Does anyone else see this?  Is this a "bug" or a "feature"?  
>>>> Can I stop
>>>> it from happening?
>>>> 
>>>> I do NOT see this behavior running "emacs -q" so I don't 
>>>> think it's in my
>>>> setup.
>>>> 
>>>> Dave
>>>> 
>>>> 
>>>> 
>>>> __________________________________________________
>>>> Do You Yahoo!?
>>>> Talk to your friends online with Yahoo! Messenger.
>>>> http://im.yahoo.com
>>>> 
>>
>>
>>try using lazy font lock -- much faster.
>>
>>-- from sample.emacs --
>>;;; ********************
>>;;; lazy-lock is a package which speeds up the highlighting of files
>>;;; by doing it "on-the-fly" -- only the visible portion of the
>>;;; buffer is fontified.  The results may not always be quite as
>>;;; accurate as using full font-lock or fast-lock, but it's *much*
>>;;; faster.  No more annoying pauses when you load files.
>>
>>(add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
>>;; I personally don't like "stealth mode" (where lazy-lock starts
>>;; fontifying in the background if you're idle for 30 seconds)
>>;; because it takes too long to wake up again on my piddly Sparc 1+.
>>(setq lazy-lock-stealth-time nil)
>>
>>
>>> -----Original Message-----
>>> From: Dave Zelnis [mailto:[EMAIL PROTECTED]]
>>> Sent: Wednesday, August 30, 2000 7:38 AM
>>> To: [EMAIL PROTECTED]
>>> Subject: font-locking and javadoc
>>> 
>>> 
>>> I'm using a fairly vanilla font-lock mode along with the JDE.  I can
>>> insert a Javadoc comment (C-c C-v j) the *first* time no problem.
>>> However, the second time (and beyond) that I insert a Javadoc comment
>>> in that same source file, font-lock decides to re-fontify the entire
>>> buffer.  This can be a pain on larger buffers on slower machines.  It
>>> doesn't matter what I'm documenting (class/variable/method).
>>> 
>>> If I run a macro (instead of jde-javadoc-generate-javadoc-template)
>>> that inserts some Javadoc text into the buffer at that point I don't
>>> see this behavior.
>>> 
>>> Does anyone else see this?  Is this a "bug" or a "feature"?  
>>> Can I stop
>>> it from happening?
>>> 
>>> I do NOT see this behavior running "emacs -q" so I don't 
>>> think it's in my
>>> setup.
>>> 
>>> Dave
>>> 
>>> 
>>> 
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Talk to your friends online with Yahoo! Messenger.
>>> http://im.yahoo.com
>>> 
>>
>>
>>
>>_________________________________________________________
>>Do You Yahoo!?
>>Get your free @yahoo.com address at http://mail.yahoo.com
>>
>>


At 09:31 AM 8/31/00 -0400, you wrote:
>Actually, I'm mistaken (I think) about the symptoms.  I *thought* it was
>fontifying because I see the following progress bar in my minibuffer
>(shortened for clarity)
>
>   Contents.java: [######################################] ... done
>
>But this doesn't appear to be font-lock's message because if I call
>"M-x font-lock-fontify-buffer" I get the following in my minibuffer:
>
>   Fontifying Contents.java... (regexps.............)
>
>So what exactly is being done?  I looked all over and I haven't yet
>found who is generating this message.  Bovinator??
>

Bovinator.

In JDE 2.2.2, the only time the bovinator scans the buffer is when the
buffer is loaded or you select rescan on the Classes menu.

Changes in the buffer should not trigger a rescan AFAIK.

- Paul


>Dave
>
>
>
>Wednesday, August 30, 2000, 9:29:50 AM, you wrote:
>
>> try using lazy font lock -- much faster.
>
>> -- from sample.emacs --
>> ;;; ********************
>> ;;; lazy-lock is a package which speeds up the highlighting of files
>> ;;; by doing it "on-the-fly" -- only the visible portion of the
>> ;;; buffer is fontified.  The results may not always be quite as
>> ;;; accurate as using full font-lock or fast-lock, but it's *much*
>> ;;; faster.  No more annoying pauses when you load files.
>
>> (add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
>> ;; I personally don't like "stealth mode" (where lazy-lock starts
>> ;; fontifying in the background if you're idle for 30 seconds)
>> ;; because it takes too long to wake up again on my piddly Sparc 1+.
>> (setq lazy-lock-stealth-time nil)
>
>
>>> -----Original Message-----
>>> From: Dave Zelnis [mailto:[EMAIL PROTECTED]]
>>> Sent: Wednesday, August 30, 2000 7:38 AM
>>> To: [EMAIL PROTECTED]
>>> Subject: font-locking and javadoc
>>> 
>>> 
>>> I'm using a fairly vanilla font-lock mode along with the JDE.  I can
>>> insert a Javadoc comment (C-c C-v j) the *first* time no problem.
>>> However, the second time (and beyond) that I insert a Javadoc comment
>>> in that same source file, font-lock decides to re-fontify the entire
>>> buffer.  This can be a pain on larger buffers on slower machines.  It
>>> doesn't matter what I'm documenting (class/variable/method).
>>> 
>>> If I run a macro (instead of jde-javadoc-generate-javadoc-template)
>>> that inserts some Javadoc text into the buffer at that point I don't
>>> see this behavior.
>>> 
>>> Does anyone else see this?  Is this a "bug" or a "feature"?  
>>> Can I stop
>>> it from happening?
>>> 
>>> I do NOT see this behavior running "emacs -q" so I don't 
>>> think it's in my
>>> setup.
>>> 
>>> Dave
>>> 
>>> 
>>> 
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Talk to your friends online with Yahoo! Messenger.
>>> http://im.yahoo.com
>>> 
>
>
>try using lazy font lock -- much faster.
>
>-- from sample.emacs --
>;;; ********************
>;;; lazy-lock is a package which speeds up the highlighting of files
>;;; by doing it "on-the-fly" -- only the visible portion of the
>;;; buffer is fontified.  The results may not always be quite as
>;;; accurate as using full font-lock or fast-lock, but it's *much*
>;;; faster.  No more annoying pauses when you load files.
>
>(add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
>;; I personally don't like "stealth mode" (where lazy-lock starts
>;; fontifying in the background if you're idle for 30 seconds)
>;; because it takes too long to wake up again on my piddly Sparc 1+.
>(setq lazy-lock-stealth-time nil)
>
>
>> -----Original Message-----
>> From: Dave Zelnis [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, August 30, 2000 7:38 AM
>> To: [EMAIL PROTECTED]
>> Subject: font-locking and javadoc
>> 
>> 
>> I'm using a fairly vanilla font-lock mode along with the JDE.  I can
>> insert a Javadoc comment (C-c C-v j) the *first* time no problem.
>> However, the second time (and beyond) that I insert a Javadoc comment
>> in that same source file, font-lock decides to re-fontify the entire
>> buffer.  This can be a pain on larger buffers on slower machines.  It
>> doesn't matter what I'm documenting (class/variable/method).
>> 
>> If I run a macro (instead of jde-javadoc-generate-javadoc-template)
>> that inserts some Javadoc text into the buffer at that point I don't
>> see this behavior.
>> 
>> Does anyone else see this?  Is this a "bug" or a "feature"?  
>> Can I stop
>> it from happening?
>> 
>> I do NOT see this behavior running "emacs -q" so I don't 
>> think it's in my
>> setup.
>> 
>> Dave
>> 
>> 
>> 
>> __________________________________________________
>> Do You Yahoo!?
>> Talk to your friends online with Yahoo! Messenger.
>> http://im.yahoo.com
>> 
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to