<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns="http://purl.org/rss/1.0/">
  <channel rdf:about="http://times.usefulinc.com/tagemacs">
    <title>Edd Dumbill's Weblog: 'emacs' articles</title>
    <description>Articles tagged as 'emacs' from Edd Dumbill, technology writer and free software hacker.</description>
    <link>http://times.usefulinc.com/tagemacs</link>
    <dc:date>2006-05-21T19:24:14Z</dc:date>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://times.usefulinc.com/2006/05/21-emacs-hate"/>
        <rdf:li rdf:resource="http://times.usefulinc.com/2005/12/02-emacs-xft"/>
        <rdf:li rdf:resource="http://times.usefulinc.com/2005/12/01-emacs-firefox"/>
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="http://times.usefulinc.com/2006/05/21-emacs-hate">
    <title>Emacs hate mail</title>
    <link>http://times.usefulinc.com/2006/05/21-emacs-hate</link>
    <description>Stop progress. Now!</description>
    <dc:subject>emacs</dc:subject>
    <dc:subject>funny</dc:subject>
    <dc:creator>Edd Dumbill</dc:creator>
    <dc:date>2006-05-21T19:15:32Z</dc:date>
    <foaf:maker>
      <foaf:Person>
        <foaf:mbox rdf:resource="mailto:edd@usefulinc.com"/>
      </foaf:Person>
    </foaf:maker>
    <content:encoded>    &lt;p&gt;Regular readers will know I'm keen on getting good-looking fonts in Emacs under Linux.  And so are a lot of other people, judging by how popular my Emacs/Xft posts have been.&lt;/p&gt;       &lt;p&gt;I have found out this is enough to drive some people to me sending nastygrams.&lt;/p&gt;  &lt;blockquote&gt;      &lt;p&gt;To: Edd Dumbill&lt;br /&gt;  Subject: whoareyou &lt;/p&gt;     &lt;p&gt;I don't know who you are, but...&lt;/p&gt; &lt;p&gt;Emacs is a programmers editor. Sure, scalable fonts would be good for GNUEmacs, but they are not a necessity.&lt;/p&gt; &lt;p&gt;If you want the wysiwyg experience, try XEmacs, I don't like XEmacs, but you are welcome to try it.&lt;/p&gt; &lt;p&gt;I have used GNU/Emacs for the last 12 years as a code editor.&amp;nbsp; I like it just fine, and that is an understatement.&amp;nbsp; Leave it alone.&lt;/p&gt; &lt;/blockquote&gt;&lt;p&gt;&lt;a href="http://times.usefulinc.com/2006/05/21-emacs-hate#disqus_thread"&gt;Join the conversation about this post&lt;/a&gt;&lt;/p&gt;</content:encoded>
  </item>
  <item rdf:about="http://times.usefulinc.com/2005/12/02-emacs-xft">
    <title>Emacs font joy</title>
    <link>http://times.usefulinc.com/2005/12/02-emacs-xft</link>
    <description>Finally, anti-aliased fonts in Emacs!</description>
    <dc:subject>emacs</dc:subject>
    <dc:creator>Edd Dumbill</dc:creator>
    <dc:date>2005-12-02T19:41:36Z</dc:date>
    <foaf:maker>
      <foaf:Person>
        <foaf:mbox rdf:resource="mailto:edd@usefulinc.com"/>
      </foaf:Person>
    </foaf:maker>
    <content:encoded>&lt;div&gt;
&lt;p&gt;Seems I despaired too soon about not being able to get
good-looking fonts in Emacs.
Thanks to Duncan Mak I've been able to compile and install an Emacs
with anti-aliased fonts on Ubuntu.  Here's the recipe:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Get the XFT_JHD_BRANCH of CVS Emacs, see
&lt;a href="http://www.emacswiki.org/cgi-bin/wiki/XftGnuEmacs"&gt;XftGnuEmacs&lt;/a&gt; on
the Emacs wiki, and &lt;a href="http://web.engr.oregonstate.edu/~rende/wp/2005/11/24/emacs-with-xft-support/"&gt;this
page&lt;/a&gt;
from Deling Ren.&lt;/li&gt;
&lt;li&gt;Get a further patch, from &lt;a href="http://www.nabble.com/Re%3A-patch-for-crash-in-XFT_JHD_BRANCH-p483896.html"&gt;this mailing list post&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Get the &lt;code&gt;emacs-snapshot-debian&lt;/code&gt; directory from &lt;a href="http://people.debian.org/~jerome/arch/jerome@debian.org--2005/"&gt;this arch repository&lt;/a&gt; and use it as the &lt;code&gt;debian&lt;/code&gt; directory inside the Emacs source tree&lt;/li&gt;

&lt;/ul&gt;
&lt;p&gt;&lt;img src="http://usefulinc.com/edd/blog/contents/2005/12/emacs-xft.png" width="212"
height="201" alt="Screenshot of anti-aliased Xft enable Emacs" 
align="right" hspace="8" /&gt;&lt;/p&gt;
&lt;p&gt;Then I had to edit out the build instructions for the &lt;code&gt;-nox&lt;/code&gt; variant
of Emacs, as it didn't build properly, and to be sure, added
this to the &lt;code&gt;Emacs-gtk confflags&lt;/code&gt; section of &lt;code&gt;debian/rules&lt;/code&gt; :
&lt;pre&gt;
  emacs_gtk_confflags += --with-xft=yes
&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;After that, &lt;code&gt;fakeroot dpkg-buildpackage -b&lt;/code&gt; in the source directory,
and some time later, Emacs packages with anti-aliased fonts.&lt;/p&gt;
&lt;p&gt;There are some limitations: you need to set the font in your
&lt;code&gt;~/.Xresources&lt;/code&gt; file like this:
&lt;pre&gt;
  Emacs*font: Monospace-8
&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;You may also want to fiddle with the &lt;code&gt;Xft.dpi&lt;/code&gt; and &lt;code&gt;Xft.hinting&lt;/code&gt;
X properties to get the fonts to match your desktop environment.&lt;/p&gt;
&lt;p&gt;OK, so it's a bit of effort, but worth it.  Hopefully this patch will
mature and make its way into future Linux distributions.&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;&lt;a href="http://times.usefulinc.com/2005/12/02-emacs-xft#disqus_thread"&gt;Join the conversation about this post&lt;/a&gt;&lt;/p&gt;</content:encoded>
  </item>
  <item rdf:about="http://times.usefulinc.com/2005/12/01-emacs-firefox">
    <title>Cool toys for Firefox and Emacs</title>
    <link>http://times.usefulinc.com/2005/12/01-emacs-firefox</link>
    <description>A note on programming Rails with Emacs, and Firefox extensions.</description>
    <dc:subject>emacs</dc:subject>
    <dc:creator>Edd Dumbill</dc:creator>
    <dc:date>2005-12-01T18:06:10Z</dc:date>
    <foaf:maker>
      <foaf:Person>
        <foaf:mbox rdf:resource="mailto:edd@usefulinc.com"/>
      </foaf:Person>
    </foaf:maker>
    <content:encoded>&lt;div&gt;
&lt;p&gt;&lt;strong&gt;Firefox extensions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The release of Firefox 1.5 has awakened my interest in the browser,
and a few extensions can make life easier.  &lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;a href="http://jennifermadden.com/scripts/ViewRenderedSource.html"&gt;View Rendered Source Chart&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;Really handy for a structured view of an HTML page's source.  The big
advantage is that is displays generated source too, perfect for
figuring out AJAX applications.&lt;/dd&gt;
&lt;dt&gt;&lt;a href="http://viamatic.com/firefox/"&gt;Foxpose&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;Sheer eye candy. Thumbnail all your tabbed pages into one page.&lt;/dd&gt;
&lt;dt&gt;&lt;a href="http://del.icio.us/help/firefox/extension"&gt;Del.icio.us&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;Browser button for working with the del.icio.us bookmarks site.  I've been
reluctant to use remote bookmarks before, this extension might just
push me over the edge.  Really well thought-out integration with the
browser.&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;&lt;strong&gt;Rails in Emacs&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Seeing as I'm not quite prepared to switch to OS X just in order to
get &lt;a href="http://www.macromates.com/"&gt;TextMate&lt;/a&gt;, I figured it was time again
to play with my editing environment.&lt;/p&gt;
&lt;p&gt;Pages from &lt;a href="http://blog.invisible.ch/archives/000417.html"&gt;InVisible
Blog&lt;/a&gt; and &lt;a href="http://scott.elitists.net/users/scott/posts/rails-on-emacs"&gt;Scott
Barron&lt;/a&gt;
give a lot of tips as to the current state of play with Rails and
Emacs.&lt;/p&gt;
&lt;p&gt;I've now got a reasonably pleasant setup, though I wasn't inclined to
go the whole way to running the ECB IDE inside Emacs.  On Ubuntu, the
packages you are looking for are: &lt;i&gt;speedbar eieio semantic
ruby-elisp mmm-mode&lt;/i&gt;.  I also found
&lt;a href="http://homepages.cs.ncl.ac.uk/phillip.lord/download/emacs/pabbrev.el"&gt;pabbrev&lt;/a&gt;
a very handy interface for tab completion.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://usefulinc.com/edd/blog/contents/2005/12/emacs.png" width="280"
height="286" alt="Screenshot of Emacs editing a Rails application"
align="right" hspace="10" /&gt;&lt;/p&gt;
&lt;p&gt;The future for Ruby and Emacs is looking hopeful.  I learned that a
proper Ruby grammar for the &lt;em&gt;semantic&lt;/em&gt; package is being worked on,
which will enable class browsing and intelligent completion.&lt;/p&gt;
&lt;p&gt;I am still disappointed that there's no version of Emacs
that uses Xft or Pango for anti-aliased font rendering.  To get sharp fonts,
I still need to use a bitmap font like misc-fixed.  If I were in the
business of offering bounties for open source development, dragging
Emacs into the GTK2/Pango era would be the biggest one.&lt;/p&gt;
&lt;p&gt;Checking the mailing lists indicates that &lt;a href="http://lists.gnu.org/archive/html/emacs-bidi/2005-11/msg00003.html"&gt;Pango is not
suitable&lt;/a&gt;
for Emacs, but no alternative scheme ever seems to bear fruit.
Yet if &lt;a href="http://aquamacs.org/"&gt;Aquamacs&lt;/a&gt; can do it...&lt;/p&gt;
&lt;p&gt;If somebody came along with a decent TextMate-a-like for GNOME, I'd
pay good money for it.  I've never been really happy with an editor
since &lt;a href="http://www.amigau.com/amigarealm/thisoldworkbench/html/fig1904.html"&gt;Cygnus
Ed&lt;/a&gt;.
&lt;a href="http://micke.hallendal.net/"&gt;Hallski&lt;/a&gt; and I keep talking about this,
and only just manage to resist wasting months of time on trying to
write one ourselves.&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;&lt;a href="http://times.usefulinc.com/2005/12/01-emacs-firefox#disqus_thread"&gt;Join the conversation about this post&lt;/a&gt;&lt;/p&gt;</content:encoded>
  </item>
</rdf:RDF>
