Re: [Python-mode] [PDEE] CEDET integration with python-mode.el?

2010-03-20 Thread Rohan Nicholls
On Sat, Mar 20, 2010 at 3:22 AM, Yaroslav Halchenko
li...@onerussian.com wrote:

 On Tue, 16 Mar 2010, Tom Roche wrote:

 It Seems To Me (quite possibly naively) that the best/easiest way to
 get smarter completion particularly, and several more services
 besides, is to use CEDET
 or may be (citing my post earlier in this list):

 Ipython + python-mode + python-ropemacs + pylint + flymake + outline
 make emacs very well featured for Python mode development
 (completions, documentation lookup, jump to definition, etc). You might
 look into my messy .emacs setup [1] or excerpt from it, which I placed
 into pymvpa project [2], on how to make such combination work nicely.

I have also used such a setup, and it has a lot to offer, but I found
that it really dies on you when you work with big projects.  I think
it is the rope library, because working on a zope project or the large
code base I was working on at my last job, and getting a completion or
saving a file would make everything really, really slow, or worse,
send rope into a complete tailspin.

I would love to see python and cedet come together, as there is so
much functionality out of the box with cedet, while with rope etc. the
project browsing is seriously lacking, as was semantic code
completion.

As fabulous as ipython is, it only understands what it has processed,
and has problems (not its fault, this is something that lies deep in
the python interpretor itself) updating the object environment, so
updating functions, methods and classes with ipython does not
necessarily update the current objects, in fact more often than not
doesn't.

I would also like to add; there is no really good python development
tools, and if pdee came about combining the cedet functionality with
good debugging integration, it would be ahead of current python ides
(IMHO).  About the debugging, I was thinking that maybe creating an
emacs frontend to rpdb (command line version of the winpdb debugger),
which seems to handle threading as well if not better than anyone
else.  Pdb falls down horribly when dealing with multi-threaded
applications such as a wx-python or zope app.

One thing that is really nice about rope, is that it does handle
refactoring really well, in fact it had a lot of features that wingide
could not match (I have used both), but maybe cedet has these
facilities.

Anyway, that was my thinking. Do I have the slightest clue where to
start to make this happen?  Nope.  But I am still working in python,
and at the moment with zope, so I need to find or help build a
solution, and if it uses emacs as its frontend so much the better.

Thanks,

Rohan
___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode


Re: [Python-mode] [PDEE] CEDET integration with python-mode.el?

2010-03-20 Thread Yaroslav Halchenko

On Sat, 20 Mar 2010, Rohan Nicholls wrote:
  Ipython + python-mode + python-ropemacs + pylint + flymake + outline
  ...
 I have also used such a setup, and it has a lot to offer, but I found
 that it really dies on you when you work with big projects.  I think
 ...
I had similar slowdown/cpu_intensive experience with some versions of
pylint and more or less large projects but then it somehow became sane
again (didn't check if any recent version changelog had any
performance/dependecy_tracking improvements  mentioned)

 emacs frontend to rpdb (command line version of the winpdb debugger),
 which seems to handle threading as well if not better than anyone
 else.  Pdb falls down horribly when dealing with multi-threaded
 applications such as a wx-python or zope app.
what about pydb (or even may be a new rewrite pydbgr ?)  I bet Rocky
(their author) who is also an emacs user might like to join the forces
to provide adequate glue? (CCing him just in case... for the complete
thread see 

http://mail.python.org/pipermail/python-mode/2010-March/000751.html
-- 
  .-.
=--   /v\  =
Keep in touch// \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko  /(   )\   ICQ#: 60653192
   Linux User^^-^^[17]


___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode