<?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>Technitribe &#187; Emacs</title>
	<atom:link href="http://blog.peopleareducks.com/tag/emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.peopleareducks.com</link>
	<description>not at all like a diatribe</description>
	<lastBuildDate>Sat, 27 Mar 2010 01:00:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Zone out completely</title>
		<link>http://blog.peopleareducks.com/2010/03/26/zone-out-completely/</link>
		<comments>http://blog.peopleareducks.com/2010/03/26/zone-out-completely/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 01:00:48 +0000</pubDate>
		<dc:creator>tbielawa</dc:creator>
				<category><![CDATA[/dev/null]]></category>
		<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://blog.peopleareducks.com/?p=128</guid>
		<description><![CDATA[While searching for modes which would help me edit bind9 configuration files I came across this mailing list post. It mentions zone-mode which ended up being great for editing the actual zone files A+. It also tipped me off to another emacs Easter Egg, M-x zone. Described thus:

zone is an interactive compiled Lisp function.
It is [...]]]></description>
			<content:encoded><![CDATA[<p>While searching for modes which would help me edit <a href="http://www.bind9.net/">bind9</a> configuration files I came across <a href="https://lists.isc.org/pipermail/bind-users/2008-September/073061.html">this mailing list post</a>. It mentions <code>zone-mode</code> which ended up being great for editing the actual zone files A+. It also tipped me off to another emacs Easter Egg, <code>M-x zone</code>. Described thus:</p>

<div class="wp_syntax"><div class="code"><pre class="listp" style="font-family:monospace;">zone is an interactive compiled Lisp function.
It is bound to &lt;menu-bar&gt; &lt;tools&gt; &lt;games&gt; &lt;zone&gt;.
(zone)
Zone out, completely.</pre></div></div>

<p>It&#8217;s basically an emacs screensaver/psychedelic ascii mode using your focused buffer for content. It obfuscates the buffer in ways which involves wrapping your code around the screen or swapping characters around, and even just turning it all into curly braces and wiggling. Press a key to undo it all. Might be a neat trick to play on a friend, but I see no other usage for this mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.peopleareducks.com/2010/03/26/zone-out-completely/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macports updates their Erlang version, update your load-path&#8217;s</title>
		<link>http://blog.peopleareducks.com/2010/02/03/macports-updates-their-erlang-version/</link>
		<comments>http://blog.peopleareducks.com/2010/02/03/macports-updates-their-erlang-version/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 05:08:37 +0000</pubDate>
		<dc:creator>tbielawa</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Erlang]]></category>
		<category><![CDATA[XMPP]]></category>

		<guid isPermaLink="false">http://blog.peopleareducks.com/?p=115</guid>
		<description><![CDATA[I&#8217;ve been working on my XMPP server pet project recently, and the need for a good Erlang XML parser has finally struck. I decided to go with Erlsom. It&#8217;s in MacPorts, so from there I installed it. Now, since I  don&#8217;t update my port tree frequently I get delightful surprises from time to time. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on my <a href="http://github.com/tbielawa/PAD-XMPP">XMPP server</a> pet project recently, and the need for a good Erlang XML parser has finally struck. I decided to go with <a href="http://erlsom.sourceforge.net/">Erlsom</a>. It&#8217;s in MacPorts, so from there I installed it. Now, since I  don&#8217;t update my port tree frequently I get delightful surprises from time to time. This time installing Erlsom triggered an update of Erlang, to the latest version!</p>
<p>Short story shorter, the update changes the path to the erlang-mode.el file so before you can M-x erlang-mode again you&#8217;ll have you fix your Emacs load-path to register the new location. (See my older post on how to initially <a href="http://blog.peopleareducks.com/2009/12/02/macports-and-erlang-setting-up-emacs-and-your-manpath/">set up Erlang and Emacs</a> from MacPorts from scratch)</p>
<p>The new load commands should be:</p>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> load-path <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">cons</span>  <span style="color: #ff0000;">&quot;/opt/local/lib/erlang/lib/tools-2.6.5/emacs/&quot;</span> load-path<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> erlang-root-dir <span style="color: #ff0000;">&quot;/opt/local/lib/erlang&quot;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> exec-path <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">cons</span> <span style="color: #ff0000;">&quot;/opt/local/bin&quot;</span> exec-path<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span>require 'erlang-start<span style="color: #66cc66;">&#41;</span></pre></div></div>

<p>It just requires changing the tools-x.x.x to 2.6.5.</p>
<p>p.s. <a href="http://ftp.sunet.se/pub/lang/erlang/doc/man/erlang.el.html">about erlang-mode </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.peopleareducks.com/2010/02/03/macports-updates-their-erlang-version/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Syndication</title>
		<link>http://blog.peopleareducks.com/2009/12/14/syndication/</link>
		<comments>http://blog.peopleareducks.com/2009/12/14/syndication/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 23:24:46 +0000</pubDate>
		<dc:creator>tbielawa</dc:creator>
				<category><![CDATA[/dev/null]]></category>
		<category><![CDATA[Emacs]]></category>

		<guid isPermaLink="false">http://blog.peopleareducks.com/?p=111</guid>
		<description><![CDATA[Emacs related posts are now being syndicated on Planet Emacsen!
]]></description>
			<content:encoded><![CDATA[<p>Emacs related posts are now being syndicated on <a href="http://planet.emacsen.org/">Planet Emacsen</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.peopleareducks.com/2009/12/14/syndication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emacs Hacking, reverse other buffer</title>
		<link>http://blog.peopleareducks.com/2009/10/18/emacs-hacking-reverse-other-buffer/</link>
		<comments>http://blog.peopleareducks.com/2009/10/18/emacs-hacking-reverse-other-buffer/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 22:39:51 +0000</pubDate>
		<dc:creator>tbielawa</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[lisp]]></category>

		<guid isPermaLink="false">http://blog.peopleareducks.com/?p=97</guid>
		<description><![CDATA[I started reading Writing GNU Emacs Extensions by Bob Glickstein. The first real meaty example you work through in it is making an &#8216;other-buffer&#8217; like key command that works in reverse. So here I present to the internet, my version of previous-window.

&#40;defun previous-window &#40;&#41;
  &#34;As other-buffer, except in the other-direction&#34;
  &#40;interactive&#41;
  &#40;other-window [...]]]></description>
			<content:encoded><![CDATA[<p>I started reading <em>Writing GNU Emacs Extensions</em> by Bob Glickstein. The first real meaty example you work through in it is making an &#8216;other-buffer&#8217; like key command that works in reverse. So here I present to the internet, my version of previous-window.</p>

<div class="wp_syntax"><div class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">defun</span> previous-window <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #ff0000;">&quot;As other-buffer, except in the other-direction&quot;</span>
  <span style="color: #66cc66;">&#40;</span>interactive<span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#40;</span>other-window -<span style="color: #cc66cc;">1</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: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\C</span>-c<span style="color: #000099; font-weight: bold;">\o</span>&quot;</span> 'previous-window<span style="color: #66cc66;">&#41;</span></pre></div></div>

<p>Put in your <strong>.emacs</strong> file and activate with <strong>C-c o</strong> when you have multiple frames open at once.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.peopleareducks.com/2009/10/18/emacs-hacking-reverse-other-buffer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enabling automatic slash completion in nXML-Mode</title>
		<link>http://blog.peopleareducks.com/2009/08/13/enabling-automatic-slash-completion-in-nxml-mode/</link>
		<comments>http://blog.peopleareducks.com/2009/08/13/enabling-automatic-slash-completion-in-nxml-mode/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 21:38:46 +0000</pubDate>
		<dc:creator>tbielawa</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[DocBook]]></category>
		<category><![CDATA[nXML-Mode]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://blog.peopleareducks.com/?p=12</guid>
		<description><![CDATA[I do a lot of DocBook XML editing, either at my job or at home. Because of that I&#8217;ve built up a pretty customized .emacs file. Every so often I meet another person whose also found themselves having to edit a bunch of XML. The most fantastic thing about nXML mode I think is the [...]]]></description>
			<content:encoded><![CDATA[<p>I do a lot of DocBook XML editing, either at my job or at home. Because of that I&#8217;ve built up a pretty customized .emacs file. Every so often I meet another person whose also found themselves having to edit a bunch of XML. The most fantastic thing about nXML mode I think is the automatic slash completion feature. It works like this: If I have an open element, say I&#8217;ve started an &lt;xref&gt;, you can configure nXML mode such that upon typing the closing &lt;/ characters it will complete that sequence for you. I can just never remember how to set that option in emacs. So today I&#8217;m taking the time to finally document that procedure.</p>
<ol>
<li>Enter nxml-mode</li>
<li><strong>M-x</strong> customize-apropos</li>
<li>nxml-slash</li>
<li>Press Toggle on</li>
<li>Optionally: select &#8220;Save for future sessions&#8221;</li>
</ol>
<p>For even more fun, use the <strong>C-c C-f</strong> macro which will auto complete your current block, regardless of your position inside of it. For additional references, I invite you to check out the docs <a href="http://infohost.nmt.edu/tcc/help/pubs/nxml/markup-commands.html" target="_blank">NM Tech</a> has posted on nXML-Mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.peopleareducks.com/2009/08/13/enabling-automatic-slash-completion-in-nxml-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
