Re: Ecb-list Digest, Vol 25, Issue 3

"Eric M. Ludlam" <[email protected]>
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
>>> [email protected] seems to think that:
>
>The methods buffer is cleared after a few minutes of idle time because
>the idle time triggers semantic's background parsing, which loads files
>into an invisible buffer for analysing. I'm not sure if this is the
>right solution to the problem but the following patch seems to work for
>me.
>
>--- ecb-method-browser.el.~1.82.~	Thu May  8 22:03:44 2008
>+++ ecb-method-browser.el	Tue Dec 30 09:05:35 2008
>@@ -2830,6 +2830,7 @@
>              (equal (selected-frame) ecb-frame)
>              (get-buffer-window ecb-methods-buffer-name)
>              (buffer-file-name (current-buffer))             
>+             (< 0 (length (get-buffer-window-list (current-buffer))))
>              ;; The functions of the hook
>              ;; `semantic-after-toplevel-cache-change-hook' are also called
>              ;; after clearing the cache to set the cache to nil if a buffer
>

Sorry about the lame reply from my digest email.

If ECB has some special hook or feature I need to disable during
invisible parsing, I can add it to semantic-find-file-noselect.  See
that function for details on what it does.

Let me know if there is something handy I can add there to help.

Thanks
Eric

-- 
          Eric Ludlam:                       [email protected]
   Siege: www.siege-engine.com          Emacs: http://cedet.sourceforge.net

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.