From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: python setup ? Date: Mon, 27 Apr 2009 13:15:40 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1240834556 16028 80.91.229.12 (27 Apr 2009 12:15:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2009 12:15:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 27 14:15:49 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 1LyPCh-0000qC-RB for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Apr 2009 13:40:56 +0200 Original-Received: from localhost ([127.0.0.1]:49283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyPCh-000853-CT for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Apr 2009 07:40:55 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!feeder.motzarella.org!news.motzarella.org!motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 134 Original-X-Trace: news.eternal-september.org U2FsdGVkX1+KCr+W7dlxfcOFY+HZqgpVtiIV/whCCjA74x/olMJcAupdn1XqDwvdHzn17OsScIOqe95gQRWU+2DeAKEGRQJ4q6YmIHVSwWD4mCe8nFSuAPVViM/NBEp940NBhCxa6qjEhepEDmWaYA== Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Mon, 27 Apr 2009 11:15:41 +0000 (UTC) X-Auth-Sender: U2FsdGVkX199jHN3Htu7cKE/JQcDYyRKvkdkdXV9DLjK0Btqr1WSYg== Cancel-Lock: sha1:w2PEcEBsInX2vLsu9xq9GmusAf8= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:168770 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:64043 Archived-At: Andreas Röhler writes: > Richard Riley wrote: >> Andreas Röhler writes: >> >> >>> Richard Riley wrote: >>> >>>> Richard Riley writes: >>>> >>>> >>>> >>>>> Xavier Maillard writes: >>>>> >>>>> >>>>> >>>>>> 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 >>>>>> >>>>>> >>>>> I played with some python options last year and it was, unfortunately, >>>>> rather messy. There were some conflicts between packages any python >>>>> 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. Another >>>>> possible integration for eclim and the eclipse engine I would have >>>>> thought. >>>>> >>>>> The iPython bit is commented out - I can't remember why off the top of >>>>> my head. The pymacs git repository seems dead too unfortunately. >>>>> >>>>> The python-mode used is 5.1.0. >>>>> >>>>> >>>>> >>>>> >>>> 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 >>>> >>>> >>>> >>> 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 >>> >> >> I see you have a pycomplete. Nicholaj Schum has jus put together a >> company mode backend for pysmell. How does pycomplete compare to >> pysmell? >> > > 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 try > an answer next days. > > BTW as more things are at stake as python-mode.el, what would you think > about an archiv > emacs-python, where all the stuff to edit python-code with emacs is > collected? To be honest, my feeling is that the last thing anyone needs is yet another python place. The wiki is already a mess of questions and answers and mode specific difficulties. Tie that in with emacs 23/22 and ipython or not, the numerous ways you can do python completion etc, it needs to be simplified not extended. Thanks for the heads up about pydb btw, nice. > > For me Launchpad seems perfect for such a thing with its email- and > bug-report-integration. > > There we could discuss the probably best emacs-python configuration - > which will change, > if someone brings up new things. I think the emacs wiki is best for this stuff purely because its "there" and there are numerous utilities to integrate emacs with emacs wiki pages. Just keep links to relevant pages. You might be right : point the wiki to launchpad and remove all the out of date stuff. What do others think? > > > Andreas > > > >> >> >>> -- >>> http://bazaar.launchpad.net/~a-roehler/python-mode/python-mode.el/files >>> https://code.launchpad.net/s-x-emacs-werkstatt/ >>> >>> >>> >>> >>> >> >> > > > --