<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Tilde (backup file) cleanup</title>
	<atom:link href="http://embraceubuntu.com/2006/01/26/tilde-backup-file-cleanup/feed/" rel="self" type="application/rss+xml" />
	<link>http://embraceubuntu.com/2006/01/26/tilde-backup-file-cleanup/</link>
	<description>Not quite everything about Ubuntu, but close.</description>
	<lastBuildDate>Fri, 19 Mar 2010 16:55:25 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jay</title>
		<link>http://embraceubuntu.com/2006/01/26/tilde-backup-file-cleanup/#comment-121278</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Fri, 14 Dec 2007 16:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2006/01/26/tilde-backup-file-cleanup/#comment-121278</guid>
		<description>Another option that&#039;s nice on Windows is to move the tilde to the beginning of the file name.  That way you won&#039;t accidentally pick the wrong file, and your file types (and associtions in Explorer) aren&#039;t hosed.  Plus, they should stick together when a directory is sorted alphabetically.

So instead of the infuriating &quot;file.txt~&quot;, I&#039;d have &quot;~file.txt&quot;, which still goes to emacs when double-clicked.

That way my line looks like

(defun make-backup-file-name (file)
  (concat &quot;~&quot; (file-name-nondirectory file) ))

I just tried this for the first time a few minutes ago, so take care.</description>
		<content:encoded><![CDATA[<p>Another option that&#8217;s nice on Windows is to move the tilde to the beginning of the file name.  That way you won&#8217;t accidentally pick the wrong file, and your file types (and associtions in Explorer) aren&#8217;t hosed.  Plus, they should stick together when a directory is sorted alphabetically.</p>
<p>So instead of the infuriating &#8220;file.txt~&#8221;, I&#8217;d have &#8220;~file.txt&#8221;, which still goes to emacs when double-clicked.</p>
<p>That way my line looks like</p>
<p>(defun make-backup-file-name (file)<br />
  (concat &#8220;~&#8221; (file-name-nondirectory file) ))</p>
<p>I just tried this for the first time a few minutes ago, so take care.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://embraceubuntu.com/2006/01/26/tilde-backup-file-cleanup/#comment-120973</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 13 Dec 2007 15:45:31 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2006/01/26/tilde-backup-file-cleanup/#comment-120973</guid>
		<description>Thanks Marc, your line works like a charm.</description>
		<content:encoded><![CDATA[<p>Thanks Marc, your line works like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beulbek &#187; Emacs, PHP and the tilde</title>
		<link>http://embraceubuntu.com/2006/01/26/tilde-backup-file-cleanup/#comment-84140</link>
		<dc:creator>Beulbek &#187; Emacs, PHP and the tilde</dc:creator>
		<pubDate>Fri, 20 Jul 2007 20:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2006/01/26/tilde-backup-file-cleanup/#comment-84140</guid>
		<description>[...] found this trick at Ubuntu Blog where a guy called Kyle added a comment about an auto-cleanup script. It&#8217;s about editing your [...]</description>
		<content:encoded><![CDATA[<p>[...] found this trick at Ubuntu Blog where a guy called Kyle added a comment about an auto-cleanup script. It&#8217;s about editing your [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JB</title>
		<link>http://embraceubuntu.com/2006/01/26/tilde-backup-file-cleanup/#comment-5589</link>
		<dc:creator>JB</dc:creator>
		<pubDate>Fri, 22 Sep 2006 13:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2006/01/26/tilde-backup-file-cleanup/#comment-5589</guid>
		<description>:set nobackup</description>
		<content:encoded><![CDATA[<p>:set nobackup</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: henok</title>
		<link>http://embraceubuntu.com/2006/01/26/tilde-backup-file-cleanup/#comment-3328</link>
		<dc:creator>henok</dc:creator>
		<pubDate>Fri, 04 Aug 2006 21:24:34 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2006/01/26/tilde-backup-file-cleanup/#comment-3328</guid>
		<description>so how can I disable tilde file creation in Vim?</description>
		<content:encoded><![CDATA[<p>so how can I disable tilde file creation in Vim?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Braden</title>
		<link>http://embraceubuntu.com/2006/01/26/tilde-backup-file-cleanup/#comment-2023</link>
		<dc:creator>Braden</dc:creator>
		<pubDate>Thu, 01 Jun 2006 19:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2006/01/26/tilde-backup-file-cleanup/#comment-2023</guid>
		<description>Scary running a wildcarded rm, but it worked perfectly. Many thanks.

(Also, thanks to the commenters. Putting it in a backup directory&#039;s a great idea.)</description>
		<content:encoded><![CDATA[<p>Scary running a wildcarded rm, but it worked perfectly. Many thanks.</p>
<p>(Also, thanks to the commenters. Putting it in a backup directory&#8217;s a great idea.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://embraceubuntu.com/2006/01/26/tilde-backup-file-cleanup/#comment-788</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Sat, 11 Feb 2006 02:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2006/01/26/tilde-backup-file-cleanup/#comment-788</guid>
		<description>I agree with Kyle. Here&#039;s the vim equivalent:

set backupdir=~/backups     &quot; Don&#039;t store backups in the current directory</description>
		<content:encoded><![CDATA[<p>I agree with Kyle. Here&#8217;s the vim equivalent:</p>
<p>set backupdir=~/backups     &#8221; Don&#8217;t store backups in the current directory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://embraceubuntu.com/2006/01/26/tilde-backup-file-cleanup/#comment-679</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Wed, 01 Feb 2006 01:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2006/01/26/tilde-backup-file-cleanup/#comment-679</guid>
		<description>Rather than deleting your backups every once and a while, why not just change your editors behavior. I include the following in my .emacs file:

;; create a backup file directory
(defun make-backup-file-name (file)
  (concat &quot;~/.emacs.backups/&quot; (file-name-nondirectory file) &quot;~&quot;))

So when I edit a file, the backup is created in the ~/.emacs.backups directory rather than the current directory.</description>
		<content:encoded><![CDATA[<p>Rather than deleting your backups every once and a while, why not just change your editors behavior. I include the following in my .emacs file:</p>
<p>;; create a backup file directory<br />
(defun make-backup-file-name (file)<br />
  (concat &#8220;~/.emacs.backups/&#8221; (file-name-nondirectory file) &#8220;~&#8221;))</p>
<p>So when I edit a file, the backup is created in the ~/.emacs.backups directory rather than the current directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: random guy</title>
		<link>http://embraceubuntu.com/2006/01/26/tilde-backup-file-cleanup/#comment-639</link>
		<dc:creator>random guy</dc:creator>
		<pubDate>Sat, 28 Jan 2006 05:24:36 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2006/01/26/tilde-backup-file-cleanup/#comment-639</guid>
		<description>is this blog using ajax</description>
		<content:encoded><![CDATA[<p>is this blog using ajax</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy C</title>
		<link>http://embraceubuntu.com/2006/01/26/tilde-backup-file-cleanup/#comment-634</link>
		<dc:creator>Andy C</dc:creator>
		<pubDate>Fri, 27 Jan 2006 14:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu.wordpress.com/2006/01/26/tilde-backup-file-cleanup/#comment-634</guid>
		<description>Careful. Emacs backup files have saved my skin on more than one occasion. If you don&#039;t want (or think you need) them, don&#039;t generate them in the first place.</description>
		<content:encoded><![CDATA[<p>Careful. Emacs backup files have saved my skin on more than one occasion. If you don&#8217;t want (or think you need) them, don&#8217;t generate them in the first place.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
