<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>au9ustine&#039;s digital castle &#187; emacs</title>
	<atom:link href="http://au9ustine.wordpress.com/tag/emacs/feed/" rel="self" type="application/rss+xml" />
	<link>http://au9ustine.wordpress.com</link>
	<description>fiat lux</description>
	<lastBuildDate>Tue, 02 Aug 2011 11:18:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='au9ustine.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>au9ustine&#039;s digital castle &#187; emacs</title>
		<link>http://au9ustine.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://au9ustine.wordpress.com/osd.xml" title="au9ustine&#039;s digital castle" />
	<atom:link rel='hub' href='http://au9ustine.wordpress.com/?pushpress=hub'/>
		<item>
		<title>how to read external info file in emacs</title>
		<link>http://au9ustine.wordpress.com/2011/03/01/how-to-read-external-info-file-in-emacs/</link>
		<comments>http://au9ustine.wordpress.com/2011/03/01/how-to-read-external-info-file-in-emacs/#comments</comments>
		<pubDate>Tue, 01 Mar 2011 13:40:45 +0000</pubDate>
		<dc:creator>au9ustine</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://au9ustine.wordpress.com/?p=42</guid>
		<description><![CDATA[Open your emacs C-u C-h i, then input the path of the info file to be read<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=au9ustine.wordpress.com&#038;blog=19892106&#038;post=42&#038;subd=au9ustine&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<ol>
<li>Open your emacs</li>
<li><code>C-u C-h i</code>, then input the path of the info file to be read</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/au9ustine.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/au9ustine.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=au9ustine.wordpress.com&#038;blog=19892106&#038;post=42&#038;subd=au9ustine&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://au9ustine.wordpress.com/2011/03/01/how-to-read-external-info-file-in-emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3ba55f8a15071530bae7e50c115fef2f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">au9ustine</media:title>
		</media:content>
	</item>
		<item>
		<title>Emacs Font Settings using xresources to enable display Chinese character</title>
		<link>http://au9ustine.wordpress.com/2010/12/11/emacs-font-settings-using-xresources-to-enable-display-chinese-character/</link>
		<comments>http://au9ustine.wordpress.com/2010/12/11/emacs-font-settings-using-xresources-to-enable-display-chinese-character/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 21:12:00 +0000</pubDate>
		<dc:creator>au9ustine</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[font]]></category>

		<guid isPermaLink="false">http://au9ustine.wordpress.com/2010/12/11/emacs-font-settings-using-xresources-to-enable-display-chinese-character/</guid>
		<description><![CDATA[Preliminaries: Ubuntu Maverick or higher (Maybe it works on lower version, but I haven&#8217;t tried yet.) emacs 23 Some fonts such as DejaVu Sans Mono, WenQuanYi Micro Hei, etc. Solution: After you installed Ubuntu, you&#8217;ll create/find a file called .Xresources. Edit it, append what as below: Xft.antialias: 1 Xft.hinting: 1 Xft.hintstyle: hintfull Similarly, you&#8217;ll create/find [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=au9ustine.wordpress.com&#038;blog=19892106&#038;post=25&#038;subd=au9ustine&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Preliminaries:
<ol>
<li>Ubuntu Maverick or higher (Maybe it works on lower version, but I haven&#8217;t tried yet.)</li>
<li>emacs 23</li>
<li>Some fonts such as <code>DejaVu Sans Mono</code>, <code>WenQuanYi Micro Hei</code>, etc.</li>
<ol>
<p>Solution:</p>
<ol>
<li>After you installed Ubuntu, you&#8217;ll create/find a file called <b><code>.Xresources</code></b>. Edit it, append what as below:</p>
<pre>
Xft.antialias: 1
Xft.hinting: 1
Xft.hintstyle: hintfull</pre>
</li>
<li>Similarly, you&#8217;ll create/find the file <b><code>.emacs</code></b>. Edit it like this:
<pre>
(set-default-font "DejaVu Sans Mono-12")
(set-fontset-font (frame-parameter nil 'font)
              'han '("WenQuanYi Micro Hei Mono" . "unicode-bmp")
</pre>
</li>
<li>Then type <code>xrdb ~/.Xresources</code></li>
<li>You&#8217;ll make it if you&#8217;re lucky enough</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/au9ustine.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/au9ustine.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=au9ustine.wordpress.com&#038;blog=19892106&#038;post=25&#038;subd=au9ustine&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://au9ustine.wordpress.com/2010/12/11/emacs-font-settings-using-xresources-to-enable-display-chinese-character/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3ba55f8a15071530bae7e50c115fef2f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">au9ustine</media:title>
		</media:content>
	</item>
		<item>
		<title>emacs23 setup error in ubuntu maverick</title>
		<link>http://au9ustine.wordpress.com/2010/12/11/emacs23-setup-error-in-ubuntu-maverick/</link>
		<comments>http://au9ustine.wordpress.com/2010/12/11/emacs23-setup-error-in-ubuntu-maverick/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 14:21:00 +0000</pubDate>
		<dc:creator>au9ustine</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://au9ustine.wordpress.com/2010/12/11/emacs23-setup-error-in-ubuntu-maverick/</guid>
		<description><![CDATA[I suffered a lot about these problems below: au9ustine@ubuntu:/var/lib/dpkg/info$ sudo apt-get install emacs23 Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 196 not upgraded. 2 not fully installed or removed. Need to get 0B/19.0kB of archives. After this operation, 0B of [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=au9ustine.wordpress.com&#038;blog=19892106&#038;post=24&#038;subd=au9ustine&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I suffered a lot about these problems below:</p>
<pre>
au9ustine@ubuntu:/var/lib/dpkg/info$ sudo apt-get install emacs23
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 196 not upgraded.
2 not fully installed or removed.
Need to get 0B/19.0kB of archives.
After this operation, 0B of additional disk space will be used.
(Reading database ... 
dpkg: warning: files list file for package `emacs23-el' missing, assuming 
package has no files currently installed.

dpkg: warning: files list file for package `emacs23-common' missing, assuming 
package has no files currently installed.

dpkg: warning: files list file for package `emacsen-common' missing, assuming 
package has no files currently installed.

dpkg: warning: files list file for package `emacs23-bin-common' missing, 
assuming 
package has no files currently installed.
(Reading database ... 126908 files and directories currently installed.)
Preparing to replace emacsen-common 1.4.19ubuntu1 
(using .../emacsen-common_1.4.19ubuntu1_all.deb) ...
Unpacking replacement emacsen-common ...
Setting up emacs23 (23.1+1-4ubuntu7) ...
emacs-install emacs23
emacsen-common: Handling install of emacsen flavor emacs23
emacsen-common: byte-compiling for emacs23
cp: cannot stat `/etc/emacs/site-start.d/00debian-vars.el': No such file 
or directory
emacs-install: /usr/lib/emacsen-common/packages/install/emacsen-common 
emacs23 failed at /usr/lib/emacsen-common/emacs-install line 28,  line 1.
dpkg: error processing emacs23 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of emacs:
 emacs depends on emacs23 | emacs23-lucid | emacs23-nox; however:
  Package emacs23 is not configured yet.
  Package emacs23-lucid is not installed.
  Package emacs23-nox is not installed.
dpkg: error processing emacs (--configure):
 dependency problems - leaving unconfigured
Setting up emacsen-common (1.4.19ubuntu1) ...
No apport report written because the error message indicates its a followup 
error from a previous failure.
emacsen-common: Handling install of emacsen flavor emacs
Errors were encountered while processing:
 emacs23
 emacs
E: Sub-process /usr/bin/dpkg returned an error code (1)
</pre>
<p>The reason why I&#8217;m trapped here is unknown. I think it&#8217;s too complicated to have a brief scheme of the <b>dpkg</b> package manager.  But thanks to goodness of Google, I find a way to solve it.  Maybe it&#8217;s just the tip of the iceberg of superficial comprehension of the enormous horrible package management.</p>
<p>Drum&#8230;&#8230;&#8230;&#8230;&#8230;Bang!</p>
<p>Here is the solution:</p>
<ol>
<li>Clear what the prefix is &#8220;emacs&#8221; in <code>/etc/</code>, <code>/usr/lib</code>, and <code>/var/lib/dpkg/info</code></li>
<li>Type <code>sudo apt-get install --reinstall --purge emacsen-common</code></li>
<li>Wait&#8230;</li>
<li>If you prayed enough, you&#8217;ll be successful.  Congratulations! Else, eh, I&#8217;ve no idea about that&#8230;Maybe you didn&#8217;t pray reverently enough. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  </li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/au9ustine.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/au9ustine.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=au9ustine.wordpress.com&#038;blog=19892106&#038;post=24&#038;subd=au9ustine&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://au9ustine.wordpress.com/2010/12/11/emacs23-setup-error-in-ubuntu-maverick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/3ba55f8a15071530bae7e50c115fef2f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">au9ustine</media:title>
		</media:content>
	</item>
	</channel>
</rss>
