From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.help Subject: Re: python setup ? Date: Tue, 28 Apr 2009 08:34:43 +0200 Organization: GNU's Not UNIX! Message-ID: <200904280634.n3S6YhVL009296@zogzog.maillard.mobi> Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1240900579 24203 80.91.229.12 (28 Apr 2009 06:36:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2009 06:36:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, rileyrgdev@googlemail.com To: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 28 08:36:10 2009 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 1LygvJ-0008Lx-Hh for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Apr 2009 08:36:09 +0200 Original-Received: from localhost ([127.0.0.1]:41450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LygvI-0007N7-Vt for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Apr 2009 02:36:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lyguq-0007Li-Sc for help-gnu-emacs@gnu.org; Tue, 28 Apr 2009 02:35:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lygup-0007Kt-G9 for help-gnu-emacs@gnu.org; Tue, 28 Apr 2009 02:35:40 -0400 Original-Received: from [199.232.76.173] (port=56644 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lygup-0007Kl-98 for help-gnu-emacs@gnu.org; Tue, 28 Apr 2009 02:35:39 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:5827) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lyguo-0002DZ-MP for help-gnu-emacs@gnu.org; Tue, 28 Apr 2009 02:35:39 -0400 Original-Received: from ded1.conovae.com ([88.191.52.166] helo=mf1.conovae.net) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lygun-0007a1-LC for help-gnu-emacs@gnu.org; Tue, 28 Apr 2009 02:35:38 -0400 Original-Received: by mf1.conovae.net (Postfix, from userid 10) id 0E01826014F; Tue, 28 Apr 2009 08:33:57 +0200 (CEST) Original-Received: from zogzog.maillard.mobi (IDENT:1000@localhost [127.0.0.1]) by zogzog.maillard.mobi (8.14.3/8.13.8) with ESMTP id n3S6Yifn009297; Tue, 28 Apr 2009 08:34:44 +0200 Original-Received: (from xma@localhost) by zogzog.maillard.mobi (8.14.3/8.13.8/Submit) id n3S6YhVL009296; Tue, 28 Apr 2009 08:34:43 +0200 In-reply-to: message from =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= on Mon, 27 Apr 2009 13:08:35 +0200 User-Agent: Rmail GNU emacs 23.0 on Slackware 12.2.0 Jabber-ID: xma01@jabber.fr Original-References: X-UUCPssh-Information: Please contact the ISP for more information X-UUCPssh: Found to be clean X-UUCPssh-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-UUCPssh-From: xma@gnu.org X-detected-kernel: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:64061 Archived-At: Richard Riley wrote: > Andreas R=F6hler writes: > > =20 >> Richard Riley wrote: >> =20 >>> Richard Riley writes: >>> >>> =20 >>> =20 >>>> Xavier Maillard writes: >>>> >>>> =20 >>>> =20 >>>>> Hi, >>>>> >>>>> I am starting to do some work with python. I am looking for >>>>> options/setups to introduce into my .emacs file to have the best >>>>> experience possible with this scripting language. >>>>> >>>>> Where should I start ? >>>>> >>>>> Regards >>>>> >>>>> Xavier >>>>> =20 >>>>> =20 >>>> I played with some python options last year and it was, unfortuna= tely, >>>> rather messy. There were some conflicts between packages any pyth= on >>>> versions. For what its worth, the following was working back when= with >>>> emacs 23: >>>> >>>> http://www.emacswiki.org/emacs/PythonMode#toc11 >>>> http://richardriley.net/projects/emacs/dotprogramming#sec-1.3 >>>> >>>> It includes autocompletion from autocomplete using pysmell. Anoth= er >>>> possible integration for eclim and the eclipse engine I would hav= e >>>> thought. >>>> >>>> The iPython bit is commented out - I can't remember why off the t= op of >>>> my head. The pymacs git repository seems dead too unfortunately.= =20 >>>> >>>> The python-mode used is 5.1.0. >>>> >>>> >>>> =20 >>>> =20 >>> Just to follow up, I re-enabled the ipython bit and it worked fine= . I >>> had ipython 0.9.1 installed. >>> >>> The python config (for Linux) is then done in >>> ~/.ipython/ipy_user_conf.py >>> >>> =20 >>> =20 >> Hi, >> >> I've changed python-mode a little bit. >> Purpose was to make movements a little bit easier, >> more predictible. >> >> Comments welcome. >> >> BTW have a look at pydb from Rocky Bernstein, if not done already. >> >> Andreas >> =20 > > I see you have a pycomplete. Nicholaj Schum has jus put together a > company mode backend for pysmell. How does pycomplete compare to > pysmell? > =20 Thats part of the package kept by Barry Warsaw. Made a branch from it= , but changed only python-mode.el. I'm not sure to keep this files in my branch or not. Nonetheless, thanks for your question. I shall have a look at it and t= ry an answer next days. BTW as more things are at stake as python-mode.el, what would you thin= k about an archiv emacs-python, where all the stuff to edit python-code with emacs is collected? I vote for this idea. A kind of "python starter kit" would be very appreciated given how messy python (in emacs world) is... It is practically impossible to understand which tool is good and for what it is good. Xavier --=20 http://www.gnu.org http://www.april.org http://www.lolica.org