<?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>Chmouel&#039;s Blog &#187; Emacs</title>
	<atom:link href="http://blog.chmouel.com/category/emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chmouel.com</link>
	<description>Random and probably boring stuff.</description>
	<lastBuildDate>Wed, 01 Feb 2012 10:28:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Customize face at point in Emacs</title>
		<link>http://blog.chmouel.com/2009/12/22/customize-face-at-point-in-emacs/</link>
		<comments>http://blog.chmouel.com/2009/12/22/customize-face-at-point-in-emacs/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 16:58:02 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://blog.chmouel.com/?p=269</guid>
		<description><![CDATA[It&#8217;s probably interesting only for the hardcore Emacs users but the last CVS version of emacs (2009-12-17) get a nifty new improvement if you need to customize a face property. If you point on the text where you want to &#8230; <a href="http://blog.chmouel.com/2009/12/22/customize-face-at-point-in-emacs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.chmouel.com/wp-content/uploads/2009/12/Screenshot-1.png"><img src="http://blog.chmouel.com/wp-content/uploads/2009/12/Screenshot-1-300x270.png" alt="" title="Emacs customize-face" width="300" height="270" class="alignright size-medium wp-image-270" /></a></p>
<p>It&#8217;s probably interesting only for the hardcore Emacs users but the last CVS version of emacs (2009-12-17) get a nifty new improvement if you need to customize a face property.</p>
<p>If you point on the text where you want to customize it will detect it automatically which face point you are on and ask you if this is what you want to customize (after launching the command M-x customize-face). No guessing around with list-face-displays anymore.</p>
<p> I am just mentioning that because it does not seems to me mentioned in the CHANGES file.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2009/12/22/customize-face-at-point-in-emacs/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Emacs transparency with mouse wheel</title>
		<link>http://blog.chmouel.com/2009/09/16/emacs-and-transparency-mouse-wheel/</link>
		<comments>http://blog.chmouel.com/2009/09/16/emacs-and-transparency-mouse-wheel/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 02:52:22 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://blog.chmouel.com/?p=207</guid>
		<description><![CDATA[Emacs is playing fancy on the latest version (since emacs 23) it has now support for transparency at least on Linux when you have a composited Windows Manager. As explained on the Emacs wiki here everything is controlled by this &#8230; <a href="http://blog.chmouel.com/2009/09/16/emacs-and-transparency-mouse-wheel/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Emacs is playing fancy on the latest version (since emacs 23) it has now support for transparency at least on Linux when you have a <a href="http://en.wikipedia.org/wiki/Compositing_window_manager">composited Windows Manager.</a></p>
<p>As explained on the Emacs wiki <a href="http://www.emacswiki.org/emacs/TransparentEmacs">here</a> everything is controlled by this frame parameter like this :</p>

<div class="wp_codebox"><table><tr id="p2073"><td class="code" id="p207code3"><pre class="lisp" style="font-family:monospace;"> <span style="color: #66cc66;">&#40;</span>set-frame-parameter <span style="color: #66cc66;">&#40;</span>selected-frame<span style="color: #66cc66;">&#41;</span> 'alpha '<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">85</span> <span style="color: #cc66cc;">50</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></pre></td></tr></table></div>

<p>I have automated the thing to allow the transparency to increase or decrease when combined with the alt key just put this code somewhere in your $HOME/.emacs or $HOME/.emacs.d/init.el :</p>

<div class="wp_codebox"><table><tr id="p2074"><td class="code" id="p207code4"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">defun</span> my-increase-opacity<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#40;</span>interactive<span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">let</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>increase <span style="color: #66cc66;">&#40;</span>+ <span style="color: #cc66cc;">10</span> <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">car</span> <span style="color: #66cc66;">&#40;</span>frame-parameter <span style="color: #b1b100;">nil</span> 'alpha<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&gt;</span> increase <span style="color: #cc66cc;">99</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> increase <span style="color: #cc66cc;">99</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#40;</span>set-frame-parameter <span style="color: #66cc66;">&#40;</span>selected-frame<span style="color: #66cc66;">&#41;</span> 'alpha <span style="color: #66cc66;">&#40;</span>values increase <span style="color: #cc66cc;">75</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">defun</span> my-decrease-opacity<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#40;</span>interactive<span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">let</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>decrease <span style="color: #66cc66;">&#40;</span>- <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">car</span> <span style="color: #66cc66;">&#40;</span>frame-parameter <span style="color: #b1b100;">nil</span> 'alpha<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #cc66cc;">10</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&lt;</span> decrease <span style="color: #cc66cc;">20</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> decrease <span style="color: #cc66cc;">20</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#40;</span>set-frame-parameter <span style="color: #66cc66;">&#40;</span>selected-frame<span style="color: #66cc66;">&#41;</span> 'alpha <span style="color: #66cc66;">&#40;</span>values decrease <span style="color: #cc66cc;">75</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#41;</span>
&nbsp;
<span style="color: #66cc66;">&#40;</span>global-set-key <span style="color: #66cc66;">&#40;</span>kbd <span style="color: #ff0000;">&quot;M-&lt;mouse-4&gt;&quot;</span><span style="color: #66cc66;">&#41;</span> 'my-increase-opacity<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span>global-set-key <span style="color: #66cc66;">&#40;</span>kbd <span style="color: #ff0000;">&quot;M-&lt;mouse -5&gt;&quot;</span><span style="color: #66cc66;">&#41;</span> 'my-decrease-opacity<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&lt;</span>/mouse<span style="color: #66cc66;">&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2009/09/16/emacs-and-transparency-mouse-wheel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>python syntax warning in emacs</title>
		<link>http://blog.chmouel.com/2009/08/31/python-syntax-warning-in-emacs/</link>
		<comments>http://blog.chmouel.com/2009/08/31/python-syntax-warning-in-emacs/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 05:04:28 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.chmouel.com/?p=169</guid>
		<description><![CDATA[One of the best feature to have with Emacs when doing python development is to have a real time syntax error/warning check highlighted in your code to avoid many errors or superfluous code. This code is taken from the brillant &#8230; <a href="http://blog.chmouel.com/2009/08/31/python-syntax-warning-in-emacs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the best feature to have with Emacs when doing python development is to have a real time syntax error/warning check highlighted in your code to avoid many errors or superfluous code.</p>
<p>This code is taken from the brillant Emacswiki <a href="http://www.emacswiki.org/cgi-bin/wiki/PythonMode">python page</a>.</p>
<p>You need to install pyflakes first which should be available on your linux distro by default in a package or for the other OS you may follow the procedure from the <a href="http://www.divmod.org/trac/wiki/DivmodPyflakes">pyflakes webpage</a>.</p>
<p>and add this configuration to your .emacs :</p>

<div class="wp_codebox"><table><tr id="p1696"><td class="code" id="p169code6"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">when</span> <span style="color: #66cc66;">&#40;</span>load <span style="color: #ff0000;">&quot;flymake&quot;</span> t<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">defun</span> flymake-pyflakes-init <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">let</span>* <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>temp-file <span style="color: #66cc66;">&#40;</span>flymake-init-create-temp-buffer-copy
                     'flymake-create-temp-inplace<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
         <span style="color: #66cc66;">&#40;</span>local-file <span style="color: #66cc66;">&#40;</span>file-relative-<span style="color: #b1b100;">name</span>
                      temp-file
                      <span style="color: #66cc66;">&#40;</span>file-name-directory buffer-file-<span style="color: #b1b100;">name</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">list</span> <span style="color: #ff0000;">&quot;pyflakes&quot;</span> <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">list</span> local-file<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span>add-to-<span style="color: #b1b100;">list</span> 'flymake-allowed-file-name-masks
             '<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\\</span>.py<span style="color: #000099; font-weight: bold;">\\</span>'&quot;</span> flymake-pyflakes-init<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></pre></td></tr></table></div>

<p>make sure pyflakes is in your path and enable flymake-mode by default if you like for all python mode :</p>
<p><code><br />
(add-hook 'python-mode-hook 'my-python-mode-hook)</code></p>
<p>go by M-x customize flymake as well if you like to customise some variables.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2009/08/31/python-syntax-warning-in-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>emacs daemon and Xdefaults</title>
		<link>http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/</link>
		<comments>http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 09:27:21 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://blog.chmouel.com/?p=164</guid>
		<description><![CDATA[It does not seems that emacs started with &#8211;daemon read the .Xdefauls resource it seems that the only way setting it is by the default-frame-alist variable. I have my setup like this : &#40;setq default-frame-alist '&#40;&#40;font-backend . &#34;xft&#34;&#41; &#40;font . &#8230; <a href="http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It does not seems that emacs started with &#8211;daemon read the .Xdefauls resource it seems that the only way setting it is by the <em>default-frame-alist</em> variable. </p>
<p>I have my setup like this :</p>

<div class="wp_codebox"><table><tr id="p1648"><td class="code" id="p164code8"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> default-frame-alist '<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>font-backend <span style="color: #66cc66;">.</span> <span style="color: #ff0000;">&quot;xft&quot;</span><span style="color: #66cc66;">&#41;</span>
                            <span style="color: #66cc66;">&#40;</span>font <span style="color: #66cc66;">.</span> <span style="color: #ff0000;">&quot;Inconsolata-14&quot;</span><span style="color: #66cc66;">&#41;</span>
                            <span style="color: #66cc66;">&#40;</span>vertical-scroll-bars<span style="color: #66cc66;">&#41;</span>
                            <span style="color: #66cc66;">&#40;</span>left-fringe <span style="color: #66cc66;">.</span> -<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>
                            <span style="color: #66cc66;">&#40;</span>right-fringe <span style="color: #66cc66;">.</span> -<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>
                            <span style="color: #66cc66;">&#40;</span>fullscreen <span style="color: #66cc66;">.</span> fullboth<span style="color: #66cc66;">&#41;</span>
                            <span style="color: #66cc66;">&#40;</span>menu-bar-lines <span style="color: #66cc66;">.</span> <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>
                            <span style="color: #66cc66;">&#40;</span>tool-bar-lines <span style="color: #66cc66;">.</span> <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>
                            <span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></pre></td></tr></table></div>

<p>PS: inconsolata font can be installed from the package ttf-inconsolata</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2009/08/11/emacs-daemon-and-xdefaults/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Update Emacs/VIM tags with inotify</title>
		<link>http://blog.chmouel.com/2009/07/03/update-emacsvim-tags-with-inotify/</link>
		<comments>http://blog.chmouel.com/2009/07/03/update-emacsvim-tags-with-inotify/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 18:12:30 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://blog.chmouel.com/?p=153</guid>
		<description><![CDATA[When you use the tags interface for Emacs or with VIM you have to generate your tag file everytime you have a new class or things get changed.  Would not be cool to have inotify monitoring your project directory and &#8230; <a href="http://blog.chmouel.com/2009/07/03/update-emacsvim-tags-with-inotify/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When you use the tags interface for <a href="http://www.emacswiki.org/emacs/EmacsTags">Emacs</a> or with <a href="http://www.vim.org/htmldoc/tagsrch.html#tags">VIM</a> you have to generate your tag file everytime you have a new class or things get changed.  Would not be cool to have inotify monitoring your project directory and run the etags command to generate it.</p>
<p>With <a href="http://inotify.aiken.cz/?section=incron&amp;page=doc&amp;lang=en">incron</a> you have cron that can watch some portion of the filesystem and generate an action if certain event appears.  So after installed (aptitude/urpmi) it I have configured this incrontab entry :</p>

<div class="wp_codebox"><table><tr id="p15311"><td class="code" id="p153code11"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>chmouel<span style="color: #000000; font-weight: bold;">/</span>git<span style="color: #000000; font-weight: bold;">/</span>myproject IN_CLOSE_WRITE <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>chmouel<span style="color: #000000; font-weight: bold;">/</span>update-ctags.sh py $<span style="color: #000000; font-weight: bold;">@</span> $<span style="color: #000000; font-weight: bold;">@/</span><span style="color: #007800;">$#</span></pre></td></tr></table></div>

<p>The script update-ctags.sh takes 3 argument one is the type of file to update when it&#8217;s changed it accept multipe of them if you delimit with a pipe ie: py|inc|php|c and the two others are identifier from incron to give the base directory and the full path which is something you should not have to change.</p>
<p>The update-ctags is simple as follow which could be hacked for your convenience :</p>

<div class="wp_codebox"><table><tr id="p15312"><td class="code" id="p153code12"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #007800;">ACCEPTED_EXTENSION</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(echo $1|sed 's/|/ /g')</span>&quot;</span>
<span style="color: #007800;">BASE_DIR</span>=<span style="color: #007800;">$2</span>
<span style="color: #007800;">FILE_EXT</span>=<span style="color: #800000;">${3##*.}</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #800000;">${FILE_EXT}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #7a0874; font-weight: bold;">exit</span>
&nbsp;
<span style="color: #007800;">processing</span>=
<span style="color: #000000; font-weight: bold;">for</span> extension <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$ACCEPTED_EXTENSION</span>;<span style="color: #000000; font-weight: bold;">do</span>
    <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$extension</span> == <span style="color: #007800;">$FILE_EXT</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #007800;">processing</span>=<span style="color: #c20cb9; font-weight: bold;">true</span>
<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #800000;">${BASE_DIR}</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-wholename</span> <span style="color: #ff0000;">'./.git/*'</span>  <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-wholename</span> <span style="color: #ff0000;">'./.svn/*'</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.pyc'</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*~'</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*#'</span> -print0<span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #660033;">-0</span> etags <span style="color: #660033;">-o</span> <span style="color: #800000;">${BASE_DIR}</span><span style="color: #000000; font-weight: bold;">/</span>TAGS <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null</pre></td></tr></table></div>

<div id="_mcePaste" style="position: absolute; left: -10000px; top: 50px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">/home/chmouel/git/swift-container IN_CLOSE_WRITE /home/chmouel/updatectags.sh py $@ $@/$#</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2009/07/03/update-emacsvim-tags-with-inotify/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>FFAP and Ruby in Emacs</title>
		<link>http://blog.chmouel.com/2008/05/04/ffap-and-ruby-in-emacs/</link>
		<comments>http://blog.chmouel.com/2008/05/04/ffap-and-ruby-in-emacs/#comments</comments>
		<pubDate>Sun, 04 May 2008 19:13:41 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://www.chmouel.com/blog/?p=70</guid>
		<description><![CDATA[If you want to use FFAP (find-file-at-point) in ruby-mode you can add this to your .emacs &#40;defvar ruby-program-name &#34;ruby&#34;&#41; &#40;defun ruby-module-path&#40;module&#41; &#40;shell-command-to-string &#40;concat ruby-program-name &#34; -e &#34; &#34;\&#34;ret='()';$LOAD_PATH.each{&#124;p&#124; &#34; &#34;x=p+'/'+ARGV[0].gsub('.rb', '')+'.rb';&#34; &#34;ret=File.expand_path(x)&#34; &#34;if(File.exist?(x))};printf ret\&#34; &#34; module&#41;&#41;&#41; &#160; &#40;eval-after-load &#34;ffap&#34; '(push &#8230; <a href="http://blog.chmouel.com/2008/05/04/ffap-and-ruby-in-emacs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you want to use FFAP (find-file-at-point) in ruby-mode you can add this to your .emacs</p>

<div class="wp_codebox"><table><tr id="p7014"><td class="code" id="p70code14"><pre class="ruby" style="font-family:monospace;"><span style="color:#006600; font-weight:bold;">&#40;</span>defvar ruby<span style="color:#006600; font-weight:bold;">-</span>program<span style="color:#006600; font-weight:bold;">-</span>name <span style="color:#996600;">&quot;ruby&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
<span style="color:#006600; font-weight:bold;">&#40;</span>defun ruby<span style="color:#006600; font-weight:bold;">-</span>module<span style="color:#006600; font-weight:bold;">-</span>path<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#9966CC; font-weight:bold;">module</span><span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#006600; font-weight:bold;">&#40;</span>shell<span style="color:#006600; font-weight:bold;">-</span>command<span style="color:#006600; font-weight:bold;">-</span>to<span style="color:#006600; font-weight:bold;">-</span><span style="color:#CC0066; font-weight:bold;">string</span>
     <span style="color:#006600; font-weight:bold;">&#40;</span>concat
      ruby<span style="color:#006600; font-weight:bold;">-</span>program<span style="color:#006600; font-weight:bold;">-</span>name <span style="color:#996600;">&quot; -e &quot;</span>
      <span style="color:#996600;">&quot;<span style="color:#000099;">\&quot;</span>ret='()';$LOAD_PATH.each{|p| &quot;</span>
      <span style="color:#996600;">&quot;x=p+'/'+ARGV[0].gsub('.rb', '')+'.rb';&quot;</span>
      <span style="color:#996600;">&quot;ret=File.expand_path(x)&quot;</span>
      <span style="color:#996600;">&quot;if(File.exist?(x))};printf ret<span style="color:#000099;">\&quot;</span> &quot;</span>
      <span style="color:#9966CC; font-weight:bold;">module</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
&nbsp;
<span style="color:#006600; font-weight:bold;">&#40;</span>eval<span style="color:#006600; font-weight:bold;">-</span>after<span style="color:#006600; font-weight:bold;">-</span><span style="color:#CC0066; font-weight:bold;">load</span> <span style="color:#996600;">&quot;ffap&quot;</span>
  <span style="color:#996600;">'(push '</span><span style="color:#006600; font-weight:bold;">&#40;</span>ruby<span style="color:#006600; font-weight:bold;">-</span>mode . <span style="color:#9900CC;">ruby</span><span style="color:#006600; font-weight:bold;">-</span>module<span style="color:#006600; font-weight:bold;">-</span>path<span style="color:#006600; font-weight:bold;">&#41;</span> ffap<span style="color:#006600; font-weight:bold;">-</span>alist<span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">&#41;</span></pre></td></tr></table></div>

<p>When you do ffap (i bind it to C-x f) near a require &#8216;PP&#8217; for example it will find it in your ruby path.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2008/05/04/ffap-and-ruby-in-emacs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Emacs config</title>
		<link>http://blog.chmouel.com/2007/09/07/emacs-config/</link>
		<comments>http://blog.chmouel.com/2007/09/07/emacs-config/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 07:57:34 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://www.chmouel.com/blog/2007/09/07/emacs-config/</guid>
		<description><![CDATA[To anyone interested my extensive Emacs configuration is available here : http://code.google.com/p/chmouel/source And here is the usual screen shot :]]></description>
			<content:encoded><![CDATA[<p>To anyone interested my extensive Emacs configuration is available here :</p>
<p><a href="http://code.google.com/p/chmouel/source" target="_blank">http://code.google.com/p/chmouel/source</a></p>
<p>And here is the usual screen shot :</p>
<p><a href="http://www.chmouel.com/blog/2007/09/07/emacs-config/emacs-screen-shot/" rel="attachment wp-att-60" title="Emacs Screen Shot"></a></p>
<p style="text-align: center"><a href="http://www.chmouel.com/blog/2007/09/07/emacs-config/emacs-screen-shot/" rel="attachment wp-att-60" title="Emacs Screen Shot"><img src="http://www.chmouel.com/blog/wp-content/uploads/2007/09/chmouemacs.thumbnail.png" alt="Emacs Screen Shot" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2007/09/07/emacs-config/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Always search before coding</title>
		<link>http://blog.chmouel.com/2007/02/11/always-search-before-coding/</link>
		<comments>http://blog.chmouel.com/2007/02/11/always-search-before-coding/#comments</comments>
		<pubDate>Sun, 11 Feb 2007 11:47:39 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://www.chmouel.com/blog/2007/02/11/always-search-before-coding/</guid>
		<description><![CDATA[This is a annoying, even if it take 5mn to code thing like that : &#40;defun my-dired-rm-rf&#40;&#41; &#34;Rm -rf directories&#34; &#40;interactive&#41; &#40;let &#40;&#40;sel &#40;selected-window&#41;&#41;&#41; &#40;dolist &#40;curFile &#40;dired-get-marked-files&#41;&#41; &#40;if &#40;yes-or-no-p &#40;concat &#34;Do you want to remove \&#34;&#34; &#40;file-name-nondirectory curFile&#41; &#34;\&#34; ? &#8230; <a href="http://blog.chmouel.com/2007/02/11/always-search-before-coding/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a annoying, even if it take 5mn to code thing like that :</p>

<div class="wp_codebox"><table><tr id="p5116"><td class="code" id="p51code16"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">defun</span> my-dired-rm-rf<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #ff0000;">&quot;Rm -rf directories&quot;</span>
  <span style="color: #66cc66;">&#40;</span>interactive<span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">let</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>sel <span style="color: #66cc66;">&#40;</span>selected-window<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">dolist</span> <span style="color: #66cc66;">&#40;</span>curFile <span style="color: #66cc66;">&#40;</span>dired-get-marked-files<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
	  <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>yes-or-no-p <span style="color: #66cc66;">&#40;</span>concat <span style="color: #ff0000;">&quot;Do you want to remove <span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span> <span style="color: #66cc66;">&#40;</span>file-name-nondirectory curFile<span style="color: #66cc66;">&#41;</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\&quot;</span> ? &quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
		  <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">progn</span>
			<span style="color: #66cc66;">&#40;</span>shell-command <span style="color: #66cc66;">&#40;</span>concat <span style="color: #ff0000;">&quot;rm -rvf &quot;</span> curFile<span style="color: #66cc66;">&#41;</span> 
<span style="color: #ff0000;">&quot;*Removing Directories*&quot;</span><span style="color: #66cc66;">&#41;</span>
			<span style="color: #66cc66;">&#40;</span>kill-buffer <span style="color: #ff0000;">&quot;*Removing Directories*&quot;</span><span style="color: #66cc66;">&#41;</span>
			<span style="color: #66cc66;">&#40;</span>select-window sel<span style="color: #66cc66;">&#41;</span>
			<span style="color: #66cc66;">&#40;</span>revert-buffer<span style="color: #66cc66;">&#41;</span>
			<span style="color: #66cc66;">&#41;</span>
		<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></pre></td></tr></table></div>

<p>you discover after a litlle while that if you have did a lilt bit of searching before, you will have discovered a variable call <strong>`dired-recursive-deletes`</strong> that would do the thing in a much better way.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2007/02/11/always-search-before-coding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emacs nighly cvs snapshot with xft on Ubuntu Edgy</title>
		<link>http://blog.chmouel.com/2007/01/21/emacs-nighly-cvs-snapshot-with-xft-on-ubuntu-edgy/</link>
		<comments>http://blog.chmouel.com/2007/01/21/emacs-nighly-cvs-snapshot-with-xft-on-ubuntu-edgy/#comments</comments>
		<pubDate>Sun, 21 Jan 2007 12:32:54 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://www.chmouel.com/blog/2007/01/21/emacs-nighly-cvs-snapshot-with-xft-on-ubuntu-edgy/</guid>
		<description><![CDATA[I wanted to try the latest cvs snapshot with XFT support, since i did not want to screw up more my workstation i have used packages instead of make install blindy. Basically i have a script called ./build.sh #!/bin/bash set &#8230; <a href="http://blog.chmouel.com/2007/01/21/emacs-nighly-cvs-snapshot-with-xft-on-ubuntu-edgy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wanted to try the latest cvs snapshot with XFT support, since i did not want to screw up more my workstation i have used packages instead of make install blindy.</p>
<p>Basically i have a script called ./build.sh</p>

<div class="wp_codebox"><table><tr id="p4419"><td class="code" id="p44code19"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #660033;">-e</span>
&nbsp;
<span style="color: #007800;">d</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #ff0000;">'+%Y%m%d'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">debpatch</span>=<span style="color: #000000;">20061218</span>-<span style="color: #000000;">1</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #c20cb9; font-weight: bold;">cvs</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">pushd</span> <span style="color: #c20cb9; font-weight: bold;">cvs</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #7a0874; font-weight: bold;">&#123;</span>
<span style="color: #c20cb9; font-weight: bold;">cvs</span> <span style="color: #660033;">-Q</span> <span style="color: #660033;">-z3</span> -d:pserver:anonymous<span style="color: #000000; font-weight: bold;">@</span>cvs.savannah.gnu.org:<span style="color: #000000; font-weight: bold;">/</span>sources<span style="color: #000000; font-weight: bold;">/</span>emacs <span style="color: #c20cb9; font-weight: bold;">co</span> <span style="color: #660033;">-r</span> emacs-unicode-<span style="color: #000000;">2</span> emacs
<span style="color: #7a0874; font-weight: bold;">&#125;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #7a0874; font-weight: bold;">popd</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> build
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> build<span style="color: #000000; font-weight: bold;">/</span>emacs-<span style="color: #800000;">${d}</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> build<span style="color: #000000; font-weight: bold;">/</span>emacs-<span style="color: #800000;">${d}</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-al</span> cvs<span style="color: #000000; font-weight: bold;">/</span>emacs build<span style="color: #000000; font-weight: bold;">/</span>emacs-<span style="color: #800000;">${d}</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">zcat</span> patches<span style="color: #000000; font-weight: bold;">/</span>emacs-snapshot_<span style="color: #800000;">${debpatch}</span>.diff.gz<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #660033;">-p1</span> <span style="color: #660033;">-d</span> build<span style="color: #000000; font-weight: bold;">/</span>emacs-<span style="color: #800000;">${d}</span>
<span style="color: #c20cb9; font-weight: bold;">cat</span> patches<span style="color: #000000; font-weight: bold;">/</span>with-font.patch<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #660033;">--silent</span> <span style="color: #660033;">-p1</span> <span style="color: #660033;">-d</span> build<span style="color: #000000; font-weight: bold;">/</span>emacs-<span style="color: #800000;">${d}</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">pushd</span> build<span style="color: #000000; font-weight: bold;">/</span>emacs-<span style="color: #800000;">${d}</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    <span style="color: #c20cb9; font-weight: bold;">chmod</span> +x debian<span style="color: #000000; font-weight: bold;">/</span>rules
    dch <span style="color: #660033;">-v</span> <span style="color: #ff0000;">&quot;1:<span style="color: #007800;">${d}</span>-1&quot;</span> <span style="color: #ff0000;">&quot;New snapshot.&quot;</span>
    dch <span style="color: #ff0000;">&quot;Build with xft.&quot;</span>
    fakeroot dpkg-buildpackage <span style="color: #660033;">-b</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #000000; font-weight: bold;">&amp;</span>amp; <span style="color: #7a0874; font-weight: bold;">popd</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt;<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null</pre></td></tr></table></div>

<p>in patches/with-font.patch i have :</p>

<div class="wp_codebox"><table><tr id="p4420"><td class="code" id="p44code20"><pre class="diff" style="font-family:monospace;"><span style="color: #888822;">--- c/debian/rules.chmou        2007-01-21 23:21:09.486353750 +1100</span>
<span style="color: #888822;">+++ c/debian/rules      2007-01-21 23:21:13.914630500 +1100</span>
<span style="color: #440088;">@@ -393,7 +393,7 @@</span>
 # Emacs-gtk confflags
 emacs_gtk_confflags := $<span style="">&#123;</span>confflags<span style="">&#125;</span>
 emacs_gtk_confflags += --with-x=yes
<span style="color: #991111;">-emacs_gtk_confflags += --with-x-toolkit=gtk</span>
<span style="color: #00b000;">+emacs_gtk_confflags += --with-x-toolkit=gtk  --enable-font-backend --with-xft</span>
&nbsp;
 # Emacs-nox confflags
 emacs_nox_confflags := $<span style="">&#123;</span>confflags<span style="">&#125;</span>
<span style="color: #888822;">--- c/src/emacs.c.chmou 2007-01-21 23:21:09.486353750 +1100</span>
<span style="color: #888822;">+++ c/src/emacs.c       2007-01-21 23:22:18.430662500 +1100</span>
<span style="color: #440088;">@@ -1408,10 +1408,10 @@</span>
     = argmatch <span style="">&#40;</span>argv, argc, &quot;-nl&quot;, &quot;--no-loadup&quot;, <span style="">6</span>, NULL, &amp;amp;skip_args<span style="">&#41;</span>;
&nbsp;
 #ifdef USE_FONT_BACKEND
<span style="color: #991111;">-  enable_font_backend = <span style="">0</span>;</span>
<span style="color: #991111;">-  if <span style="">&#40;</span>argmatch <span style="">&#40;</span>argv, argc, &quot;-enable-font-backend&quot;, &quot;--enable-font-backend&quot;,</span>
<span style="color: #991111;">-               <span style="">4</span>, NULL, &amp;amp;skip_args<span style="">&#41;</span><span style="">&#41;</span></span>
     enable_font_backend = <span style="">1</span>;
<span style="color: #00b000;">+  if <span style="">&#40;</span>argmatch <span style="">&#40;</span>argv, argc, &quot;-disable-font-backend&quot;, &quot;--disable-font-backend&quot;,</span>
<span style="color: #00b000;">+               <span style="">4</span>, NULL, &amp;amp;skip_args<span style="">&#41;</span><span style="">&#41;</span></span>
<span style="color: #00b000;">+    enable_font_backend = <span style="">0</span>;</span>
 #endif /* USE_FONT_BACKEND */
&nbsp;
 #ifdef HAVE_X_WINDOWS
<span style="color: #440088;">@@ -1816,7 +1816,7 @@</span>
   <span style="">&#123;</span> &quot;-unibyte&quot;, &quot;--unibyte&quot;, <span style="">81</span>, <span style="">0</span> <span style="">&#125;</span>,
   <span style="">&#123;</span> &quot;-no-multibyte&quot;, &quot;--no-multibyte&quot;, <span style="">80</span>, <span style="">0</span> <span style="">&#125;</span>,
   <span style="">&#123;</span> &quot;-nl&quot;, &quot;--no-loadup&quot;, <span style="">70</span>, <span style="">0</span> <span style="">&#125;</span>,
<span style="color: #991111;">-  <span style="">&#123;</span> &quot;-enable-font-backend&quot;, &quot;--enable-font-backend&quot;, 65, 0 <span style="">&#125;</span>,</span>
<span style="color: #00b000;">+  <span style="">&#123;</span> &quot;-disable-font-backend&quot;, &quot;--disable-font-backend&quot;, 65, 0 <span style="">&#125;</span>,</span>
   /* -d must come last before the options handled in startup.el.  */
   <span style="">&#123;</span> &quot;-d&quot;, &quot;--display&quot;, <span style="">60</span>, <span style="">1</span> <span style="">&#125;</span>,
   <span style="">&#123;</span> &quot;-display&quot;, <span style="">0</span>, <span style="">60</span>, <span style="">1</span> <span style="">&#125;</span>,</pre></td></tr></table></div>

<p>i have as well in patches/ the ubuntu (or could be debian) patch downloaded from the ubuntu (or debian archive) archive which is for ubuntu on</p>
<p><a href="http://archive.ubuntu.com/ubuntu/pool/universe/e/emacs-wiki"> http://archive.ubuntu.com/ubuntu/pool/universe/e/emacs-wiki </a></p>
<p>If there is a new version you will need to increase the version in build.sh to match the patch downloaded.</p>
<p>When running build.sh it should produce binary in build/* with xft enabled by default. Make sure to have all the dependencies (dpkg-buildpackages should  tell you if there is unresovled one).</p>
<p>One screenshot :</p>
<p><a href="http://www.chmouel.com/blog/wp-content/uploads/2007/01/emacs-snapshot-xft.png" title="Screenshot of Emacs snapshot with XFT"><img src="http://www.chmouel.com/blog/wp-content/uploads/2007/01/emacs-snapshot-xft.png" alt="Screenshot of Emacs snapshot with XFT" width="80%" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2007/01/21/emacs-nighly-cvs-snapshot-with-xft-on-ubuntu-edgy/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Rename bunch of file via regexp</title>
		<link>http://blog.chmouel.com/2007/01/06/rename-bunch-of-file-via-regexp/</link>
		<comments>http://blog.chmouel.com/2007/01/06/rename-bunch-of-file-via-regexp/#comments</comments>
		<pubDate>Sun, 07 Jan 2007 02:48:46 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://www.chmouel.com/blog/2007/01/06/rename-bunch-of-file-via-regexp/</guid>
		<description><![CDATA[To rename bunch of files via regexp i was using before a homegrown python script call rename-regexp.py to change bunch of files with a regexp. But since then i discovered wdired which is pretty fantastic to use that from emacs. &#8230; <a href="http://blog.chmouel.com/2007/01/06/rename-bunch-of-file-via-regexp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To rename bunch of files via regexp i was using before a homegrown python script call <a id="p38" href="http://www.chmouel.com/blog/wp-content/uploads/2007/01/rename-regexppy1.txt">rename-regexp.py</a> to change bunch of files with a regexp.</p>
<p>But since then i discovered <a href="http://cris.ukrweb.net/documentation/editors/emacs/gnu_emacs/Wdired.html">wdired</a> which is pretty fantastic to use that from emacs. With the <a href="http://steve-yegge.blogspot.com/2006/06/shiny-and-new-emacs-22.html">extended </a><em>&#8220;query-replace-regexp&#8220;</em> from Emacs22 stuff are much easier to rename.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2007/01/06/rename-bunch-of-file-via-regexp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

