From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: thierry.volpiatto@gmail.com Newsgroups: gmane.emacs.help Subject: Re: python setup ? Date: Mon, 27 Apr 2009 15:50:32 +0200 Message-ID: <87y6tmtdcn.fsf@tux.homenetwork> 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 1240841244 10104 80.91.229.12 (27 Apr 2009 14:07:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2009 14:07:24 +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 16:07:15 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 1LyRUH-00074y-LA for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Apr 2009 16:07:15 +0200 Original-Received: from localhost ([127.0.0.1]:44736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyRUG-0003Mi-Pm for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Apr 2009 10:07:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LyRLE-0000dU-Q6 for help-gnu-emacs@gnu.org; Mon, 27 Apr 2009 09:57:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LyRL7-0000be-CF for help-gnu-emacs@gnu.org; Mon, 27 Apr 2009 09:57:50 -0400 Original-Received: from [199.232.76.173] (port=35959 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyRL6-0000bG-Kr for help-gnu-emacs@gnu.org; Mon, 27 Apr 2009 09:57:44 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:36611 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LyRL5-0008QQ-MI for help-gnu-emacs@gnu.org; Mon, 27 Apr 2009 09:57:44 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LyRKw-0001ev-4k for help-gnu-emacs@gnu.org; Mon, 27 Apr 2009 13:57:34 +0000 Original-Received: from 138.211.85-79.rev.gaoland.net ([79.85.211.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Apr 2009 13:57:34 +0000 Original-Received: from thierry.volpiatto by 138.211.85-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Apr 2009 13:57:34 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 151 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 138.211.85-79.rev.gaoland.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUHAwNfJRBVTESlTym0 RB/OwKFivhZqAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABeElE QVQ4y3VTW47CMAyMwwUyTfYfUvG/wfC/ET4B0t7/KmsHurRgXFVVPRm/xglhsRj2+npW98G3+Amp tS5BXxl3SqzcXGRuEyf7n5lPA9jXetNPRhE7EJkzfz8YWnIgBSwW95TK4H79/t4GINKNADWj4PgA DiJX/ZxFDzDXeb4oYMw7kNUvyMzcaj3ioICG4hCKEShkPpwQ49Q05nnkGAQLDFDdExjm0qpowBYA Wi61bDlFU1GW0WbY2dSJYX5ZD2S0AiZL+rPyE19TpMzP2IvNWly+NkuWNgD4pO2oL73IQXoSyVX2 NHna7tgadWRXoCdvf2guqEcvGHqZwE520iRD0/QCYiiTE+U21w1Qxvg6iSp9fbIiDCnSAelDkCVF Vn+HekqXzRybwJ40xF4DMRG6SWGK9G1lYzHSxLYEm05GWbpJCB6A9tb9A3BGn2XdwJbS/WuInj74 4QNF8sVFdP3vl+5tgYp4Ev7fyrfFMkXgElDgV4uV/w8TWEeLCIGJ/AAAACV0RVh0Y3JlYXRlLWRh dGUAMjAwOC0wNS0zMVQyMDoxNDoyMiswMDowMAS7YjIAAAARdEVYdGpwZWc6Y29sb3JzcGFjZQAy LHVVnwAAACB0RVh0anBlZzpzYW1wbGluZy1mYWN0b3IAMngyLDF4MSwxeDFJ+qa0AAAAJXRFWHRt b2RpZnktZGF0ZQAyMDA3LTEwLTI4VDE2OjA4OjQ4KzAwOjAw44nspgAAAABJRU5ErkJggg== User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.92 (gnu/linux) Cancel-Lock: sha1:PUApip0Gagl8puACxtWor1F+66U= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:64047 Archived-At: Hi Richard, Richard Riley writes: > 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? I use this actually: http://article.gmane.org/gmane.emacs.help/50837/match=pycomplete That is the only pycomplete that work fine for me, it's really nice, the author should put it on emacswiki or send it as a patch for python-mode package. The pycomplete that come with python-mode doesn't work for me. I don't know pysmell, and i don't use company, auto-complete etc... >> >> 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/ >>>> >>>> >>>> >>>> >>>> >>> >>> >> >> >> -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France