<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>blog.arithm &#187; Emacs</title>
	<atom:link href="http://blog.arithm.com/category/emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.arithm.com</link>
	<description>Software.  Politics.  Tinfoil hat conjecture.</description>
	<lastBuildDate>Fri, 13 Jan 2012 19:00:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Save _flymake files in a temporary directory</title>
		<link>http://blog.arithm.com/2011/01/27/save-_flymake-files-in-a-temporary-directory/</link>
		<comments>http://blog.arithm.com/2011/01/27/save-_flymake-files-in-a-temporary-directory/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 15:52:29 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[flymake]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1514</guid>
		<description><![CDATA[This has been bugging me for awhile. Recent versions of Emacs save _flymake files &#8220;inplace&#8221;, meaning in the same directory as the source file. Problem is, Flymake has a tendency to crash, leaving behind the corpses of various _flymake files, which in turn cause version control annoyances, automated build issues, unusual problems with caching in [...]]]></description>
			<content:encoded><![CDATA[<p>This has been bugging me for awhile.  Recent versions of Emacs save _flymake files &#8220;inplace&#8221;, meaning in the same directory as the source file.  Problem is, Flymake has a tendency to crash, leaving behind the corpses of various _flymake files, which in turn cause version control annoyances, automated build issues, unusual problems with caching in web frameworks, etc.</p>
<p>There&#8217;s an <a href="http://www.emacswiki.org/emacs/FlymakeRuby">obscure FlymakeRuby entry</a> on the EmacsWiki with a suggested fix, repeated here:</p>
<pre>
(defun flymake-create-temp-intemp (file-name prefix)
  "Return file name in temporary directory for checking FILE-NAME.
This is a replacement for `flymake-create-temp-inplace'. The
difference is that it gives a file name in
`temporary-file-directory' instead of the same directory as
FILE-NAME.

For the use of PREFIX see that function.

Note that not making the temporary file in another directory
\(like here) will not if the file you are checking depends on
relative paths to other files \(for the type of checks flymake
makes)."
  (unless (stringp file-name)
    (error "Invalid file-name"))
  (or prefix
      (setq prefix "flymake"))
  (let* ((name (concat
                (file-name-nondirectory
                 (file-name-sans-extension file-name))
                "_" prefix))
         (ext  (concat "." (file-name-extension file-name)))
         (temp-name (make-temp-file name nil ext))
         )
    (flymake-log 3 "create-temp-intemp: file=%s temp=%s" file-name temp-name)
    temp-name))
</pre>
<p>Add this to lisp/progmodes/flymake.el in your Emacs distro, and then call it from the init method corresponding to your target language.  PHP, for example:</p>
<pre>
;;;; php-specific init-cleanup routines
(defun flymake-php-init ()
  (let* ((temp-file   (flymake-init-create-temp-buffer-copy
                       'flymake-create-temp-intemp))
	 (local-file  (file-relative-name
                       temp-file
                       (file-name-directory buffer-file-name))))
    (list "php" (list "-f" local-file "-l"))))
</pre>
<p>Note that <code>'flymake-create-temp-inplace</code> has been replaced with <code>'flymake-create-temp-intemp</code>.  Be sure to remove or recompile the corresponding flymake.elc file.</p>
<p>Now _flymake junk will be saved to where you have defined temporary-file-directory in .emacs.  In my case:</p>
<p><code>(setq temporary-file-directory "~/.emacs.d/tmp/")</code></p>
<p>Yay.  Much less annoying.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2011/01/27/save-_flymake-files-in-a-temporary-directory/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Getting Flymake to work with Emacs nXhtml</title>
		<link>http://blog.arithm.com/2010/03/13/getting-flymake-to-work-with-emacs-nxhtml/</link>
		<comments>http://blog.arithm.com/2010/03/13/getting-flymake-to-work-with-emacs-nxhtml/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 17:27:45 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[flymake]]></category>
		<category><![CDATA[nxhtml]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1242</guid>
		<description><![CDATA[If you develop in PHP on Emacs, then you&#8217;ve probably got a hook setup to run flymake-mode on PHP files. And if so, then you&#8217;ve also probably noticed that this doesn&#8217;t work with nXhtml, which will often return an error like &#8220;mumamo can&#8217;t find the file&#8221; (or some such), causing flymake-mode to disable itself. The [...]]]></description>
			<content:encoded><![CDATA[<p>If you develop in PHP on Emacs, then you&#8217;ve probably got a hook setup to run flymake-mode on PHP files.  And if so, then you&#8217;ve also probably noticed that this doesn&#8217;t work with nXhtml, which will often return an error like &#8220;mumamo can&#8217;t find the file&#8221; (or some such), causing flymake-mode to disable itself.</p>
<p>The culprit is likely to be a bind like this:</p>
<p><code>(add-hook 'php-mode-hook (lambda () (flymake-mode t)))</code></p>
<p>which says, &#8220;turn on flymake-mode when php-mode is started&#8221;.  (Sacha Chua has a <a href="http://sachachua.com/wp/2008/07/emacs-and-php-on-the-fly-syntax-checking-with-flymake/">post </a>that recommends using this from couple of years back.)  The problem, as far as I can tell, is that nXhtml tries to process the fleetingly available _flymake file rather than the original PHP script whenever it toggles into php-mode. </p>
<p>A better hook to use is the find-file-hook, like this:</p>
<p><code>(add-hook 'find-file-hook 'flymake-mode)</code></p>
<p>With this, Flymake will properly validate PHP chunks in nXhtml mode, as well as any other files that Flymake is smart enough to process.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2010/03/13/getting-flymake-to-work-with-emacs-nxhtml/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Defeating the flymake configuration error in Emacs php-mode</title>
		<link>http://blog.arithm.com/2009/12/22/defeating-the-flymake-configuration-error-in-emacs-php-mode/</link>
		<comments>http://blog.arithm.com/2009/12/22/defeating-the-flymake-configuration-error-in-emacs-php-mode/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 15:01:09 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[flymake]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1109</guid>
		<description><![CDATA[Getting the following message when trying to use Flymake with PHP?: &#8220;Flymake: Configuration error occurred while running. Flymake will be switch OFF&#8221; This threw me, though it probably shouldn&#8217;t have. If you&#8217;re seeing it as well, double check two settings in your php.ini file: 1. The error_reporting setting needs to include E_PARSE. I personally like [...]]]></description>
			<content:encoded><![CDATA[<p>Getting the following message when trying to use Flymake with PHP?:  </p>
<p>&#8220;Flymake: Configuration error occurred while running.  Flymake will be switch OFF&#8221;</p>
<p>This threw me, though it probably shouldn&#8217;t have.  If you&#8217;re seeing it as well, double check two settings in your php.ini file:</p>
<p>1.  The error_reporting setting needs to include E_PARSE.  I personally like to use <code>error_reporting = E_ALL | E_STRICT</code>.  This shows everything that the PHP compiler thinks you are doing wrong.</p>
<p>2.  Also double check your php.ini file for <code>display_errors = On</code>.  I almost always forget about this when setting up on a new box because I tend to override php.ini with .htaccess values.</p>
<p>Finally, triple check your command line php settings with a quick <code>$ php -i</code>, which dumps the content of phpinfo() to the command line.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2009/12/22/defeating-the-flymake-configuration-error-in-emacs-php-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing Regular Expressions in Emacs</title>
		<link>http://blog.arithm.com/2009/10/19/testing-regular-expressions-in-emacs/</link>
		<comments>http://blog.arithm.com/2009/10/19/testing-regular-expressions-in-emacs/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 01:55:36 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1067</guid>
		<description><![CDATA[How had I missed RE-Builder all these years? I used to use Expresso for help with regex&#8217;s, but it&#8217;s so much easier to do the munging in Emacs. Try M-x re-builder for what ails ya.]]></description>
			<content:encoded><![CDATA[<p>How had I missed <a href="http://www.emacswiki.org/emacs/ReBuilder">RE-Builder</a> all these years?  I used to use <a href="/2007/08/27/testing-regular-expressions-with-expresso/">Expresso </a>for help with regex&#8217;s, but it&#8217;s so much easier to do the munging in Emacs.</p>
<p>Try <code>M-x re-builder</code> for what ails ya.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2009/10/19/testing-regular-expressions-in-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Butterfly mode actually included with Emacs v23&#8230;</title>
		<link>http://blog.arithm.com/2009/09/23/butterfly-mode-actually-included-with-emacs-v23/</link>
		<comments>http://blog.arithm.com/2009/09/23/butterfly-mode-actually-included-with-emacs-v23/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 02:18:06 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Chuckle]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1047</guid>
		<description><![CDATA[Fortunately the command has been shorted to M-x butterfly.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" src="http://imgs.xkcd.com/comics/real_programmers.png" alt="real programmers Butterfly mode actually included with Emacs v23..." width="488" height="268" title="Butterfly mode actually included with Emacs v23..." /></p>
<p>Fortunately the command has been shorted to <code>M-x butterfly</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2009/09/23/butterfly-mode-actually-included-with-emacs-v23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lord of the Emacs</title>
		<link>http://blog.arithm.com/2009/09/21/lord-of-the-emacs/</link>
		<comments>http://blog.arithm.com/2009/09/21/lord-of-the-emacs/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 12:33:18 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Chuckle]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=1042</guid>
		<description><![CDATA[Obviously I have to post this. Knuth’s Tex for the Math-kings of sigma, and pi, Unix vim for the Server-lords with their O’Reilly tomes, Word for Mortal Men doomed to die, Emacs from the Bearded One on his Gnu throne, In the land of Stallman where free software lies. One Emacs to rule them all. [...]]]></description>
			<content:encoded><![CDATA[<p>Obviously I have to post this.</p>
<blockquote><p>
    Knuth’s Tex for the Math-kings of sigma, and pi,<br />
    Unix vim for the Server-lords with their O’Reilly tomes,<br />
    Word for Mortal Men doomed to die,<br />
    Emacs from the Bearded One on his Gnu throne,<br />
    In the land of Stallman where free software lies.<br />
    One Emacs to rule them all. One Emacs to find them,<br />
    One Emacs to take commands and to the keystrokes bind them,<br />
    In the land of Stallman, where free software lies. </p>
<p>&#8211; Raffael Cavallaro, gnu.emacs.help
</p></blockquote>
<p>In a similar literary vein:  <a href="http://www.emacswiki.org/emacs/EmacsHaiku">Emacs Haiku</a>.  To laugh with these is to weep for what you have become.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2009/09/21/lord-of-the-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting minor modes discovered in the Emacs guided tour</title>
		<link>http://blog.arithm.com/2008/08/19/interesting-minor-modes-discovered-in-the-emacs-guided-tour/</link>
		<comments>http://blog.arithm.com/2008/08/19/interesting-minor-modes-discovered-in-the-emacs-guided-tour/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 02:02:30 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[iconmplete-mode]]></category>
		<category><![CDATA[ido-mode]]></category>
		<category><![CDATA[iswitchb-mode]]></category>
		<category><![CDATA[minor-modes]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=366</guid>
		<description><![CDATA[I was looking for a good introduction to Emacs for some friends and stumbled upon the truly excellent Guided Tour of Emacs on gnu.org.  And unsurprisingly it contained a few useful minor modes of which I had never heard. icomplete-mode icomplete-mode shows completions in the minibuffer as you type.  If you&#8217;re too impatient to hit [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for a good introduction to Emacs for some friends and stumbled upon the truly excellent <a href="http://www.gnu.org/software/emacs/tour/">Guided Tour of Emacs</a> on gnu.org.  And unsurprisingly it contained a few useful minor modes of which I had never heard.</p>
<p><strong>icomplete-mode</strong></p>
<p>icomplete-mode shows completions in the minibuffer as you type.  If you&#8217;re too impatient to hit tab, then this is the minor mode for you.</p>
<p><strong>iswitchb-mode</strong></p>
<p>This global minor mode solves an inconvenience that had always bothered me.  Typically, to see a list of buffers without resorting to the mouse, one has to <code>C-x b TAB</code> to see the list of buffers, or <code>C-x C-b</code> and then toggle over to the other window (<code>Ctl-o</code>) to use dired to select a buffer.  Too many keystrokes.</p>
<p style="text-align: center;"><img class="size-full wp-image-367" style="margin-top: 10px; margin-bottom: 10px;" title="iswitchb-mode" src="http://blog.arithm.com/wp-content/uploads/2008/08/iswitchb-mode.png" alt="iswitchb mode Interesting minor modes discovered in the Emacs guided tour" width="498" height="61" /></p>
<p>With <code>iswitchb-mode</code> turned on, <code>C-x</code><code> b</code> shows a list of avaialble buffers in the mini buffer, narrowing them down as you type.  A <em>much</em> easier way to jump between dozens (hundreds?) of open files.</p>
<p><strong>Update:</strong> Looks like <code>iswitchb-mode</code> has been replaced with the far superior <a href="http://www.vimeo.com/1013263"><code>ido-mode</code></a> as of Emacs 22.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2008/08/19/interesting-minor-modes-discovered-in-the-emacs-guided-tour/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emacs Japanese Input</title>
		<link>http://blog.arithm.com/2008/07/12/emacs-japanese-input/</link>
		<comments>http://blog.arithm.com/2008/07/12/emacs-japanese-input/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 06:00:08 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Japanese]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[henkan]]></category>
		<category><![CDATA[ime]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=337</guid>
		<description><![CDATA[If you ever find yourself stuck relying on the IME built-into Emacs (rather than the IME native to your OS), here are the essential key strokes you&#8217;ll need to know. C-\:  toggle input mode (ime on or off) C-h:  shows conversion options if used when in conversion mode SPC: transform input to kanji, or show [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever find yourself stuck relying on the IME built-into Emacs (rather than the IME native to your OS), here are the essential key strokes you&#8217;ll need to know.</p>
<ul>
<li><code>C-\</code>:  toggle input mode (ime on or off)</li>
<li><code>C-h</code>:  shows conversion options if used when in conversion mode</li>
<li><code>SPC</code>:  transform input to kanji, or show the next conversion candidate</li>
<li><code>DEL</code>:  abort<em> </em>conversion</li>
<li><code>C-n</code>:  show the next conversion candidate</li>
<li><code>C-p</code>:  show the previous conversion candidate</li>
<li><code>C-o</code>:  lengthen conversion <em>bunsetsu</em></li>
<li><code>C-i</code>, <code>TAB</code>:  shorten conversion <em>bunsetsu</em></li>
<li><code>Shift-k</code>:  toggle between <em>hiragana</em> and <em>katakana</em></li>
<li><code>qq</code>:  toggle between alphabet and kanji modes</li>
<li><code>qz</code>:  turn on <em>zenkaku</em> alphabet mode</li>
<li><code>qh</code>:  turn off <em>zenkaku</em> alphabet mode</li>
</ul>
<p>Also useful:</p>
<ul>
<li><code>C-x RET l</code>:  set the buffer language environment</li>
<li><code>C-x RET f</code>:  select the encoding</li>
<li><code>C-x RET C-\</code>:  select the input method</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2008/07/12/emacs-japanese-input/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Remote PHP Debugging with Emacs</title>
		<link>http://blog.arithm.com/2008/06/21/remote-php-debugging-with-emacs/</link>
		<comments>http://blog.arithm.com/2008/06/21/remote-php-debugging-with-emacs/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 18:54:59 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[geben]]></category>
		<category><![CDATA[remote debugging]]></category>
		<category><![CDATA[xdebug]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=327</guid>
		<description><![CDATA[It&#8217;s an Emacs weekend here at blog.arithm. I was recently asked if it was possible to do remote PHP debugging with Emacs. We&#8217;re talking about Emacs, so the answer is:  Of course!  How to do it: Grab Tohru Fujinaka&#8217;s GEBEN library.  It&#8217;s an aging alpha release, but works fairly well. Make sure you also have [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s an Emacs weekend here at blog.arithm.</p>
<p>I was recently asked if it was possible to do remote PHP debugging with Emacs. We&#8217;re talking about Emacs, so the answer is:  Of course!  How to do it:</p>
<ol>
<li>Grab Tohru Fujinaka&#8217;s <a href="http://trac.sakura.ne.jp/geben/">GEBEN</a> library.  It&#8217;s an aging alpha release, but works fairly well.</li>
<li>Make sure you also have <a href="http://cedet.sourceforge.net/">CEDET</a> installed.  I&#8217;m using the 1.0 pre4 release.</li>
<li>Drop <a href="http://xdebug.org/"><code>debugclient</code></a> somewhere in your path.  (Here Emacs is running on Windows, so I just threw it into the <code>C:\WINDOWS\</code> directory.)  Make sure the executable is named &#8220;debugclient&#8221; and not &#8220;debugclient-0.9.0&#8243; or whatever.</li>
<li>If you&#8217;re using the standard xdebug port 9,000 (recommended), make sure that port is open on your firewall.  For most folks these days that means opening up the default OS firewall as well as forwarding a port from the router.  See the exceptional <a href="http://www.portforward.com/">portforward.com</a> for more information on router port forwarding specifics.</li>
</ol>
<p>Now, assuming you already have xdebug plugged into PHP, modify php.ini or an .htaccess file with the following settings:<code><br />
</code></p>
<ul>
<li><code> xdebug.remote_enable = true</code></li>
<li><code> xdebug.remote_handler = dbgp</code></li>
<li><code> xdebug.remote_host = your_client_ip</code></li>
</ul>
<p>For security reasons it&#8217;s wiser to do this via .htaccess on directories that permit only authenticated access.</p>
<p>To debug, ask Emacs to listen for connections by going into GEBEN Mode with <code>Meta-x geben</code>.  You should see &#8220;xdebug started.&#8221; in the status row at the bottom of the Emacs window.</p>
<p>Run your PHP script with the xdebug switch on, eg.</p>
<p>http://www.example.com/script.php?XDEBUG_SESSION_START</p>
<p>If everything is setup correctly, Emacs will load the source of script.php (be wary of security!) and allow you to step through the code.</p>
<p>Available commands are:</p>
<blockquote><p><code>spc step into/step over<br />
i   step into<br />
o   step over<br />
r   step out<br />
b   set a breakpoint at a line<br />
u   unset a breakpoint at a line<br />
g   run<br />
q   stop</code></p></blockquote>
<p><strong>Some gotchas:</strong> I&#8217;ve noticed the GEBEN expects the first keystroke to be &#8220;space&#8221;; often it will freeze otherwise.  GEBEN may also run into problems on certain session-related PHP commands.</p>
<p>Happy debugging!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2008/06/21/remote-php-debugging-with-emacs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Set Emacs&#8217; HOME directory in Vista</title>
		<link>http://blog.arithm.com/2008/06/21/set-emacs-home-directory-in-vista/</link>
		<comments>http://blog.arithm.com/2008/06/21/set-emacs-home-directory-in-vista/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 06:12:40 +0000</pubDate>
		<dc:creator>nurikabe</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://blog.arithm.com/?p=326</guid>
		<description><![CDATA[Rather than allow Emacs to assume HOME is c:\ (which will cause Vista to winge every time you want to modify your .emacs file), try the following: setx HOME "%USERPROFILE%" This will make home something like c:\Users\username. Now you can keep your .emacs in a far more rational place and not have to wake up [...]]]></description>
			<content:encoded><![CDATA[<p>Rather than allow Emacs to assume HOME is c:\ (which will cause Vista to winge every time you want to modify your .emacs file), try the following:</p>
<p><code>setx HOME "%USERPROFILE%"</code></p>
<p>This will make home something like <code>c:\Users\username</code>.</p>
<p>Now you can keep your .emacs in a far more rational place and not have to wake up the Vista security troll whenever you want to do some tweaking.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.arithm.com/2008/06/21/set-emacs-home-directory-in-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

