help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: writing Python in Emacs


From: Thierry Volpiatto
Subject: Re: writing Python in Emacs
Date: Sat, 19 Jan 2008 19:08:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

I started to use Ipython in emacs recently and it's quite nice.
There is not all the features you require (hints like in idle)
but the output is in color and nice for debugging.
The completion is also much better.

Richard Szopa <ryszard.szopa@gmail.com> writes:

> Hi All,
>
> I am a devoted Emacs user and I write a lot in Python. However, I
> never managed to get my Emacs configuration right for this purpose.
> There were some discussions on this, but the threads that show if I
> search the group are either old or not so relevant.
>
> I need the following features:
>
> 0) Of course, syntax coloring and so on... But this works good enough
> ootb in the two most popular python-modes.
>
> 1) Tab completion, ideally Slime like. That is, when there's not
> enough letters to unambiguously complete a symbol, I want it to show a
> buffer (w/o taking the focus) w/ the possible completions. In an ideal
> world, it would be able to complete fo.ba<TAB> to foo.bar. I imagine
> this would require quite tight Emacs-Python integration.
>
> 2) Sending the toplevel definition (class or function) to the Python
> buffer.
>
> 3) Hints on function/method arguments. IDLE has this done nearly
> right, but the hints are a bit too intrusive for me. I would like to
> see them in the minibuffer.
>
> 4) (optional) I would like to see the definition of a function
> function or class by hitting M-. on its name. (I understand that this
> may be impossible for methods, as Emacs would have to automagically
> infer the type of the object).
>
> I have tried a couple of times both python-modes (the one shipped w/
> Python and the one shipped w/ Emacs), pymacs and stuff like that...
> And, as I said, never got it right. But, maybe I just cannot find the
> way to configure it, and some configuration hints will be enough...
>
> As for other editors, I have tried Eclipse and Komodo... But I cannot
> get used to them. As for non-emacs stuff, the most comfortable for me
> has been IDLE.
>
> Cheers and thanks in advance,
>
>     -- Richard
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>

-- 
A + Thierry
Pub key: http://pgp.mit.edu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]