<?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: gnu emacs backup files</title>
	<atom:link href="http://snarfed.org/gnu_emacs_backup_files/feed" rel="self" type="application/rss+xml" />
	<link>http://snarfed.org</link>
	<description>Ryan Barrett&#039;s blog</description>
	<lastBuildDate>Fri, 18 May 2012 05:50:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Aaron Meurer</title>
		<link>http://snarfed.org/gnu_emacs_backup_files#comment-79052</link>
		<dc:creator>Aaron Meurer</dc:creator>
		<pubDate>Sun, 15 Jan 2012 00:43:33 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/gnu_emacs_backup_files#comment-79052</guid>
		<description>&lt;p&gt;I think you don&#039;t want to use custom-set-variables. That&#039;s used by customize, and it could get confused if it sees two of them.  I like the solution at http://stackoverflow.com/questions/2020941/emacs-newbie-how-can-i-hide-the-buffer-files-that-emacs-creates better:&lt;/p&gt;

&lt;p&gt;(defvar backup-dir (expand-file-name &quot;~/.emacs.d/backup/&quot;))
(defvar autosave-dir (expand-file-name &quot;~/.emacs.d/autosave/&quot;))
(setq backup-directory-alist (list (cons &quot;.&lt;em&gt;&quot; backup-dir)))
(setq auto-save-list-file-prefix autosave-dir)
(setq auto-save-file-name-transforms `((&quot;.&lt;/em&gt;&quot; ,autosave-dir t)))&lt;/p&gt;

&lt;p&gt;I like the tip about creating the directories, though.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I think you don&#8217;t want to use custom-set-variables. That&#8217;s used by customize, and it could get confused if it sees two of them.  I like the solution at <a href="http://stackoverflow.com/questions/2020941/emacs-newbie-how-can-i-hide-the-buffer-files-that-emacs-creates" rel="nofollow">http://stackoverflow.com/questions/2020941/emacs-newbie-how-can-i-hide-the-buffer-files-that-emacs-creates</a> better:</p>

<p>(defvar backup-dir (expand-file-name &#8220;~/.emacs.d/backup/&#8221;))
(defvar autosave-dir (expand-file-name &#8220;~/.emacs.d/autosave/&#8221;))
(setq backup-directory-alist (list (cons &#8220;.<em>&#8221; backup-dir)))
(setq auto-save-list-file-prefix autosave-dir)
(setq auto-save-file-name-transforms `((&#8220;.</em>&#8221; ,autosave-dir t)))</p>

<p>I like the tip about creating the directories, though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: willdye</title>
		<link>http://snarfed.org/gnu_emacs_backup_files#comment-55431</link>
		<dc:creator>willdye</dc:creator>
		<pubDate>Wed, 12 Oct 2011 21:56:26 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/gnu_emacs_backup_files#comment-55431</guid>
		<description>&lt;p&gt;Thank you for posting this information, including the 2011 update.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you for posting this information, including the 2011 update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryan</title>
		<link>http://snarfed.org/gnu_emacs_backup_files#comment-27886</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Thu, 25 Nov 2010 08:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/gnu_emacs_backup_files#comment-27886</guid>
		<description>&lt;p&gt;noam, david, thanks for suggesting auto-save-file-name-transforms! definitely a simpler way to do it. i&#039;ve updated the article.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>noam, david, thanks for suggesting auto-save-file-name-transforms! definitely a simpler way to do it. i&#8217;ve updated the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noam</title>
		<link>http://snarfed.org/gnu_emacs_backup_files#comment-27787</link>
		<dc:creator>Noam</dc:creator>
		<pubDate>Wed, 24 Nov 2010 01:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/gnu_emacs_backup_files#comment-27787</guid>
		<description>&lt;p&gt;...and then I post a regexp that doesn&#039;t work, oops&lt;/p&gt;

&lt;pre&gt;
(setq auto-save-file-name-transforms
      `((&quot;\\`/?\\(?:[^/]+/\\)*\\([^/]+\\)\\&#039;&quot; &quot;~/.emacs.d/autosaves/\\1&quot; t)))
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>&#8230;and then I post a regexp that doesn&#8217;t work, oops</p>

<pre>
(setq auto-save-file-name-transforms
      `(("\\`/?\\(?:[^/]+/\\)*\\([^/]+\\)\\'" "~/.emacs.d/autosaves/\\1" t)))
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noam</title>
		<link>http://snarfed.org/gnu_emacs_backup_files#comment-27786</link>
		<dc:creator>Noam</dc:creator>
		<pubDate>Wed, 24 Nov 2010 01:16:03 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/gnu_emacs_backup_files#comment-27786</guid>
		<description>&lt;p&gt;You could set &lt;code&gt;auto-save-file-name-transforms&lt;/code&gt; instead of the big elisp chunk.&lt;/p&gt;

&lt;pre&gt;
(setq
      auto-save-file-name-transforms
      `((&quot;[^/]+\\&#039;&quot; &quot;~/.emacs.d/autosaves/\\1&quot; t)))
&lt;/pre&gt;

&lt;p&gt;(in my previous post I used an unecessarily complicated regexp)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You could set <code>auto-save-file-name-transforms</code> instead of the big elisp chunk.</p>

<pre>
(setq
      auto-save-file-name-transforms
      `(("[^/]+\\'" "~/.emacs.d/autosaves/\\1" t)))
</pre>

<p>(in my previous post I used an unecessarily complicated regexp)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mykola</title>
		<link>http://snarfed.org/gnu_emacs_backup_files#comment-27174</link>
		<dc:creator>Mykola</dc:creator>
		<pubDate>Wed, 10 Nov 2010 17:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/gnu_emacs_backup_files#comment-27174</guid>
		<description>&lt;p&gt;Thanks a lot. It made me calm :-)&lt;/p&gt;

&lt;p&gt;@Memnon: google change peoples&#039; habits :-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks a lot. It made me calm :-)</p>

<p>@Memnon: google change peoples&#8217; habits :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guest</title>
		<link>http://snarfed.org/gnu_emacs_backup_files#comment-542</link>
		<dc:creator>Guest</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/gnu_emacs_backup_files#comment-542</guid>
		<description>&lt;p&gt;Thanks a ton! that sure is helpful!&lt;/p&gt;

&lt;p class=&quot;paragraph&quot;/&gt;

&lt;p&gt;&lt;i class=&quot;italic&quot;&gt;- Sandeep&lt;/i&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks a ton! that sure is helpful!</p>

<p class="paragraph"/>

<p><i class="italic">- Sandeep</i></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: traneHead</title>
		<link>http://snarfed.org/gnu_emacs_backup_files#comment-543</link>
		<dc:creator>traneHead</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/gnu_emacs_backup_files#comment-543</guid>
		<description>&lt;p&gt;Thank you!!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Betz</title>
		<link>http://snarfed.org/gnu_emacs_backup_files#comment-544</link>
		<dc:creator>Christian Betz</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/gnu_emacs_backup_files#comment-544</guid>
		<description>&lt;p&gt;You rule!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You rule!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://snarfed.org/gnu_emacs_backup_files#comment-545</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://snarfed.org/wordpress/gnu_emacs_backup_files#comment-545</guid>
		<description>&lt;p&gt;Finally, a script that makes this simple.&lt;br /&gt;
&lt;br /&gt;
Thank you.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Finally, a script that makes this simple.<br />
<br />
Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

