From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jorgen Grahn Newsgroups: gmane.emacs.help Subject: Re: writing Python in Emacs Date: 20 Jan 2008 14:35:26 GMT Message-ID: References: <160ed936-c8c0-432e-81c8-c62b8f164136@s13g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1200840147 18639 80.91.229.12 (20 Jan 2008 14:42:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jan 2008 14:42:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 20 15:42:44 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JGbNj-0003hy-EI for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Jan 2008 15:42:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGbNK-0006Nw-1I for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Jan 2008 09:42:18 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: comp.lang.python,gnu.emacs.help Original-Followup-To: comp.lang.python Original-Lines: 51 Original-X-Trace: individual.net 32YuwjeunhOvgwS8k4JiOgpkCU4a/RzoCkW61UEAZMPXyuusSQ Cancel-Lock: sha1:GQbYEvRcBkiOUtg50M2kSVLoFGA= User-Agent: slrn/0.9.8.1pl1 (Debian) Original-Xref: shelby.stanford.edu comp.lang.python:528061 gnu.emacs.help:155429 X-Mailman-Approved-At: Sun, 20 Jan 2008 09:42:01 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50833 Archived-At: ["Followup-To:" header set to comp.lang.python.] On Sat, 19 Jan 2008 17:51:50 +0100, Terry Jones wrote: >>>>>> "Richard" == Richard Szopa writes: > >Richard> I am a devoted Emacs user and I write a lot in Python. > > Me too. > >Richard> I need the following features: > >Richard> 1) Tab completion, ideally Slime like. That is, when there's not >Richard> enough letters to unambiguously complete a symbol, I want it to >Richard> show a buffer (w/o taking the focus) w/ the possible >Richard> completions. In an ideal world, it would be able to complete >Richard> fo.ba to foo.bar. I imagine this would require quite tight >Richard> Emacs-Python integration. > > I know this is not what you want, but I use hippie expand (M-/) to cycle > through possible completions. It's not Python aware, but it is of some use. Also known as dabbrev-expand, and tied to Ctrl-TAB. I like it *a lot*, and I like it even more because it *isn't* Python aware. I can use the same function no matter what I am typing, often with files noone would dream of writing a mode for. ... >Richard> 4) (optional) I would like to see the definition of a function >Richard> function or class by hitting M-. on its name. (I understand that >Richard> this may be impossible for methods, as Emacs would have to >Richard> automagically infer the type of the object). > > This is just an emacs tag file need. Have you googled for something like > emacs tags python? Tags works fine, or at least as well as can be expected. I use the 'etags' which comes with 'ctags', apparently. > If you have the time, please summarize your findings. The emacs/python > world has always seemed quite amorphous to me too. I don't know; python-mode colorizes well and it knows how to help me keep the indentation sane. The Eclipse users I have seen seem to have more problems than I have, for example. /Jorgen -- // Jorgen Grahn R'lyeh wgah'nagl fhtagn!