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: Tue, 28 Apr 2009 18:55:07 +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 1240940453 4617 80.91.229.12 (28 Apr 2009 17:40:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2009 17:40:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 28 19:40:44 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 1LyrIR-0001zE-9K for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Apr 2009 19:40:44 +0200 Original-Received: from localhost ([127.0.0.1]:33804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyrIQ-0000vr-MI for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Apr 2009 13:40:42 -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: 98 Original-X-Trace: news.eternal-september.org U2FsdGVkX19MZrdgVMD4cJGd3VdiqNbTzpSIOpEMrqq0mcGKffoCj2jnyDViNkWbFmrkI3SRz+PFYhHdjWRoxgWcks1u1L+kHSSMd8O0zX4HX5kozcorpMeDGdqtGN+Dl8iPXsRqAA5LYvYGKm7uCA== Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Tue, 28 Apr 2009 16:55:09 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1+81cB3TcAp41CG2ZxqOSSCUojdo5QGBrO7zArbTZI7Iw== Cancel-Lock: sha1:ZWY0qIUuhxzR5fy5H1OPlP1ZtoQ= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:168807 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:64083 Archived-At: Xavier Maillard 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? > > 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 Yes, but keep it in the emacs wiki. Not "yet another" source - half the problem now is that its scattered all over the place. The issues with python-mode versioning is one such.