<?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>Alexandre Vassalotti &#187; Emacs</title>
	<atom:link href="http://peadrop.com/blog/category/computers/emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://peadrop.com/blog</link>
	<description>Random Computer Musings</description>
	<lastBuildDate>Tue, 18 Oct 2011 06:31:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Pretty Emacs Reloaded</title>
		<link>http://peadrop.com/blog/2007/09/17/pretty-emacs-reloaded/</link>
		<comments>http://peadrop.com/blog/2007/09/17/pretty-emacs-reloaded/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 05:08:47 +0000</pubDate>
		<dc:creator>Alexandre</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://peadrop.com/blog/2007/09/17/pretty-emacs-reloaded/</guid>
		<description><![CDATA[Update: If you are using Ubuntu 8.04 LTS &#8220;Hardy Heron&#8221; or Ubuntu 8.10 &#8220;Intrepid Ibex&#8221;, use the packages in the PPA of the Ubuntu Emacs Lisp team, instead of the packages referenced here. For Ubuntu 9.04 &#8220;Jaunty Jackalope&#8221; and newer, use the packages in Ubuntu repositories. My popular1 Pretty Emacs package just got a tad [...]]]></description>
			<content:encoded><![CDATA[<div style="background-color: #FFCCCC; border: 1px solid #663333">
<b>Update:</b> If you are using Ubuntu 8.04 LTS &#8220;Hardy Heron&#8221; or Ubuntu 8.10 &#8220;Intrepid Ibex&#8221;, use the packages in the <a href="https://launchpad.net/~ubuntu-elisp/+archive/ppa">PPA of the Ubuntu Emacs Lisp team</a>, instead of the packages referenced here. For Ubuntu 9.04 &#8220;Jaunty Jackalope&#8221; and newer, use the packages in Ubuntu repositories.
</div>

<p>My popular<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup> <a href="http://peadrop.com/blog/2007/01/06/pretty-emacs/">Pretty Emacs</a> package just got a tad better. I
transferred the package to the brand new <a href="https://help.launchpad.net/PPAQuickStart">PPA service</a> provided by
Launchpad. So, what&#8217;s new about the package? First, I glad to announce
the long-awaited amd64 support. Also, I am adding Gutsy Gibbon to the
list of supported distributions.</p>

<p>To use the updated package on Ubuntu 6.10 &#8220;Edgy Eft&#8221;, add the</p>

<p>following lines to your <code>/etc/apt/sources.list</code> file:</p>

<pre><code>deb http://ppa.launchpad.net/avassalotti/ubuntu edgy main
deb-src http://ppa.launchpad.net/avassalotti/ubuntu edgy main</code></pre>

<p>To use the package on Ubuntu 7.04 &#8220;Feisty Fawn&#8221;, add the following
lines to your <code>/etc/apt/sources.list</code> file:</p>

<pre><code>deb http://ppa.launchpad.net/avassalotti/ubuntu feisty main
deb-src http://ppa.launchpad.net/avassalotti/ubuntu feisty main</code></pre>

<p>To use the package on the development version of Ubuntu &#8220;Gutsy
Gibbon&#8221;, add the following lines to your <code>/etc/apt/sources.list</code> file:</p>

<pre><code>deb http://ppa.launchpad.net/avassalotti/ubuntu gutsy main
deb-src http://ppa.launchpad.net/avassalotti/ubuntu gutsy main</pre>

<p></code></p>

<p>Unfortunately, if you still use Ubuntu 6.06 "Dapper Drake", you will
have to keep using the older package release from my orignal
repository. I still support Ubuntu 6.06, but I won't update the
package with newer snapshots.</p>

<p>After adding the repository to your software source list, upgrade your
version of the package with:</p>

<pre><code>sudo aptitude upgrade</code></pre>

<p>If you do not have a previous version of the package already installed
and you desire to install it, do this instead:</p>

<pre><code>sudo aptitude install emacs-snapshot emacs-snapshot-el</code></pre>

<p>When upgrading the package you might get the following warning
message:</p>

<p>WARNING: untrusted versions of the following packages will be installed!</p>

<p>Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.</p>

<p>This is due to <a href="https://bugs.launchpad.net/soyuz/+bug/125103">a bug</a> in the PPA system. I believe that it will be
resolved quickly. So, you can safely ignore the warning message for
the moment.</p>

<p>Final note, thank you everyone for trusting me and giving me some
great feedback about the package. I like to give special thanks to
<a href="http://orebokech.com/">Romain Francoise</a> and <a href="http://mwolson.org/">Michael Olson</a> for their work respectively on
emacs-snapshot and emacs22, during this summer.</p>

<div class="footnotes">
<hr />
<ol>

<li id="fn:1">
<p>A rough estimate tell me there is over 30 000 people using my
package, where 88% of them are Feisty Fawn users and 11% are Edgy Eft
users.&#160;<a href="#fnref:1" rev="footnote">&#8617;</a></p>
</li>

</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://peadrop.com/blog/2007/09/17/pretty-emacs-reloaded/feed/</wfw:commentRss>
		<slash:comments>55</slash:comments>
		</item>
		<item>
		<title>Blogging with Emacs</title>
		<link>http://peadrop.com/blog/2007/05/11/blogging-with-emacs/</link>
		<comments>http://peadrop.com/blog/2007/05/11/blogging-with-emacs/#comments</comments>
		<pubDate>Sat, 12 May 2007 04:08:43 +0000</pubDate>
		<dc:creator>Alexandre</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://peadrop.com/blog/2007/05/11/blogging-with-emacs/</guid>
		<description><![CDATA[This is my first blog entry with my brand new toy, the weblogging mode for Emacs. It uses the XML-RPC interface of your favorite blogging platform to manage your blog. In other words, it transformes Emacs into a thermonuclear blog editor. Even better, the installation is simple and easy. Here&#8217;s the instructions how to get [...]]]></description>
			<content:encoded><![CDATA[<p>This is my first blog entry with my brand new toy, the <a href="http://savannah.nongnu.org/projects/emacsweblogs">weblogging
mode</a> for Emacs. It uses the <a href="http://www.xmlrpc.com/">XML-RPC</a> interface of your favorite
blogging platform to manage your blog. In other words, it transformes
Emacs into a thermonuclear blog editor.</p>

<p>Even better, the installation is simple and easy. Here&#8217;s the instructions
how to get it working. First, check out
the source code of weblogger into your <code>.emacs.d</code> directory:</p>

<pre><code>cd ~/.emacs.d/
cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/emacsweblogs \
  co -d weblogger weblogger/lisp
</code></pre>

<p>Then, make Emacs load this mode on startup by adding these two lines to your
<code>.emacs</code> configuration:</p>

<pre><code>(add-to-list 'load-path "~/.emacs.d/weblogger")
(require 'weblogger)
</code></pre>

<p>Now, you probably want to reload your configuration with <code>M-x
eval-buffer</code> (assuming your <code>.emacs</code> is still open). Finally, setup
weblogger for your blog with <code>M-x weblogger-setup-weblog</code>. This
command will ask you a few simple questions, like your username and
password for your blog. It will also ask you for the location of the
XML-RPC interface of your blog. If you&#8217;re using WordPress, it will be
somewhere like <code>http://example.com/blog/xmlrpc.php</code>. If you&#8217;re using
another blog publishing platform like Blogger or MovableType, it will
be somewhere else, so check your documentation.</p>

<p>And you&#8217;re done! You can now start new a new post with <code>M-x
weblogger-start-entry</code>. Weblogger also includes a whole set of other
commands for managing your blog. Look them up, with <code>C-h a weblogger
RET</code>. Happy blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://peadrop.com/blog/2007/05/11/blogging-with-emacs/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Pretty Emacs: Compile guide for unsupported platforms</title>
		<link>http://peadrop.com/blog/2007/04/13/pretty-emacs-compile-guide-for-unsupported-platforms/</link>
		<comments>http://peadrop.com/blog/2007/04/13/pretty-emacs-compile-guide-for-unsupported-platforms/#comments</comments>
		<pubDate>Sat, 14 Apr 2007 02:23:03 +0000</pubDate>
		<dc:creator>Alexandre</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://peadrop.com/blog/2007/04/13/pretty-emacs-compile-guide-for-unsupported-platforms/</guid>
		<description><![CDATA[If you are using a platform other than a i386, you will need to compile my Emacs packages yourself. So, here a simple guide how to do this. First, make sure you have the source repository enabled, by adding deb-src http://ppa.launchpad.net/avassalotti/ubuntu gutsy main to your /etc/apt/sources.list. Install the build-dependencies and some packaging tools: sudo apt-get [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using a platform other than a i386, you will need to compile <a href="http://peadrop.com/blog/2007/01/06/pretty-emacs/">my Emacs packages</a> yourself. So, here a simple guide how to do this.</p>

<ol>
   <li>First, make sure you have the source repository enabled, by adding <code>deb-src http://ppa.launchpad.net/avassalotti/ubuntu gutsy main</code> to your <code>/etc/apt/sources.list</code>.</li>
   <li>Install the build-dependencies and some packaging tools:
        <pre><code>sudo apt-get update
sudo apt-get build-dep emacs-snapshot
sudo apt-get install dpkg-dev devscripts fakeroot emacsen-common</code></pre></li>

   <li>Download the source package and compile it with:
        <pre><code>fakeroot apt-get --compile source emacs-snapshot</code></pre></li>

   <li>Finally, install the newly built packages:
        <pre><code>sudo dpkg -i emacs-snapshot*.deb</code></pre></li></ol>

<p>Note, this final step may fail if you have an older version of the package already installed. If it is the case, just do it again.</p>
]]></content:encoded>
			<wfw:commentRss>http://peadrop.com/blog/2007/04/13/pretty-emacs-compile-guide-for-unsupported-platforms/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Back in Business</title>
		<link>http://peadrop.com/blog/2007/04/06/back-in-business/</link>
		<comments>http://peadrop.com/blog/2007/04/06/back-in-business/#comments</comments>
		<pubDate>Fri, 06 Apr 2007 21:13:02 +0000</pubDate>
		<dc:creator>Alexandre</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Me]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://peadrop.com/blog/2007/04/06/back-in-business/</guid>
		<description><![CDATA[A burned video, a zapped hard drive and a corrupt RAM module later , I have now, finally, got my system running again (and no, my computer was not struck by a lightning). For the fans of my Emacs package, I just uploaded a new release, and I will continue to provide weekly releases. Unfortunately, [...]]]></description>
			<content:encoded><![CDATA[<p>A burned video, a zapped hard drive and a corrupt RAM module later , I
have now, finally, got my system running again (and no, my computer
was not struck by a lightning).</p>

<p>For the fans of <a href="http://peadrop.com/blog/2007/01/06/pretty-emacs/">my Emacs package</a>,
I just uploaded a new release, and I will continue to provide
weekly releases. Unfortunately, it seems, due to a licensing issue,
<a href="http://article.gmane.org/gmane.linux.debian.devel.emacsen/2292">Romain Francoise orphaned emacs-snapshot</a>
and its related packages. Therefore, this means I will have to work
harder and fix packaging bugs myself, instead of relying on his bug
fixes.</p>

<p>A week before I lost my system, I had promised a special Python quiz,
in the <a href="https://wiki.ubuntu.com/UbuntuWeeklyNewsletter/Issue31">issue #31</a>
of Ubuntu Weekly News. I have not forgotten my promise. So if you&#8217;re one of the
lovers my twisted <a href="https://wiki.ubuntu.com/UbuntuTrivia">Ubuntu quizzes</a>,
get ready for an awesome quiz. Date and time, when the quiz will be
held, will be announced, as usual, in the #ubuntu-trivia channel on
FreeNode.</p>

<p>On the final note, I would like to mention that will start posting
more frequently on my blog. My current roadmap includes some cool
tips-and-tricks, fun script recipes, more stuff about Ubuntu. So, stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://peadrop.com/blog/2007/04/06/back-in-business/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Bad luck</title>
		<link>http://peadrop.com/blog/2007/03/16/bad-luck/</link>
		<comments>http://peadrop.com/blog/2007/03/16/bad-luck/#comments</comments>
		<pubDate>Fri, 16 Mar 2007 22:41:59 +0000</pubDate>
		<dc:creator>Alexandre</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://peadrop.com/blog/2007/03/16/bad-luck/</guid>
		<description><![CDATA[This week I wasn&#8217;t really fun. I first lost my video card &#8212; I now have a beautiful snow display. Then, I burned a hard drive in an attempt to access some of my data (luckily, it was my younger brother&#8217;s hard drive with his Windows installation). However, it won&#8217;t whine about it in a [...]]]></description>
			<content:encoded><![CDATA[<p>This week I wasn&#8217;t really fun. I first lost my video card &#8212; I now have a beautiful snow display. Then, I burned a hard drive in an attempt to access some of my data (luckily, it was my younger brother&#8217;s hard drive with his Windows installation). However, it won&#8217;t whine about it in a blog post; this isn&#8217;t my style.</p>

<p>I just wanted to notice the users of <a href="http://peadrop.com/blog/2007/01/06/pretty-emacs/">my Emacs package</a> that I won&#8217;t be able to update it, until I get my system back on.</p>
]]></content:encoded>
			<wfw:commentRss>http://peadrop.com/blog/2007/03/16/bad-luck/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tips on Emacs</title>
		<link>http://peadrop.com/blog/2007/03/03/tips-on-emacs/</link>
		<comments>http://peadrop.com/blog/2007/03/03/tips-on-emacs/#comments</comments>
		<pubDate>Sat, 03 Mar 2007 20:26:21 +0000</pubDate>
		<dc:creator>Alexandre</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://peadrop.com/blog/2007/03/03/tips-on-emacs/</guid>
		<description><![CDATA[Update: Please take the content of this post with a grain of salt. I wrote this at a time I was easily impressed. I still think Emacs is great editor, but it is not the only one. Look around, do your own experiments and pick the editor that fits your needs best. Although I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<div style="background-color: #FFCCCC; border: 1px solid #663333">
<b>Update:</b> Please take the content of this post with a grain of salt. I wrote this at a time I was easily impressed. I still think Emacs is great editor, but it is not the only one. Look around, do your own experiments and pick the editor that fits your needs best. Although I don&#8217;t like the evangelizing tone of this post, I still believe in its conclusion: mastering an editor is an extremely worthwhile investment if you are doing a lot text editing.</div>

<p>Here a few Emacs tips and some gospel for those who are still using a
butter-knife editor. First, the most important skill you must develop is touch typing. This
is what make the most difference in your productivity. I found out
that Emacs is really pleasant when you are able to type, at a rate
above 50WPM. One thing is sure, being able to type fast, make any
typing task more pleasant. From my own experience, when you get good
with the keyboard, you start spending less time reading about other
people achievements and start creating your own cool stuff. And
learning to type fast is easy. Find some online typing material and
spend 15 minutes per day, working on your typing skills. You will
never regret it.</p>

<p>Most IDE do a lot of code generation, because some programmers are too
lazy to learn touch typing. So, they need snippets, IntelliSense,
automated refactoring, etc. They&#8217;re all nice features. But, do they
really make you more productive? I don&#8217;t think point-and-click
programming is really productive. That is where Emacs comes in. Emacs,
and also Vim, are different in the way they attack the problem of
rapid development. They both try to make <em>editing</em> easier, and this is
a truly challenging task.</p>

<p>Emacs gives you the power to make <em>your</em> editor. Some people may
argues that, this feature made Emacs an operating system. Yet, it is
this flexibility that made Emacs so powerful. Almost all the commands
in Emacs are coded with Emacs Lisp &#8212; a full programming language
built in Emacs. Even the cursor behavior is coded in Emacs Lisp. How
many of these point-and-click IDE have you seen, which allowed you to
change how you move the cursor? I bet the number is near zero. An
example of this power, is a mode called <code>chop</code>. This mode makes your
cursor behaves like a binary tree. It allows you to reach any line on
your screen in O(log<sub>2</sub> n) steps, where &#8216;n&#8217; is the screen&#8217;s height. In
plain English, this means you can reach any line, on a 130 lines
screen, in less than 7 keystrokes. However in reality, the number
steps is much smaller, because Emacs has a full set of other tools for
moving your cursor, where you want it.</p>

<p>Now the interesting part, how to get good with Emacs. Learning Emacs
is the same thing as learning touch typing. You need to practice a lot
and frequently. The first thing you need to master is the keyboard
shortcuts. There is a lot of shortcuts, in Emacs. There&#8217;s probably
more than your brain can hold. But with some training, we will see
that Emacs&#8217; keyboard shortcuts are easy to remember. They all follow
the same structure. Like touch typing, there&#8217;s also tools for learning
the keyboard shortcuts. I highly recommend <code>keywiz</code>, which run within
Emacs. This tool analyzes all the keyboard shortcut in Emacs, even the
one you changed, and generate quizzes about them. Again, same idea as
touch typing, practice about 15 minutes per day on a daily basis.</p>

<p>As your journey progresses, you will find the need to change some of
the default behaviors of Emacs. This is done by putting stuff in your
<code>.emacs</code> &#8212; the most precious file of any Emacs user. Trust me, you
don&#8217;t want to lose this file. So, make sure you do regular backups or
use a version control system, like Subversion, to protect it. How to
use this file is an art itself. Some people like to keep all their
configuration in a single file, some don&#8217;t; some others don&#8217;t care if
it&#8217;s messy, some don&#8217;t; and so on. Personally, I like to separate the
different components into smaller files. And, I like to use
<code>customize</code> for the on/off type of settings. But, that is just
question of personal taste. There isn&#8217;t a better <code>.emacs</code>. The best
one will always be yours. You will, although, want to see how the
others configured their Emacs. That is normal. We are all curious
creatures, after all. A final note about <code>.emacs</code>, don&#8217;t spend too
much time playing on it. Configuring Emacs is fun and addictive, but
it won&#8217;t help your productivity by much, if you can&#8217;t touch type or
use the keyboard shortcuts.</p>

<p>The last, but not the least, thing you need to know, is Emacs Lisp.
This is probably&#8230; No, this <em>is</em> the greatest feature of Emacs. And,
it&#8217;s also the hardest to master. Learning a programming language is
not the same thing as learning touch typing. Dumb practice won&#8217;t help
you. You will need to sit down and think. Lisp, and all its
parenthesizes, freak most people, who got some programming
experience. Unlike some people says, Lisp is easy to learn. There&#8217;s
nothing exceptional about learning Lisp. You learn it as any other
programming language. Get a book, read it attentively, write some
code, repeat. That&#8217;s my general algorithm for learning programming
languages, and it works. I learned several programming languages,
including Lisp, this way. One more thing, knowing Lisp do not make you
a superior programmer. What makes you a superior programmer is your
ability to learn new ideas. So, don&#8217;t get caught by this lie from Lisp
evangelists.</p>

<p>Emacs is still a great tool, even if you don&#8217;t learn Emacs Lisp. In
fact, many Emacs users never learn it and are still more productive
than the majority of the other editors users. You can always
copy-and-paste some Emacs Lisp code found on the web.</p>

<p>However, I haven&#8217;t said yet why you should learn Emacs Lisp. The
reason is that if you know it, you can add features to your editor,
on-the-fly, without even restarting Emacs. Did ever wished your editor
had a particular feature? Well with Emacs, when you know Emacs Lisp,
you just add it. Emacs evolves with you. So, if you do a lot of
programming, you will end with a lot of programming helpers and
macros. On the other hand, if you write a lot of web articles, you
will probably end up with a lot of text manipulation utilities. It is
just beautiful, how Emacs can adapt to your editing needs.</p>

<p>Finally, mastering a good editor is a lifetime investment. You better
choose one that can evolve with you or you will end up using many
different editors poorly. Remember, that being productive isn&#8217;t that
important, but the fun of mastering something is. You will smile when
you will transform a painful editing task into a trivial one. So,
enjoy your journey in the world of Emacs.</p>
]]></content:encoded>
			<wfw:commentRss>http://peadrop.com/blog/2007/03/03/tips-on-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t use fake emails</title>
		<link>http://peadrop.com/blog/2007/03/02/dont-use-fake-emails/</link>
		<comments>http://peadrop.com/blog/2007/03/02/dont-use-fake-emails/#comments</comments>
		<pubDate>Sat, 03 Mar 2007 00:15:26 +0000</pubDate>
		<dc:creator>Alexandre</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://peadrop.com/blog/2007/03/02/dont-use-fake-emails/</guid>
		<description><![CDATA[&#60;p&#62;this is the error I get when trying to get your repositories&#60;/p&#62; &#60;p&#62;&#60;/p&#62; &#60;p&#62;Please help&#60;/p&#62; I just got this comment, on my post Pretty Emacs. The error message was probably truncated by the HTML filter of WordPress. Unfortunately, when I tried to send an email to the author of this comment, I received a delivery [...]]]></description>
			<content:encoded><![CDATA[<pre>
&lt;p&gt;this is the error I get when trying to get your repositories&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Please help&lt;/p&gt;
</pre>

<p>I just got this comment, on my post <a href="http://peadrop.com/blog/2007/01/06/pretty-emacs/">Pretty Emacs</a>. The error message was probably truncated by the HTML filter of WordPress. Unfortunately, when I tried to send an email to the author of this comment, I received a delivery error which told me that the author&#8217;s email address didn&#8217;t exist. So, I am stuck with a help request from a ghost.</p>

<p>I really care about the errors you get with the packages in my repository. If you stumble on a bug in one of my packages, it is my fault. And it is my responsibility to fix it. So please, don&#8217;t fake your email address when you leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://peadrop.com/blog/2007/03/02/dont-use-fake-emails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pretty Emacs</title>
		<link>http://peadrop.com/blog/2007/01/06/pretty-emacs/</link>
		<comments>http://peadrop.com/blog/2007/01/06/pretty-emacs/#comments</comments>
		<pubDate>Sun, 07 Jan 2007 04:56:56 +0000</pubDate>
		<dc:creator>Alexandre</dc:creator>
				<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://peadrop.com/blog/2007/01/06/pretty-emacs/</guid>
		<description><![CDATA[Update: If you are using Ubuntu 8.04 LTS &#8220;Hardy Heron&#8221; or Ubuntu 8.10 &#8220;Intrepid Ibex&#8221;, use the packages in the PPA of the Ubuntu Emacs Lisp team, instead of the packages referenced here. For Ubuntu 9.04 &#8220;Jaunty Jackalope&#8221; and newer, use the packages in Ubuntu repositories. Emacs is my editor of choice. In fact, I [...]]]></description>
			<content:encoded><![CDATA[<div style="background-color: #FFCCCC; border: 1px solid #663333">
<b>Update:</b> If you are using Ubuntu 8.04 LTS &#8220;Hardy Heron&#8221; or Ubuntu 8.10 &#8220;Intrepid Ibex&#8221;, use the packages in the <a href="https://launchpad.net/~ubuntu-elisp/+archive/ppa">PPA of the Ubuntu Emacs Lisp team</a>, instead of the packages referenced here. For Ubuntu 9.04 &#8220;Jaunty Jackalope&#8221; and newer, use the packages in Ubuntu repositories.
</div>

<p>Emacs is my editor of choice. In fact, I should say it&#8217;s my framework
of choice, but that&#8217;s for <a href="http://peadrop.com/blog/2007/03/03/tips-on-emacs/">another post</a>.
Until recently, I disliked the poor font backend of Emacs. So, I was always using Emacs within a
terminal window to get a decent looking interface. However, this grungy font era is over, since Emacs&#8217;s
 hackers added recently to my favorite editor a XFont backend, thus making possible to use good looking
fonts, like Bitstream Vera Sans Mono.</p>

<div class="imagecenter">
<img src="http://peadrop.com/blog/images/emacs.png" alt="Screenshot of Emacs with XFT support" />
</div>

<p>I made a package that makes the installation, as painless as
possible. So, feel free to use it. However, please note that this is
an alpha release of Emacs, therefore it should only be used for
testing. (From my experience, it&#8217;s rock solid.)</p>

<p>Still interested? Then, here the instructions. First, add my repository into
your software source list, by adding the following lines to <code>/etc/apt/sources.list</code>:</p>

<pre><code>deb     http://ppa.launchpad.net/avassalotti/ubuntu feisty main
deb-src http://ppa.launchpad.net/avassalotti/ubuntu feisty main
</code></pre>

<p>If you are running Ubuntu 6.10 (Edgy Eft) or the current development version of
Ubuntu (Gutsy Gibbon), change <code>feisty</code> for <code>edgy</code> or <code>gutsy</code>.</p>

<p>Finally, run either <code>apt-get</code> or <code>aptitude</code> to fetch and install the
packages:</p>

<pre><code>sudo aptitude update
sudo aptitude install emacs-snapshot emacs-snapshot-el
</code></pre>

<p>Now, you need to specify the font you want to use in your <code>Xresources</code>
file.</p>

<pre><code>echo "Emacs.font: Monospace-10" &gt;&gt; ~/.Xresources
xrdb -merge ~/.Xresources
</code></pre>

<p>Here, I use the default <code>monospace</code> font, but any other monospaced
font should work too. For example, if you want to use Lucida Sans
Typewriter instead, change <code>Monospace-10</code> for <code>Lucida Sans
Typewriter-10</code> in the above command.</p>

<p>And that&#8217;s it! Now, launch Emacs and enjoy the good looking fonts.</p>

<p>If you need support with the package, just email me at
 &#97;&#108;&#101;&#120;&#97;&#110;&#100;&#114;&#101;&#64;&#112;&#101;&#97;&#100;&#114;&#111;&#112;&#46;&#99;&#111;&#109;.</p>

<p><em>Update:</em> Il y a, maintenant, une <a href="http://doc.ubuntu-fr.org/emacs">version en français</a> de ce guide sur le wiki de
  Ubuntu-fr.</p>
]]></content:encoded>
			<wfw:commentRss>http://peadrop.com/blog/2007/01/06/pretty-emacs/feed/</wfw:commentRss>
		<slash:comments>78</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching 1/48 queries in 0.014 seconds using apc
Object Caching 444/550 objects using apc

Served from: peadrop.com @ 2013-05-20 12:31:13 -->