<?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"
	>
<channel>
	<title>Comments on: A Few Things About Python and Emacs 22</title>
	<atom:link href="http://hupp.org/adam/weblog/2007/05/01/a-few-things-about-python-and-emacs-22/feed/" rel="self" type="application/rss+xml" />
	<link>http://hupp.org/adam/weblog/2007/05/01/a-few-things-about-python-and-emacs-22/</link>
	<description>The blog of Adam Hupp</description>
	<pubDate>Wed, 07 Jan 2009 11:00:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: johan</title>
		<link>http://hupp.org/adam/weblog/2007/05/01/a-few-things-about-python-and-emacs-22/#comment-5</link>
		<dc:creator>johan</dc:creator>
		<pubDate>Mon, 14 May 2007 20:45:33 +0000</pubDate>
		<guid isPermaLink="false">http://hupp.org/adam/weblog/2007/05/01/a-few-things-about-python-and-emacs-22/#comment-5</guid>
		<description>&lt;p&gt;Thanks.&lt;/p&gt;

&lt;p&gt;A little further experimentation shows that you don't need to require python but instead can do&lt;/p&gt;

&lt;p&gt;(add-hook 'python-mode-hook
          '(lambda () 
         (define-key python-mode-map "C-m" 'newline-and-indent)))&lt;/p&gt;

&lt;p&gt;I think this will speed up things when use emacs for other things than python stuff since you dont need to load python mode on startup.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks.</p>
<p>A little further experimentation shows that you don&#8217;t need to require python but instead can do</p>
<p>(add-hook &#8216;python-mode-hook<br />
          &#8216;(lambda ()<br />
         (define-key python-mode-map &#8220;C-m&#8221; &#8216;newline-and-indent)))</p>
<p>I think this will speed up things when use emacs for other things than python stuff since you dont need to load python mode on startup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://hupp.org/adam/weblog/2007/05/01/a-few-things-about-python-and-emacs-22/#comment-4</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Mon, 14 May 2007 16:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://hupp.org/adam/weblog/2007/05/01/a-few-things-about-python-and-emacs-22/#comment-4</guid>
		<description>&lt;p&gt;You will need to put&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;(require 'python)&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;before the call to define-key.&lt;/p&gt;

&lt;p&gt;-Adam&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You will need to put</p>
<p>
<pre>(require 'python)</pre>
</p>
<p>before the call to define-key.</p>
<p>-Adam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johan</title>
		<link>http://hupp.org/adam/weblog/2007/05/01/a-few-things-about-python-and-emacs-22/#comment-3</link>
		<dc:creator>johan</dc:creator>
		<pubDate>Sat, 12 May 2007 09:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://hupp.org/adam/weblog/2007/05/01/a-few-things-about-python-and-emacs-22/#comment-3</guid>
		<description>&lt;p&gt;I'm running a very recent cvs emacs 22 on windows. When I add 
(define-key python-mode-map "C-m" 'newline-and-indent)
to my init.el (same as .emacs) I get this message on emacs startup:&lt;/p&gt;

&lt;p&gt;An error has occurred while loading `c:/Documents and Settings/johan/Application Data/.emacs.d/init.el':&lt;/p&gt;

&lt;p&gt;Symbol's value as variable is void: python-mode-map&lt;/p&gt;

&lt;p&gt;Do you know anything about what this means?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m running a very recent cvs emacs 22 on windows. When I add<br />
(define-key python-mode-map &#8220;C-m&#8221; &#8216;newline-and-indent)<br />
to my init.el (same as .emacs) I get this message on emacs startup:</p>
<p>An error has occurred while loading `c:/Documents and Settings/johan/Application Data/.emacs.d/init.el&#8217;:</p>
<p>Symbol&#8217;s value as variable is void: python-mode-map</p>
<p>Do you know anything about what this means?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
