From: Richard Szopa <ryszard.szopa@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: writing Python in Emacs
Date: Sat, 19 Jan 2008 04:01:48 -0800 (PST) [thread overview]
Message-ID: <160ed936-c8c0-432e-81c8-c62b8f164136__1414.69574668935$1200761913$gmane$org@s13g2000prd.googlegroups.com> (raw)
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
next reply other threads:[~2008-01-19 12:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-19 12:01 Richard Szopa [this message]
[not found] <160ed936-c8c0-432e-81c8-c62b8f164136@s13g2000prd.googlegroups.com>
2008-01-19 16:51 ` writing Python in Emacs Terry Jones
2008-01-19 20:41 ` Thierry Volpiatto
2008-01-20 14:35 ` Jorgen Grahn
2008-01-20 15:42 ` Rob Wolfe
[not found] ` <87r6gc5wr5.fsf@merkury.smsnet.pl>
2008-01-20 22:35 ` Thierry Volpiatto
2008-01-21 7:59 ` Thierry Volpiatto
2008-01-31 0:03 ` Ryszard Szopa
2008-01-31 3:28 ` alitosis
2008-01-19 18:08 ` Thierry Volpiatto
2008-01-19 18:18 ` Lennart Borgman (gmail)
2008-01-19 20:29 ` Thierry Volpiatto
[not found] <slrnfp6n1u.c76.grahn+nntp@frailea.sa.invalid>
2008-01-20 19:28 ` Drew Adams
2008-01-20 20:01 ` Drew Adams
[not found] <mailman.6346.1200859328.18990.help-gnu-emacs@gnu.org>
2008-01-21 10:22 ` Richard G Riley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='160ed936-c8c0-432e-81c8-c62b8f164136__1414.69574668935$1200761913$gmane$org@s13g2000prd.googlegroups.com' \
--to=ryszard.szopa@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.