<?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: Showing the current directory in Emacs&#8217; mode line</title>
	<atom:link href="http://mnemonikk.org/2008/05/23/showing-the-current-directory-in-emacs-mode-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://mnemonikk.org/2008/05/23/showing-the-current-directory-in-emacs-mode-line/</link>
	<description>My life with the machine</description>
	<lastBuildDate>Tue, 20 Jul 2010 22:45:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Axel Bregnsbo</title>
		<link>http://mnemonikk.org/2008/05/23/showing-the-current-directory-in-emacs-mode-line/comment-page-1/#comment-3415</link>
		<dc:creator>Axel Bregnsbo</dc:creator>
		<pubDate>Fri, 28 May 2010 22:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://mnemonikk.org/?p=7#comment-3415</guid>
		<description>Thanks for your &#039;uniquify&#039; suggestion. This is the best improvement since I learned about ido-mode.</description>
		<content:encoded><![CDATA[<p>Thanks for your &#8216;uniquify&#8217; suggestion. This is the best improvement since I learned about ido-mode.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://mnemonikk.org/2008/05/23/showing-the-current-directory-in-emacs-mode-line/comment-page-1/#comment-221</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 23 Mar 2009 23:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://mnemonikk.org/?p=7#comment-221</guid>
		<description>In the mean time I found an even better solution using the uniquify library. 

&lt;pre lang=&quot;lisp&quot;&gt;
(require &#039;uniquify)

(setq uniquify-buffer-name-style &#039;reverse)
(setq uniquify-separator &quot;&#124;&quot;)
(setq uniquify-after-kill-buffer-p t)
(setq uniquify-ignore-buffers-re &quot;^\\*&quot;)
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>In the mean time I found an even better solution using the uniquify library.</p>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span>require 'uniquify<span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> uniquify-buffer-name-style '<span style="color: #b1b100;">reverse</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> uniquify-separator <span style="color: #ff0000;">&quot;|&quot;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> uniquify-after-kill-buffer-p t<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> uniquify-ignore-buffers-re <span style="color: #ff0000;">&quot;^<span style="color: #000099; font-weight: bold;">\\</span>*&quot;</span><span style="color: #66cc66;">&#41;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: maf</title>
		<link>http://mnemonikk.org/2008/05/23/showing-the-current-directory-in-emacs-mode-line/comment-page-1/#comment-142</link>
		<dc:creator>maf</dc:creator>
		<pubDate>Wed, 24 Dec 2008 18:24:21 +0000</pubDate>
		<guid isPermaLink="false">http://mnemonikk.org/?p=7#comment-142</guid>
		<description>My combined solution to keep propertization and restrict directory name to file buffers:

(defun find-file-mode-line ()
  (setq mode-line-buffer-identification
        &#039;(:eval (propertized-buffer-identification
                 (concat (replace-regexp-in-string &quot;^.*/\\(.*\\)/&quot; &quot;\\1/&quot; default-directory) &quot;%12b&quot;)))))
(add-hook &#039;find-file-hook &#039;find-file-mode-line)</description>
		<content:encoded><![CDATA[<p>My combined solution to keep propertization and restrict directory name to file buffers:</p>
<p>(defun find-file-mode-line ()<br />
  (setq mode-line-buffer-identification<br />
        &#8216;(:eval (propertized-buffer-identification<br />
                 (concat (replace-regexp-in-string &#8220;^.*/\\(.*\\)/&#8221; &#8220;\\1/&#8221; default-directory) &#8220;%12b&#8221;)))))<br />
(add-hook &#8216;find-file-hook &#8216;find-file-mode-line)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://mnemonikk.org/2008/05/23/showing-the-current-directory-in-emacs-mode-line/comment-page-1/#comment-4</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 29 May 2008 09:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://mnemonikk.org/?p=7#comment-4</guid>
		<description>You can always use viper-mode. 8-)</description>
		<content:encoded><![CDATA[<p>You can always use viper-mode. <img src='http://mnemonikk.org/wp-includes/images/smilies/icon_cool.gif' alt='8-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ccm</title>
		<link>http://mnemonikk.org/2008/05/23/showing-the-current-directory-in-emacs-mode-line/comment-page-1/#comment-3</link>
		<dc:creator>ccm</dc:creator>
		<pubDate>Thu, 29 May 2008 09:48:56 +0000</pubDate>
		<guid isPermaLink="false">http://mnemonikk.org/?p=7#comment-3</guid>
		<description>But I am using vim. Please provide this patch for vim. :)</description>
		<content:encoded><![CDATA[<p>But I am using vim. Please provide this patch for vim. <img src='http://mnemonikk.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
