<?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; lisp</title>
	<atom:link href="http://blog.peopleareducks.com/tag/lisp/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>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<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 -1&#41;&#41; &#160; [...]]]></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>
	</channel>
</rss>
