<?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>燃燈佛所 &#187; cvs</title>
	<atom:link href="http://yyzhu.net/tag/cvs/feed" rel="self" type="application/rss+xml" />
	<link>http://yyzhu.net</link>
	<description>諸生劫余為善，諸法苦後得導</description>
	<lastBuildDate>Sun, 01 Aug 2010 08:50:13 +0000</lastBuildDate>
	<language>zh-cn</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>unicad for emacs cvs</title>
		<link>http://yyzhu.net/2009-01-15/unicad-for-emacs-cvs.html</link>
		<comments>http://yyzhu.net/2009-01-15/unicad-for-emacs-cvs.html#comments</comments>
		<pubDate>Thu, 15 Jan 2009 08:43:55 +0000</pubDate>
		<dc:creator>simon</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[cvs]]></category>
		<category><![CDATA[emacs23]]></category>
		<category><![CDATA[unicad]]></category>

		<guid isPermaLink="false">http://yyzhu.net/532-unicad-for-emacs-cvs</guid>
		<description><![CDATA[1.介绍 Emacs下比较让人苦恼的事情是：对于母语非英语等拉丁语的使用者而言，总是需要在Emacs上用自己的母语的。但是Emacs对中文的支持，至少到现在为止还不是很理想。迄今为止，我是使用emacs cvs版本，就是原来提到的emacs-unicode-2，或者emacs 23（在debian下，emacs cvs被叫做emacs-snapshot有对应的软件包可以通过aptitude或者apt-get的方式安装，简要方法见1.1），中文输入法部分用的是scim。但是emacs对不同字符编码格式的文件识别和处理上总是很麻烦：首先，我需要在.emacs文件中加入对中文的支持（我使用的是utf-8编码，见1.2）；其次，每次输入汉字之后，保存时emacs总是要弹出一个提示框，大意是你选择的utf-8编码与现有编码不同，是否继续？按一下Y或者回车吧。麻烦。 所以我找阿找阿找，找到了这个Unicad。简单的说，就是识别字符编码的工作交给它来进行吧。别的就都不用管了。目前正处于试用状态中，简单介绍一下安装和配置方法。 1.1 debian sid下安装emacs-snapshot 编辑/etc/apt/sources.list文件，加上以下源地址： &#60;code&#62;&#60;/code&#62;&#60;/pre&#62; &#60;pre&#62;&#60;code&#62;sudo emacs /etc/apt/sources.list&#60;/code&#62;&#60;/pre&#62; &#60;pre&#62;&#60;code&#62;deb http://emacs.orebokech.com sid main deb-src http://emacs.orebokech.com sid main&#60;/code&#62;&#60;/pre&#62; &#60;pre&#62;&#60;code&#62;sudo aptitude update sudo aptitude build-dep emacs&#60;/code&#62;&#60;/pre&#62; 然后，或者通过aptitude\synaptic等方式直接安装emacs-snapshot，或者下载源代码，自己配置安装吧。这部分就不多罗嗦了。 &#60;h2&#62;1.2 emacs的utf-8中文环境配置&#60;/h2&#62; 注：下文将要介绍的unicad可以代替此部分工作。 在用户根目录下的.emacs文件中加入： &#60;pre&#62;&#60;code&#62;(setq current-language-environment "UTF-8") (setq default-input-method "chinese-py") (setq locale-coding-system 'utf-8) (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) (set-selection-coding-system 'utf-8) (prefer-coding-system 'utf-8)&#60;/code&#62; 保存，退出，重新起动emacs即可。 2. unicad的安装和配置 下载unicad，解压缩后，将unicad.el保存在你设置的emacs的load [...]<hr /><small>Copyright &#169; 2008<br /> This feed is for personal, non-commercial use only. <br /> The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:<br /> 88975d89ee691d0be932d330087047e1 (38.107.191.81) )</small>]]></description>
		<wfw:commentRss>http://yyzhu.net/2009-01-15/unicad-for-emacs-cvs.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->