<?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>Made of Bugs &#187; wordpress</title>
	<atom:link href="http://blog.nelhage.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nelhage.com</link>
	<description>It's software. It's made of bugs.</description>
	<lastBuildDate>Thu, 18 Aug 2011 21:57:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress tricks: Disabling editing shortcuts</title>
		<link>http://blog.nelhage.com/2010/06/disable-wordpress-edit-shortcuts/</link>
		<comments>http://blog.nelhage.com/2010/06/disable-wordpress-edit-shortcuts/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 00:07:00 +0000</pubDate>
		<dc:creator>nelhage</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.nelhage.com/?p=250</guid>
		<description><![CDATA[One of the major reasons I can&#8217;t stand webapps is because I&#8217;m a serious emacs junkie, and I can&#8217;t edit text in anything that doesn&#8217;t have decent emacs keybindings. Fortunately, on Linux, at least, GTK provides basic emacs keybindings if you add gtk-key-theme-name = "Emacs" to your .gtkrc-2.0. However, some webapps think that they deserve [...]]]></description>
			<content:encoded><![CDATA[<p>One of the major reasons I can&#8217;t stand webapps is because I&#8217;m a
serious emacs junkie, and I can&#8217;t edit text in anything that doesn&#8217;t
have decent emacs keybindings.</p>

<p>Fortunately, on Linux, at least, GTK provides basic emacs keybindings
if you add</p>

<pre><code>gtk-key-theme-name = "Emacs"
</code></pre>

<p>to your <code>.gtkrc-2.0</code>. However, some webapps think that they deserve
total control over your keys, and grab key combinations for a WYSIWYG
editor of some sort. And so whenever I try to edit a post in WordPress
(most of them are written in emacs and then copied over), I find
myself trying to go backwards a word, and inserting random
<code>&lt;strong&gt;</code> tags all over my post (Because <code>M-b</code> is
bound to make text bold, by WordPress&#8217;s editor). I finally got annoyed
enough to do some source-diving, and discovered that WordPress&#8217;s
editor constructs keyboard shortcuts using the HTML <a href="http://www.w3.org/TR/html5/editing.html#dfnReturnLink-0">accesskey</a>
attribute. This is easy enough to manipulate from Javascript, so I
went and wrote up a quick Greasemonkey user script. The bulk of it is
a simple XPath:</p>

<pre><code>    var buttons = document.evaluate('//input[@type="button"][@accesskey]', poststuff);
    var button;
</code></pre>

<p>You can <a href="http://nelhage.com/files/wp-keys.user.js">install the
script</a> off of nelhage.com.</p>

<p>Let me know if you find this useful, or if anyone figures out a
general way to disable (sets of) keyboard shortcuts for websites,
without relying on knowing the specific tricks that a website uses.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nelhage.com/2010/06/disable-wordpress-edit-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Blog Location</title>
		<link>http://blog.nelhage.com/2008/09/new-blog/</link>
		<comments>http://blog.nelhage.com/2008/09/new-blog/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 18:17:42 +0000</pubDate>
		<dc:creator>nelhage</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[blogger]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://nelhage.scripts.mit.edu/madeofbugs/?p=11</guid>
		<description><![CDATA[I finally got fed up with Blogger, and am moving this blog to live on Wordpress hosted off of scripts.mit.edu. In the process of converting everything over and setting up WordPress I&#8217;ve decided I hate it, but hopefully I hate it less than I hate Blogger. We&#8217;ll see. I&#8217;ve also changed the URL to this [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got fed up with Blogger, and am moving this blog to live on
Wordpress hosted off of <a href="http://scripts.mit.edu">scripts.mit.edu</a>. In the process of
converting everything over and setting up WordPress I&#8217;ve decided I
hate it, but hopefully I hate it less than I hate Blogger. We&#8217;ll see.</p>

<p>I&#8217;ve also changed the URL to this blog from
<a href="http://nelhage.com/blog">http://nelhage.com/blog</a> to
<a href="http://blog.nelhage.com">http://blog.nelhage.com</a>, which I like
better as URL anyways. It should redirect to the toplevel of the new
URL now.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nelhage.com/2008/09/new-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

