<?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: Miscellaneous Emacs Tips From My Commenters</title>
	<atom:link href="http://curiousprogrammer.wordpress.com/2009/02/23/misc-emacs-tips-from-commenters/feed/" rel="self" type="application/rss+xml" />
	<link>http://curiousprogrammer.wordpress.com/2009/02/23/misc-emacs-tips-from-commenters/</link>
	<description>Leveraging Perl and Emacs</description>
	<lastBuildDate>Sat, 15 Jun 2013 02:12:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Jared</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/23/misc-emacs-tips-from-commenters/#comment-7294</link>
		<dc:creator><![CDATA[Jared]]></dc:creator>
		<pubDate>Fri, 27 Feb 2009 13:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=267#comment-7294</guid>
		<description><![CDATA[&lt;blockquote&gt;Maybe Robert could clarify what he wants?&lt;/blockquote&gt;

Sounds like a plan :)]]></description>
		<content:encoded><![CDATA[<blockquote><p>Maybe Robert could clarify what he wants?</p></blockquote>
<p>Sounds like a plan <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Bennee</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/23/misc-emacs-tips-from-commenters/#comment-7293</link>
		<dc:creator><![CDATA[Alex Bennee]]></dc:creator>
		<pubDate>Fri, 27 Feb 2009 12:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=267#comment-7293</guid>
		<description><![CDATA[Well default directory is set. This buffer&#039;s default-directory is:

&quot;/home/alex/.mozilla/firefox/m9cqb0pv.default/itsalltext/&quot;

As it&#039;s being edited via an emacsclient called via ItsAllText. Maybe Robert could clarify what he wants?]]></description>
		<content:encoded><![CDATA[<p>Well default directory is set. This buffer&#8217;s default-directory is:</p>
<p>&#8220;/home/alex/.mozilla/firefox/m9cqb0pv.default/itsalltext/&#8221;</p>
<p>As it&#8217;s being edited via an emacsclient called via ItsAllText. Maybe Robert could clarify what he wants?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/23/misc-emacs-tips-from-commenters/#comment-7292</link>
		<dc:creator><![CDATA[Jared]]></dc:creator>
		<pubDate>Fri, 27 Feb 2009 08:57:46 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=267#comment-7292</guid>
		<description><![CDATA[Hi Alex,

I think Robert was saying that when opening files using daemon it doesn&#039;t set the current directory in the same way as find-file (although I might be mistaken).]]></description>
		<content:encoded><![CDATA[<p>Hi Alex,</p>
<p>I think Robert was saying that when opening files using daemon it doesn&#8217;t set the current directory in the same way as find-file (although I might be mistaken).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Bennee</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/23/misc-emacs-tips-from-commenters/#comment-7286</link>
		<dc:creator><![CDATA[Alex Bennee]]></dc:creator>
		<pubDate>Thu, 26 Feb 2009 10:39:02 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=267#comment-7286</guid>
		<description><![CDATA[Have a look at the function find-file-read-args which is what is
called for C-x C-f. You can see there is a local default-directory
which should be the directory the file your editing is in.

(setq default-directory &quot;/usr/share/&quot;)

And bingo your shell commands will now run from here. Although most of the time I find I want shell commands to run in the same directory as the file I&#039;m messing with.]]></description>
		<content:encoded><![CDATA[<p>Have a look at the function find-file-read-args which is what is<br />
called for C-x C-f. You can see there is a local default-directory<br />
which should be the directory the file your editing is in.</p>
<p>(setq default-directory &#8220;/usr/share/&#8221;)</p>
<p>And bingo your shell commands will now run from here. Although most of the time I find I want shell commands to run in the same directory as the file I&#8217;m messing with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/23/misc-emacs-tips-from-commenters/#comment-7283</link>
		<dc:creator><![CDATA[Jared]]></dc:creator>
		<pubDate>Wed, 25 Feb 2009 07:23:45 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=267#comment-7283</guid>
		<description><![CDATA[Hi Robert,

I don&#039;t use emacs -daemon so I&#039;m not really familiar with the problem (see &lt;a href=&quot;http://curiousprogrammer.wordpress.com/2009/01/29/what-is-your-dollar-editor/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; for what I use).  Having said that, perhaps adding a function to find-file-hook that sets the current directory might be what you want, or are you looking for a more complete solution?]]></description>
		<content:encoded><![CDATA[<p>Hi Robert,</p>
<p>I don&#8217;t use emacs -daemon so I&#8217;m not really familiar with the problem (see <a href="http://curiousprogrammer.wordpress.com/2009/01/29/what-is-your-dollar-editor/" rel="nofollow">here</a> for what I use).  Having said that, perhaps adding a function to find-file-hook that sets the current directory might be what you want, or are you looking for a more complete solution?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://curiousprogrammer.wordpress.com/2009/02/23/misc-emacs-tips-from-commenters/#comment-7282</link>
		<dc:creator><![CDATA[Robert]]></dc:creator>
		<pubDate>Tue, 24 Feb 2009 13:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://curiousprogrammer.wordpress.com/?p=267#comment-7282</guid>
		<description><![CDATA[I&#039;m using emacs --daemon and just realized that emacs no longer has a useful current directory.  Any ideas on how to fix that?]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m using emacs &#8211;daemon and just realized that emacs no longer has a useful current directory.  Any ideas on how to fix that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
