<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Python / Emacs setup</title>
	<atom:link href="http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/</link>
	<description>John D. Cook</description>
	<lastBuildDate>Sat, 18 May 2013 20:21:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Emacs setup for Python development (tutorial for beginners)</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-94520</link>
		<dc:creator>Emacs setup for Python development (tutorial for beginners)</dc:creator>
		<pubDate>Wed, 24 Apr 2013 19:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-94520</guid>
		<description><![CDATA[[...] had a little help from Jessica Hamrick and John D. Cook so here is the list of the packages to install or [...]]]></description>
		<content:encoded><![CDATA[<p>[...] had a little help from Jessica Hamrick and John D. Cook so here is the list of the packages to install or [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vim Toutenhoofd</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-32690</link>
		<dc:creator>Vim Toutenhoofd</dc:creator>
		<pubDate>Wed, 03 Apr 2013 16:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-32690</guid>
		<description><![CDATA[Within a month or two I hope to take up programming again, after not having done that for many years.  I intend to write Python, using Emacs.  I&#039;m entering this comment here so I can then also check the box labeled &quot;Notify me of followup comments ...&quot;]]></description>
		<content:encoded><![CDATA[<p>Within a month or two I hope to take up programming again, after not having done that for many years.  I intend to write Python, using Emacs.  I&#8217;m entering this comment here so I can then also check the box labeled &#8220;Notify me of followup comments &#8230;&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronert Obst</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-24397</link>
		<dc:creator>Ronert Obst</dc:creator>
		<pubDate>Fri, 29 Mar 2013 20:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-24397</guid>
		<description><![CDATA[elpy bundles all these modes nicely. It is available on Melpa.]]></description>
		<content:encoded><![CDATA[<p>elpy bundles all these modes nicely. It is available on Melpa.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Hepburn</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-291</link>
		<dc:creator>Mark Hepburn</dc:creator>
		<pubDate>Thu, 31 Jan 2013 02:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-291</guid>
		<description><![CDATA[I didn&#039;t know fgallina&#039;s work was already shipping; that&#039;s great news.  It&#039;s under active development independently though, so you may still wish to look into it.]]></description>
		<content:encoded><![CDATA[<p>I didn&#8217;t know fgallina&#8217;s work was already shipping; that&#8217;s great news.  It&#8217;s under active development independently though, so you may still wish to look into it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-290</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 30 Jan 2013 12:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-290</guid>
		<description><![CDATA[David: Thanks for clarifying the python-mode history. Given your experience and Mark&#039;s with rope, I think I&#039;ll pass. When I read &quot;I spent a whole weekend trying,&quot; that was enough for me. :)

This article from &lt;a href=&quot;http://www.masteringemacs.org/articles/2013/01/10/jedi-completion-library-python/&quot; rel=&quot;nofollow&quot;&gt;Mastering Emacs&lt;/a&gt; describes rope as &quot;disappointing, slow, crash-prone, obtuse and impossible to extend. &quot; But the article speaks highly of Jedi.]]></description>
		<content:encoded><![CDATA[<p>David: Thanks for clarifying the python-mode history. Given your experience and Mark&#8217;s with rope, I think I&#8217;ll pass. When I read &#8220;I spent a whole weekend trying,&#8221; that was enough for me. <img src='http://www.johndcook.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This article from <a href="http://www.masteringemacs.org/articles/2013/01/10/jedi-completion-library-python/" rel="nofollow">Mastering Emacs</a> describes rope as &#8220;disappointing, slow, crash-prone, obtuse and impossible to extend. &#8221; But the article speaks highly of Jedi.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Röthlisberger</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-289</link>
		<dc:creator>David Röthlisberger</dc:creator>
		<pubDate>Wed, 30 Jan 2013 10:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-289</guid>
		<description><![CDATA[&quot;python-mode&quot; is ambiguous:
* Emacs has always† shipped the file &quot;python.el&quot; which implements a major mode called &quot;python-mode&quot;.
* Python folk released their own file, not shipped with Emacs, called &quot;python-mode.el&quot;. Emacs couldn&#039;t ship it due to copyright reasons.
* Fabián Ezequiel Gallina wrote, from scratch, a version of python.el that merged the best‡ features of python.el and python-mode.el. This is the version shipping with Emacs since 24.1.

In conclusion: Use the python-mode shipped with Emacs. If you&#039;re using an Emacs older than 24.1, upgrade!

Setting up rope with Emacs is so complicated I wouldn&#039;t bother. I spent a whole weekend trying and failed. You need rope (a python refactoring library), pymacs (a system that allows people to write Emacs extensions in python, though I may be misrepresenting/misunderstanding it here), ropemode, and ropemacs. Some of these include both python and elisp components, but lack decent packages, so forget about installing using your existing system, python, or Emacs package managers (the elisp component installed with the Emacs package manager will be out of sync with the python component installed from PyPI). You&#039;ll have to build them from source.

Jedi looks promising, and much simpler. But I haven&#039;t tried it yet.

† Since 2005
‡ I don&#039;t know the details]]></description>
		<content:encoded><![CDATA[<p>&#8220;python-mode&#8221; is ambiguous:<br />
* Emacs has always† shipped the file &#8220;python.el&#8221; which implements a major mode called &#8220;python-mode&#8221;.<br />
* Python folk released their own file, not shipped with Emacs, called &#8220;python-mode.el&#8221;. Emacs couldn&#8217;t ship it due to copyright reasons.<br />
* Fabián Ezequiel Gallina wrote, from scratch, a version of python.el that merged the best‡ features of python.el and python-mode.el. This is the version shipping with Emacs since 24.1.</p>
<p>In conclusion: Use the python-mode shipped with Emacs. If you&#8217;re using an Emacs older than 24.1, upgrade!</p>
<p>Setting up rope with Emacs is so complicated I wouldn&#8217;t bother. I spent a whole weekend trying and failed. You need rope (a python refactoring library), pymacs (a system that allows people to write Emacs extensions in python, though I may be misrepresenting/misunderstanding it here), ropemode, and ropemacs. Some of these include both python and elisp components, but lack decent packages, so forget about installing using your existing system, python, or Emacs package managers (the elisp component installed with the Emacs package manager will be out of sync with the python component installed from PyPI). You&#8217;ll have to build them from source.</p>
<p>Jedi looks promising, and much simpler. But I haven&#8217;t tried it yet.</p>
<p>† Since 2005<br />
‡ I don&#8217;t know the details</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Hepburn</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-288</link>
		<dc:creator>Mark Hepburn</dc:creator>
		<pubDate>Wed, 30 Jan 2013 04:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-288</guid>
		<description><![CDATA[@Soli
Right, of course.  I only played with rope briefly; from memory I had issues getting to work consistently and it was slow (actually, I think it was trying to index my entire python library, and maybe even hitting errors or infinite loops... it was quite a while ago).  Jedi does look very promising for what I&#039;d mainly want it for though.  I should probably give both a shot again.]]></description>
		<content:encoded><![CDATA[<p>@Soli<br />
Right, of course.  I only played with rope briefly; from memory I had issues getting to work consistently and it was slow (actually, I think it was trying to index my entire python library, and maybe even hitting errors or infinite loops&#8230; it was quite a while ago).  Jedi does look very promising for what I&#8217;d mainly want it for though.  I should probably give both a shot again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-287</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 29 Jan 2013 23:40:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-287</guid>
		<description><![CDATA[Greg: I don&#039;t know whether I&#039;d use Emacs if all I did was edit Python. There are some good Python IDEs. But the main thing I like about Emacs is using it for multiple tasks.

At one point I was using a different application for editing each language: one for HTML, one for C++, one for Python, etc. and I wasn&#039;t very good at using any of them. I picked Emacs back up to have one editor for everything and so that hopefully I could learn to use it well. For me, the occasional difficulties with Emacs are outweighed by the benefits.

Everyone: Thanks for the suggestions. ]]></description>
		<content:encoded><![CDATA[<p>Greg: I don&#8217;t know whether I&#8217;d use Emacs if all I did was edit Python. There are some good Python IDEs. But the main thing I like about Emacs is using it for multiple tasks.</p>
<p>At one point I was using a different application for editing each language: one for HTML, one for C++, one for Python, etc. and I wasn&#8217;t very good at using any of them. I picked Emacs back up to have one editor for everything and so that hopefully I could learn to use it well. For me, the occasional difficulties with Emacs are outweighed by the benefits.</p>
<p>Everyone: Thanks for the suggestions. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-286</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Tue, 29 Jan 2013 23:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-286</guid>
		<description><![CDATA[I am a huge fan of vimpulse, which gives emacs vim-like key bindings, including visual mode. Having used standard emacs for 6-8 years before going with viper/vimpulse, my experience is that vi key bindings are richer and more concise than the stock emacs bindings, although they are probably harder to learn. 

Using VIM itself was a non-starter for a number of reasons, mainly lack of syntactic analysis (i.e. auto indent) and a good extension language.

I&#039;ve also found that I prefer the command/insert mode stuff versus having to perpetually keep my little finger on the control key. Even after mapping it to caps lock, which I would highly recommend.

I haven&#039;t invested too much in Python+emacs beyond stuff that would apply equally to Python+C++. Jedi looks very interesting though. I might give that a whirl sometime.

I have my own snippet tool: https://github.com/kungfucraig/devtools]]></description>
		<content:encoded><![CDATA[<p>I am a huge fan of vimpulse, which gives emacs vim-like key bindings, including visual mode. Having used standard emacs for 6-8 years before going with viper/vimpulse, my experience is that vi key bindings are richer and more concise than the stock emacs bindings, although they are probably harder to learn. </p>
<p>Using VIM itself was a non-starter for a number of reasons, mainly lack of syntactic analysis (i.e. auto indent) and a good extension language.</p>
<p>I&#8217;ve also found that I prefer the command/insert mode stuff versus having to perpetually keep my little finger on the control key. Even after mapping it to caps lock, which I would highly recommend.</p>
<p>I haven&#8217;t invested too much in Python+emacs beyond stuff that would apply equally to Python+C++. Jedi looks very interesting though. I might give that a whirl sometime.</p>
<p>I have my own snippet tool: <a href="https://github.com/kungfucraig/devtools" rel="nofollow">https://github.com/kungfucraig/devtools</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-285</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Tue, 29 Jan 2013 23:05:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-285</guid>
		<description><![CDATA[&lt;b&gt;python-mode&lt;/b&gt;
You cannot do it without this one.

&lt;b&gt;rainbow-mode, rainbow-delimiters-mode &lt;/b&gt;
python-mode has already some colors for keywords, strings, etc, etc. I don&#039;t really like rainbow mode because there too many colors on the screen.

&lt;b&gt;linum-on&lt;/b&gt;
I have this one by default set to off but some time I switch it to on if I need line numbers. 

&lt;b&gt;rope&lt;/b&gt;
Is one is convenient when you do code refactoring. In my environment it is off by default and I turn it on when needed. 

&lt;b&gt;electric-pair - show-paren&lt;/b&gt;
I use both of them. I am so used to both of them that I couldn&#039;t do without them.

&lt;b&gt;auto-complete -  Jedi&lt;/b&gt;
I am not a fan of pulldown menus constantly flashing on my screen. I found that distracting.

&lt;b&gt;yassnippets&lt;/b&gt;
This one is great. I have extended the macros for python and I use it a lot.]]></description>
		<content:encoded><![CDATA[<p><b>python-mode</b><br />
You cannot do it without this one.</p>
<p><b>rainbow-mode, rainbow-delimiters-mode </b><br />
python-mode has already some colors for keywords, strings, etc, etc. I don&#8217;t really like rainbow mode because there too many colors on the screen.</p>
<p><b>linum-on</b><br />
I have this one by default set to off but some time I switch it to on if I need line numbers. </p>
<p><b>rope</b><br />
Is one is convenient when you do code refactoring. In my environment it is off by default and I turn it on when needed. </p>
<p><b>electric-pair &#8211; show-paren</b><br />
I use both of them. I am so used to both of them that I couldn&#8217;t do without them.</p>
<p><b>auto-complete &#8211;  Jedi</b><br />
I am not a fan of pulldown menus constantly flashing on my screen. I found that distracting.</p>
<p><b>yassnippets</b><br />
This one is great. I have extended the macros for python and I use it a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soli</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-284</link>
		<dc:creator>Soli</dc:creator>
		<pubDate>Tue, 29 Jan 2013 21:20:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-284</guid>
		<description><![CDATA[@Mark
no, rope provides (advanced) refactoring, when jedi is &quot;limited&quot; to autocompletion and documentation. However (I&#039;m a vim user, but it shouldn&#039;t matter here) since I started using jedi, I find myself using rope less and less…]]></description>
		<content:encoded><![CDATA[<p>@Mark<br />
no, rope provides (advanced) refactoring, when jedi is &#8220;limited&#8221; to autocompletion and documentation. However (I&#8217;m a vim user, but it shouldn&#8217;t matter here) since I started using jedi, I find myself using rope less and less…</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-283</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 29 Jan 2013 21:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-283</guid>
		<description><![CDATA[ein (emacs client for ipython notebook) looks good if you can get it to work. It didn&#039;t work when I tried a few months ago but I think the underlying bug (in the elisp websocket library) is fixed now.]]></description>
		<content:encoded><![CDATA[<p>ein (emacs client for ipython notebook) looks good if you can get it to work. It didn&#8217;t work when I tried a few months ago but I think the underlying bug (in the elisp websocket library) is fixed now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Hepburn</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-282</link>
		<dc:creator>Mark Hepburn</dc:creator>
		<pubDate>Tue, 29 Jan 2013 20:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-282</guid>
		<description><![CDATA[Doesn&#039;t jedi replace rope?]]></description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t jedi replace rope?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.johndcook.com/blog/2013/01/29/python-emacs-setup/comment-page-1/#comment-281</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Tue, 29 Jan 2013 19:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.johndcook.com/blog/?p=12800#comment-281</guid>
		<description><![CDATA[The suggestions kind of persuades me not to use Emacs...]]></description>
		<content:encoded><![CDATA[<p>The suggestions kind of persuades me not to use Emacs&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
