ECB now smoothly supports partial reparsing which preserves collapse/expand-state of methods-window (was: ECB 2.40 released!)

View: New views
2 Messages — Rating Filter:   Alert me  

ECB now smoothly supports partial reparsing which preserves collapse/expand-state of methods-window (was: ECB 2.40 released!)

by klaus.berndl-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Now i have up and running an ECB which smoothly supports the partial reparse feature of semantic and therefore only updates these tree-nodes of the methods-window which are related to the reparsed tags. This preserves most of the time the expand/collapse state of the methods-window during editing...

See the file NEWS for some details ....

I have checked in the sources and also updated the CVS-snapshot downloadable from the ECB-website

Please test it and tell me if you encounter problems with the idle-update of the methods-window...

In such a problem-case please do the following:

1. M-: (setq ecb-partial-reparse-debug t) RET
   This enables debugging output of the new partial reparse/update
   support of ECB
2. Reproduce the problem - now debugging infos are written to the
   Messages-buffer
3. M-x ecb-submit-problem-report
4. send this problem report to this list

If the problems prevent you from working with ECB then you can add the following into your .emacs-file:
(setq ecb-partial-reparse-always-full-fetch t)
This reactivates the old behavior of ECB 2.40 which is proven to work

Ciao,
Klaus

-----Ursprüngliche Nachricht-----
Von: Don Dwiggins [mailto:ddwiggins@...]
Gesendet: Dienstag, 19. Mai 2009 20:26
An: ecb-list@...
Betreff: Re: [ECB-list] ECB 2.40 released!

klaus.berndl@... wrote:
 > So, here my recipe: Activate the semantic-python-parser for your code  > and bob will be your uncle ;-)

I have to admit, I haven't figured out how to "Activate the semantic-python-parser".  I see that there's a wisent parser for python, and I've tried a few things, but nothing seems to do the trick.

I noted the following in the Messages buffer, FWIW (this comes during loading of my Python file):
 > Language Python exists, assuming attribute modification  > Loading wisent-python...
 > Loading semantic-decorate-include...done  > Loading wisent-python...done  > Loading semantic-edit...done  > Loading semanticdb-file...done  > Cache Error:
[c:/Unix/.semanticdb/!drive_c!Dwig!Falcon!Development!Online!RCAServer!semantic.cache]
(invalid-read-syntax . in wrong context), Restart [2 times]
Also:
> At least for my this works only when i explicitly load the library
> python.el, e.g. by (require 'python) in my .emacs

I tried that (tried putting it before and after the CEDET and ECB stuff), with no difference.

BTW, I'm working with PHP and Javascript files as well; will I have to do something special for them?

Eric, thanks for chiming in.  I'll try your "script" and reply.

--

Don Dwiggins
Advanced Publishing Technology


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list

Re: ECB now smoothly supports partial reparsing which preserves collapse/expand-state of methods-window (was: ECB 2.40 released!)

by Don Dwiggins-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

klaus.berndl@... wrote:
> Hi,
>
> Now i have up and running an ECB which smoothly supports the partial reparse feature of semantic and therefore only updates these tree-nodes of the methods-window which are related to the reparsed tags. This preserves most of the time the expand/collapse state of the methods-window during editing...
>
> See the file NEWS for some details ....
>
> I have checked in the sources and also updated the CVS-snapshot downloadable from the ECB-website
>
> Please test it and tell me if you encounter problems with the idle-update of the methods-window...

Thanks for working on this; it works fine with a little testing.  I'll
let you know if something breaks after more extensive usage.

--
Don Dwiggins
Advanced Publishing Technology


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Ecb-list mailing list
Ecb-list@...
https://lists.sourceforge.net/lists/listinfo/ecb-list