<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>theBlackDragon's Blog &#187; Emacs</title>
	<atom:link href="http://theblackdragon.wordpress.com/category/emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://theblackdragon.wordpress.com</link>
	<description>Tales from deep down the dragon's lair...</description>
	<lastBuildDate>Tue, 11 Mar 2008 10:05:02 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='theblackdragon.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/c04ed0340a69aef46fa02e420f3bbef4?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>theBlackDragon's Blog &#187; Emacs</title>
		<link>http://theblackdragon.wordpress.com</link>
	</image>
			<item>
		<title>GNU Emacs 22.1 released!</title>
		<link>http://theblackdragon.wordpress.com/2007/06/03/gnu-emacs-221-released/</link>
		<comments>http://theblackdragon.wordpress.com/2007/06/03/gnu-emacs-221-released/#comments</comments>
		<pubDate>Sun, 03 Jun 2007 09:26:48 +0000</pubDate>
		<dc:creator>theBlackDragon</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Techie stuff]]></category>

		<guid isPermaLink="false">http://theblackdragon.wordpress.com/2007/06/03/gnu-emacs-221-released/</guid>
		<description><![CDATA[This morning I check in on #fvwm and the first thing I notice is the following:
03/06&#124;01:03:06 &#60; Hun&#62; theBlackDragon: aaaaaaaaaaah!
03/06&#124;01:03:13 &#60; Hun&#62; e22 has been released!
So I run off to the Emacs homepage, but nothing to be found about a new release. Hmm.
So what can you do? Check usenet of course, and sure enough on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=23&subd=theblackdragon&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This morning I check in on <em>#fvwm</em> and the first thing I notice is the following:</p>
<p><em>03/06|01:03:06 &lt; Hun&gt; theBlackDragon: aaaaaaaaaaah!<br />
03/06|01:03:13 &lt; Hun&gt; e22 has been released!</em></p>
<p>So I run off to the <a href="http://www.gnu.org/software/emacs/">Emacs homepage</a>, but nothing to be found about a new release. Hmm.<br />
So what can you do? Check usenet of course, and sure enough on <em>gnu.emacs.devel</em> (e-mail addresses removed for obvious reasons):</p>
<pre>From: David Kastrup &lt;*@*&gt;
 Subject: Re: Cygwin binaries for Emacs-22.1 released!
 Newsgroups: gmane.emacs.devel
 To: Angelo Graziosi &lt;*@*&gt;
 Cc: emacs-devel@gnu.org
 Date: Sat, 02 Jun 2007 21:18:05 +0200</pre>
<pre>Angelo Graziosi &lt;*@*&gt; writes:</pre>
<pre>&gt; Cygwin binaries for 22.1 release here:
 &gt;
 &gt;    http://www.webalice.it/angelo.graziosi/Emacs.html</pre>
<pre>I was going to mouth off about premature announcements and being
 careless about release numbers, but checking on the ftp server have
 found that the tarball for Emacs 22.1 has been uploaded.</pre>
<pre>Did I miss the announcement on this list?</pre>
<pre>--
 David Kastrup</pre>
<p>And sure enough, there it was, on the <a href="http://ftp.gnu.org/pub/gnu/emacs/">GNU FTP server</a>, all shiny and new: an Emacs 22.1 tarball, the changes from 21.x are a little bit too numerous to sum up here, I&#8217;d say just upgrade or read the <a href="http://www.gnu.org/software/emacs/NEWS.22.1">ChangeLog</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/theblackdragon.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/theblackdragon.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/theblackdragon.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/theblackdragon.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/theblackdragon.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/theblackdragon.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/theblackdragon.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/theblackdragon.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/theblackdragon.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/theblackdragon.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/theblackdragon.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/theblackdragon.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=23&subd=theblackdragon&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://theblackdragon.wordpress.com/2007/06/03/gnu-emacs-221-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62e9e79acab99e3726d60e3ff4cd65c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">theBlackDragon</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs tips #4: the Emacs Lisp REPL</title>
		<link>http://theblackdragon.wordpress.com/2007/01/21/emacs-tips-4-the-emacs-lisp-repl/</link>
		<comments>http://theblackdragon.wordpress.com/2007/01/21/emacs-tips-4-the-emacs-lisp-repl/#comments</comments>
		<pubDate>Sun, 21 Jan 2007 14:40:43 +0000</pubDate>
		<dc:creator>theBlackDragon</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://theblackdragon.wordpress.com/2007/01/21/emacs-tips-4-the-emacs-lisp-repl/</guid>
		<description><![CDATA[Everybody knows you can evaluate elisp expressions in the scratch buffer, but a lot less people seem to be aware of ielm the interactive Emacs Lisp mode, this mode opens a sort of Emacs REPL that allows you to work with Emacs Lisp much in the same way you&#8217;d do at a Common Lisp REPL.
Another [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=19&subd=theblackdragon&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Everybody knows you can evaluate elisp expressions in the scratch buffer, but a lot less people seem to be aware of <em>ielm </em>the <em>interactive Emacs Lisp mode</em>, this mode opens a sort of Emacs REPL that allows you to work with Emacs Lisp much in the same way you&#8217;d do at a Common Lisp REPL.</p>
<p>Another little known fact is that you can evaluate elisp expressions at the eshell prompt, just try typing (+ 12 9) and hitting <em>return</em>. Spiffy eh? But you&#8217;ll quickly run into eshell&#8217;s  elisp limitations: it doesn&#8217;t correctly indent code so it&#8217;s not really useful for &#8216;real&#8217; elisp hacking, <em>ielm</em> is much better suited for that purpose as it does corretly indent elisp code.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/theblackdragon.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/theblackdragon.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/theblackdragon.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/theblackdragon.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/theblackdragon.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/theblackdragon.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/theblackdragon.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/theblackdragon.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/theblackdragon.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/theblackdragon.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/theblackdragon.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/theblackdragon.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=19&subd=theblackdragon&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://theblackdragon.wordpress.com/2007/01/21/emacs-tips-4-the-emacs-lisp-repl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62e9e79acab99e3726d60e3ff4cd65c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">theBlackDragon</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs tips #3 : automatically making scripts executable</title>
		<link>http://theblackdragon.wordpress.com/2006/12/29/emacs-tips-3-automatically-making-scripts-executable/</link>
		<comments>http://theblackdragon.wordpress.com/2006/12/29/emacs-tips-3-automatically-making-scripts-executable/#comments</comments>
		<pubDate>Fri, 29 Dec 2006 13:01:18 +0000</pubDate>
		<dc:creator>theBlackDragon</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://theblackdragon.wordpress.com/2006/12/29/emacs-tips-3-automatically-making-scripts-executable/</guid>
		<description><![CDATA[I don&#8217;t remember where I found this snippet (maybe comp.emacs) but it&#8217;s mighty useful so I thought I&#8217;d share it with you:
; Sets +x on scripts stating with a shebang
(if (&#60; emacs-major-version 22)
       (add-hook 'after-save-hook
               [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=18&subd=theblackdragon&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I don&#8217;t remember where I found this snippet (maybe <em>comp.emacs</em>) but it&#8217;s mighty useful so I thought I&#8217;d share it with you:</p>
<pre>; Sets +x on scripts stating with a shebang
(if (&lt; emacs-major-version 22)
       (add-hook 'after-save-hook
                 '(lambda ()
                    (progn
                      (and (save-excursion
                             (save-restriction
                               (widen)
                               (goto-char (point-min))
                               (save-match-data
                         (looking-at "^#!"))))
                           (shell-command (concat "chmod u+x "
                             buffer-file-name))
                           (message (concat "Saved as script: "
                             buffer-file-name))))))
       (add-hook 'after-save-hook
         'executable-make-buffer-file-executable-if-script-p))</pre>
<p>Emacs versions below 22 need the former, longer method while Emacs 22 can use the oneliner in the last line.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/theblackdragon.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/theblackdragon.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/theblackdragon.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/theblackdragon.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/theblackdragon.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/theblackdragon.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/theblackdragon.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/theblackdragon.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/theblackdragon.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/theblackdragon.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/theblackdragon.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/theblackdragon.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=18&subd=theblackdragon&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://theblackdragon.wordpress.com/2006/12/29/emacs-tips-3-automatically-making-scripts-executable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62e9e79acab99e3726d60e3ff4cd65c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">theBlackDragon</media:title>
		</media:content>
	</item>
		<item>
		<title>Antialiased Emacs (using XFT)</title>
		<link>http://theblackdragon.wordpress.com/2006/09/03/antialiased-emacs-using-xft/</link>
		<comments>http://theblackdragon.wordpress.com/2006/09/03/antialiased-emacs-using-xft/#comments</comments>
		<pubDate>Sun, 03 Sep 2006 14:57:24 +0000</pubDate>
		<dc:creator>theBlackDragon</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">https://theblackdragon.wordpress.com/2006/09/03/antialiased-emacs-using-xft/</guid>
		<description><![CDATA[There are a couple of resources describing how to get Emacs 23 (aka &#8220;the unicode branch&#8221;) display antialiased fonts (see here for starters).
So building on my previous post on installing Emacs 23 from CVS you need to use this configure command:
./configure --prefix=/home/theBlackDragon/local --program-suffix=.emacs-23 --with-gtk --enable-font-backend --with-xft --with-freetype
You&#8217;ll need to start it like this for example:
emacs-23 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=13&subd=theblackdragon&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There are a couple of resources describing how to get Emacs 23 (aka &#8220;the unicode branch&#8221;) display antialiased fonts (see <a href="http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs">here</a> for starters).</p>
<p>So building on my <a href="http://theblackdragon.wordpress.com/2006/04/27/installing-gnu-emacs-23-from-cvs/">previous post</a> on installing Emacs 23 from CVS you need to use this configure command:</p>
<p><code>./configure --prefix=/home/theBlackDragon/local --program-suffix=.emacs-23 --with-gtk --enable-font-backend --with-xft --with-freetype</code></p>
<p>You&#8217;ll need to start it like this for example:</p>
<p><code>emacs-23 --enable-font-backend --font "Bitstream Vera Sans Mono-12"</code></p>
<p><code></code>You can use an Xresource for the font if you like, but the &#8211;enable-font-backend switch is mandatory.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/theblackdragon.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/theblackdragon.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/theblackdragon.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/theblackdragon.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/theblackdragon.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/theblackdragon.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/theblackdragon.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/theblackdragon.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/theblackdragon.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/theblackdragon.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/theblackdragon.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/theblackdragon.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=13&subd=theblackdragon&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://theblackdragon.wordpress.com/2006/09/03/antialiased-emacs-using-xft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62e9e79acab99e3726d60e3ff4cd65c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">theBlackDragon</media:title>
		</media:content>
	</item>
		<item>
		<title>Portable Emacs</title>
		<link>http://theblackdragon.wordpress.com/2006/05/12/portable-emacs/</link>
		<comments>http://theblackdragon.wordpress.com/2006/05/12/portable-emacs/#comments</comments>
		<pubDate>Fri, 12 May 2006 11:07:04 +0000</pubDate>
		<dc:creator>theBlackDragon</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">https://theblackdragon.wordpress.com/2006/05/12/portable-emacs/</guid>
		<description><![CDATA[While reading gmane.emacs.help I came accross this post where somebody asked how he could make a portable app out of Emacs&#39; Windows version.
So since I&#39;m still at my internship (where they use Windows) and just recently obtained an iAudio X5L portable media player which behaves like an USB2 harddisk to the OS I wondered if [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=9&subd=theblackdragon&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>While reading gmane.emacs.help I came accross this <a href="http://article.gmane.org/gmane.emacs.help/34489/">post</a> where somebody asked how he could make a portable app out of Emacs&#39; Windows version.</p>
<p>So since I&#39;m still at my internship (where they use Windows) and just recently obtained an iAudio X5L portable media player which behaves like an USB2 harddisk to the OS I wondered if I could manage to make Emacs portable.</p>
<p>Short version: I could, the &quot;hardest&quot; part was in fact not even Emacs related, but my sheer lack of knowledge about Windows batch script.</p>
<p>I started by creating a &quot;SOFT&quot; folder on my external drive (named E: by Windows on this box) and extracted the altest Emacs build from the <a href="http://ntemacs.sourceforge.net/">ntemacs</a> project in this directory, thus creating &quot;E:\SOFT\emacs&quot; with all the usual subfolders.</p>
<p>Next I created a site-lisp/site-start.el file and added the following as suggested on usenet:</p>
<p><code>(let ((home (concat (substring (car command-line-args) 0 2) &quot;/SOFT&quot;)))</code><br />
<code>&nbsp;&nbsp;(setq user-init-file (concat home &quot;/config/.emacs&quot;))</code><br />
<code>&nbsp;&nbsp;(setq auto-save-list-file-prefix (concat home &quot;/config/.emacs.d/auto-save-list/.saves-&quot;)))</code></p>
<p>You&#39;ll need to adapt this to your particular environment of course.</p>
<p>This makes Emacs load my user-init-file (aka &quot;.emacs&quot;) from &quot;E:/SOFT/config/.emacs&quot; and moves the auto-save-list to the external device as well, this should be superfluous though as I change the location of HOME as described later, but it accounts for the cases that you don&#39;t want to change your HOME.</p>
<p>This is in fact the entire Emacs side of the story, though you will probably have some work making your elisp packages work with relative paths if you didn&#39;t take that into account before.</p>
<p>Now you need to redefine HOME in Windows (well, you don&#39;t <b>need</b> to but I find it useful), you can either do that globally with the System Properties or autoexec.bat in DOS based Windows versions, but I preferred to make it dynamic by writing a wrapper batfile that sets this variable and then launches Emacs.  I named it runemacs.bat (how appropriate;)) and put it in Emacs&#39; bin directory, the content looks like this:</p>
<p><code>set HOME=%CD%\..\..\config</code><br />
<code>runemacs</code></p>
<p>That&#39;s it! You can now run Emacs entirely from your external drive!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/theblackdragon.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/theblackdragon.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/theblackdragon.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/theblackdragon.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/theblackdragon.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/theblackdragon.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/theblackdragon.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/theblackdragon.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/theblackdragon.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/theblackdragon.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/theblackdragon.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/theblackdragon.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=9&subd=theblackdragon&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://theblackdragon.wordpress.com/2006/05/12/portable-emacs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62e9e79acab99e3726d60e3ff4cd65c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">theBlackDragon</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs tips #2 : linenumbers</title>
		<link>http://theblackdragon.wordpress.com/2006/05/11/emacs-tips-2-linenumbers/</link>
		<comments>http://theblackdragon.wordpress.com/2006/05/11/emacs-tips-2-linenumbers/#comments</comments>
		<pubDate>Thu, 11 May 2006 09:25:59 +0000</pubDate>
		<dc:creator>theBlackDragon</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">https://theblackdragon.wordpress.com/2006/05/11/emacs-tips-2-linenumbers/</guid>
		<description><![CDATA[A question that pops up pretty often is how you can add line numbers in the margin of your files the way most other editors do.
There are actually two ways of doing this:

adding the numbers in the margin
adding the numbers to your files, so that they get saved with your file, might be useful in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=8&subd=theblackdragon&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A question that pops up pretty often is how you can add line numbers in the margin of your files the way most other editors do.</p>
<p>There are actually two ways of doing this:</p>
<ul>
<li>adding the numbers in the margin</li>
<li>adding the numbers to your files, so that they get saved with your file, might be useful in certain cases (COBOL source?)</li>
</ul>
<p>Unfortunately Emacs doesn&#39;t support either out of the box, but fortunately people have written modes that do exactly this. Modes for both the <a href="http://www.emacswiki.org/cgi-bin/wiki/LineNumbers">former</a> as the <a href="http://www.emacswiki.org/cgi-bin/wiki/NumberLines">latter</a> can be found on the <a href="http://www.emacswiki.org">EmacsWiki</a>.</p>
<p>Personally I (occasionaly) use <a href="http://www.wonderworks.com/download/setnu.el">setnu.el</a> which works extremely well for my purposes.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/theblackdragon.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/theblackdragon.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/theblackdragon.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/theblackdragon.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/theblackdragon.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/theblackdragon.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/theblackdragon.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/theblackdragon.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/theblackdragon.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/theblackdragon.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/theblackdragon.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/theblackdragon.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=8&subd=theblackdragon&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://theblackdragon.wordpress.com/2006/05/11/emacs-tips-2-linenumbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62e9e79acab99e3726d60e3ff4cd65c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">theBlackDragon</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs tips #1</title>
		<link>http://theblackdragon.wordpress.com/2006/05/04/emacs-tips-1/</link>
		<comments>http://theblackdragon.wordpress.com/2006/05/04/emacs-tips-1/#comments</comments>
		<pubDate>Thu, 04 May 2006 12:57:47 +0000</pubDate>
		<dc:creator>theBlackDragon</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">https://theblackdragon.wordpress.com/2006/05/04/emacs-tips-1/</guid>
		<description><![CDATA[I&#39;ve been using Emacs for some time now but have only recently started to heavily customize it. With this I&#39;ve also started tracking (or more actively tracking) various Emacs related resources, picking up useful bits of information along the way. I&#39;ll try to share the most useful ones here with you on a (hopefully somewhat) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=7&subd=theblackdragon&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#39;ve been using Emacs for some time now but have only recently started to heavily customize it. With this I&#39;ve also started tracking (or more actively tracking) various Emacs related resources, picking up useful bits of information along the way. I&#39;ll try to share the most useful ones here with you on a (hopefully somewhat) regular basis.</p>
<p>I&#39;ll kick off with a very short one, the next line enables &quot;focus follows mouse&quot; on Emacs windows (<b>not</b> frames, frames are handled by the window manager).</p>
<pre>(setq mouse-autoselect-window t)</pre>
<p>So what is &quot;focus follows mouse&quot; anyway? Basically it means that the window your mouse pointer is over receives focus (input) so you don&#39;t need to click on it to give it focus (as you have to in, say, Windows). Some people find this confusing, most people can&#39;t live without it once they get used to it.</p>
<p>For more information on &quot;focus follows mouse&quot; see <a href="http://www.wlug.org.nz/FocusFollowsMouse">here</a>.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/theblackdragon.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/theblackdragon.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/theblackdragon.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/theblackdragon.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/theblackdragon.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/theblackdragon.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/theblackdragon.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/theblackdragon.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/theblackdragon.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/theblackdragon.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/theblackdragon.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/theblackdragon.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=7&subd=theblackdragon&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://theblackdragon.wordpress.com/2006/05/04/emacs-tips-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62e9e79acab99e3726d60e3ff4cd65c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">theBlackDragon</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing GNU Emacs 23 from CVS</title>
		<link>http://theblackdragon.wordpress.com/2006/04/27/installing-gnu-emacs-23-from-cvs/</link>
		<comments>http://theblackdragon.wordpress.com/2006/04/27/installing-gnu-emacs-23-from-cvs/#comments</comments>
		<pubDate>Thu, 27 Apr 2006 18:25:33 +0000</pubDate>
		<dc:creator>theBlackDragon</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">https://theblackdragon.wordpress.com/2006/04/27/installing-gnu-emacs-23-from-cvs/</guid>
		<description><![CDATA[Emacs 23 is the current alpha version of GNU Emacs, the most important or at least notable feature of this upcoming version is the unicode support.
Exactly how alpha this version is can easily be deduced if you realise that the current stable Emacs version is 21.4 and that 22.0.50 is the current development version, so [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=4&subd=theblackdragon&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Emacs 23 is the current alpha version of GNU Emacs, the most important or at least notable feature of this upcoming version is the unicode support.</p>
<p>Exactly how alpha this version is can easily be deduced if you realise that the current stable Emacs version is 21.4 and that 22.0.50 is the current development version, so expect things to break, even though I haven&#39;t experienced any major breakage yet.</p>
<p>So let&#39;s get to installing this thing, first you&#39;ll need to checkout the code from CVS, figuring out which branch the 23 version is in was probably the hardest part, finding the correct command line switches to CVS in the CVS manpage must have been the second hardest (hey, I&#39;m an avid Subversion user) <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I keep my source packages in ~/tmp/src, which I&#39;ll use in this example too, just replace this folder with whatever you use. From that directory execute this command:</p>
<p><code>$ cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co -r emacs-unicode-2 emacs</code></p>
<p>This then pulls in the latest Emacs 23 (or as the branch is called <i>emacs-unicode-2</i>, I still wonder why they changed that instead of staying with <i>emacs-unicode</i>) from CVS in a new directory named <i>emacs</i>.</p>
<p>After this has finished (might take a while depending on your connection speed) you have to execute a small variation on the typal <i>configure &amp;&amp; make &amp;&amp; make install</i> routine as outlined in the INSTALL.CVS file.</p>
<p>There are three options you&#39;ll probably want to pass to <i>configure</i>, being &#8211;with-gtk, &#8211;prefix and &#8211;suffix, the first for enabling GTK2 support the second to keep it out of your filesystem structure, and theh last one to add a unique suffix to the binaries, so you can add them to you $PATH  without them conflicting with already installed Emacsen.</p>
<p>I installed Emacs 23 in my homedirectory in a<i> </i>folder named <i>local</i> with a suffix of &quot;.emacs-23.0.0&quot; and GTK2 enabled</p>
<p><code>$ ./configure --prefix=/home/theBlackDragon/local --program-suffix=.emacs-23.0.0 --with-gtk</code></p>
<p><code></code>After configure has done it&#39;s job you need to run <i>make bootstrap</i>, this can take quite some time, but fortunately you don&#39;t need to do this every time you update the sources from CVS.</p>
<p>make bootstrap</p>
<p>Now you just need to follow the &quot;regular&quot; steps:</p>
<pre>$ cd lisp
$ make recompile EMACS=../src/emacs
$ cd ..
$ make install</pre>
<p>To update Emacs afterwards you&#39;d use:</p>
<pre>$ cvs update
$ ./configure --prefix=/home/theBlackDragon/local --program-suffix=.emacs-23.0.0 --with-gtk
$ make
$ cd lisp
$ make recompile EMACS=../src/emacs
$ cd ..
$ make install</pre>
<p>When this finishes succesfully you&#39;ll have Emacs 23 Alpha installed and you can start poking around. If this doesn&#39;t finish succesfully you&#39;ll either have to fix it yourself or wait a day and do a CVS update in the hopes that your problem will have been fixed.<br />
<a href="http://www.lair.be/shots/emacs-23-001.png" title="Emacs 23 freshly installed from CVS" target="_blank"><img src="http://www.lair.be/shots/emacs-23-001.png" alt="Emacs 23 freshly built from CVS" height="454" width="449" /></a></p>
<p>Little disclaimer: this is how I istalled it, there might be some inaccuracies in here, should you find some, please let me know. I do hope you found this article useful in any case <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/theblackdragon.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/theblackdragon.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/theblackdragon.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/theblackdragon.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/theblackdragon.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/theblackdragon.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/theblackdragon.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/theblackdragon.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/theblackdragon.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/theblackdragon.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/theblackdragon.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/theblackdragon.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=4&subd=theblackdragon&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://theblackdragon.wordpress.com/2006/04/27/installing-gnu-emacs-23-from-cvs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62e9e79acab99e3726d60e3ff4cd65c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">theBlackDragon</media:title>
		</media:content>

		<media:content url="http://www.lair.be/shots/emacs-23-001.png" medium="image">
			<media:title type="html">Emacs 23 freshly built from CVS</media:title>
		</media:content>
	</item>
		<item>
		<title>JDEE installation guide bit me again</title>
		<link>http://theblackdragon.wordpress.com/2006/04/26/jde-installation-guide-bit-me-again/</link>
		<comments>http://theblackdragon.wordpress.com/2006/04/26/jde-installation-guide-bit-me-again/#comments</comments>
		<pubDate>Wed, 26 Apr 2006 14:46:59 +0000</pubDate>
		<dc:creator>theBlackDragon</dc:creator>
				<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">https://theblackdragon.wordpress.com/2006/04/26/jde-installation-guide-bit-me-again/</guid>
		<description><![CDATA[When I last tried to get the JDEE running on Windows with GNU Emacs 22 I was stung by the old inaccuracy in the installaiton guide concerning the installation of the cedet.
The guide suggests you add the different needed parts of the cedet separately by doing this:
(add-to-list &#39;load-path (expand-file-name &#34;~/emacs/site/jde/lisp&#34;))
(add-to-list &#39;load-path (expand-file-name &#34;~/emacs/site/cedet/common&#34;))
(load-file (expand-file-name &#34;~/emacs/site/cedet/common/cedet.el&#34;))
(add-to-list [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=3&subd=theblackdragon&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When I last tried to get the <a href="http://jdee.sunsite.dk/" title="JDE" target="_blank">JDEE</a> running on Windows with GNU Emacs 22 I was stung by the old inaccuracy in the installaiton guide concerning the installation of the cedet.</p>
<p>The guide suggests you add the different needed parts of the cedet separately by doing this:</p>
<pre>(add-to-list &#39;load-path (expand-file-name &quot;~/emacs/site/jde/lisp&quot;))
(add-to-list &#39;load-path (expand-file-name &quot;~/emacs/site/cedet/common&quot;))
(load-file (expand-file-name &quot;~/emacs/site/cedet/common/cedet.el&quot;))
(add-to-list &#39;load-path (expand-file-name &quot;~/emacs/site/elib&quot;))</pre>
<p>This kept on giving me errors and after trying various versions of the cedet libraries it dawned on me that it <i>might</i> just be possible to load the cedet as a whole, which it was. I did it like this:</p>
<pre>(add-to-list &#39;load-path (expand-file-name &quot;C:/elisp/cedet-1.0pre3/common&quot;))
(require &#39;cedet)</pre>
<p>It now works like a charm and I thought I might as well share it, maybe you&#39;ll get hit by the same problem one day (or I&#39;ll forget about it again <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ).</p>
<p>For completeness sake, this is the full code in my .emacs for loading the JDE on Windows (it&#39;s the same for other OSs, just substitute the correct paths):</p>
<pre>;;; JDEE
(add-to-list &#39;load-path (expand-file-name &quot;C:/elisp/elib-1.0/&quot;))
(add-to-list &#39;load-path (expand-file-name &quot;C:/elisp/cedet-1.0pre3/common&quot;))
(add-to-list &#39;load-path (expand-file-name &quot;C:/elisp/jde-2.3.5.1/lisp/&quot;))
(require &#39;cedet)

;; (require &#39;jde)
(setq defer-loading-jde t)

(if defer-loading-jde
    (progn
      (autoload &#39;jde-mode &quot;jde&quot; &quot;JDE mode.&quot; t)
      (setq auto-mode-alist
        (append
         &#39;((&quot;.java&#39;&quot; . jde-mode))
         auto-mode-alist)))

(require &#39;jde))</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/theblackdragon.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/theblackdragon.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/theblackdragon.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/theblackdragon.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/theblackdragon.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/theblackdragon.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/theblackdragon.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/theblackdragon.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/theblackdragon.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/theblackdragon.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/theblackdragon.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/theblackdragon.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=theblackdragon.wordpress.com&blog=195286&post=3&subd=theblackdragon&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://theblackdragon.wordpress.com/2006/04/26/jde-installation-guide-bit-me-again/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62e9e79acab99e3726d60e3ff4cd65c8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">theBlackDragon</media:title>
		</media:content>
	</item>
	</channel>
</rss>