<?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; Emacs</title>
	<atom:link href="http://pasero.net/~mako/blog/s/tag/emacs/feed" rel="self" type="application/rss+xml" />
	<link>http://pasero.net/~mako/blog</link>
	<description></description>
	<lastBuildDate>Sat, 31 Jul 2010 09:29:54 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>psvn でのパスワードの入力</title>
		<link>http://pasero.net/~mako/blog/s/108</link>
		<comments>http://pasero.net/~mako/blog/s/108#comments</comments>
		<pubDate>Wed, 23 Sep 2009 08:17:00 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/?p=108</guid>
		<description><![CDATA[自分のためのメモ。
Emacs の subversion のためのインターフェース psvn.el の先頭のほうで、コメントの形の FAQ に書かれていた。
PLAIN TEXT
TEXT:




;; Q3: How &#8230; <a href="http://pasero.net/~mako/blog/s/108">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>自分のためのメモ。</p>
<p>Emacs の subversion のためのインターフェース psvn.el の先頭のほうで、コメントの形の FAQ に書かれていた。</p>
<div class="igBar"><span id="ltext-2"><a href="#" onclick="javascript:showPlainTxt('text-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">TEXT:</span>
<div id="text-2">
<div class="text" style="font-family: monospace;">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;; Q3: How do I enter a username and password?</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;; A3: In the *svn-status* buffer press &quot;s&quot;, switch to the</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;;&nbsp; &nbsp; &nbsp;*svn-process* buffer and press enter. You will be prompted for</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">;;&nbsp; &nbsp; &nbsp;username and password.</div>
</li>
</ol>
</div>
</div>
</div>
<p></p>

	<h4>タグ</h4> <a href="http://pasero.net/~mako/blog/s/tag/emacs" title="Emacs" rel="tag">Emacs</a>, <a href="http://pasero.net/~mako/blog/s/tag/subversion" title="subversion" rel="tag">subversion</a>
]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/108/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emacs で subversion のコミットログ</title>
		<link>http://pasero.net/~mako/blog/s/97</link>
		<comments>http://pasero.net/~mako/blog/s/97#comments</comments>
		<pubDate>Tue, 21 Apr 2009 12:58:46 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/?p=97</guid>
		<description><![CDATA[日本語入力システムにWnn7を使うために環境変数 LANG を ja_JP.eucJP にしなければならないのだが、いくつか問題が出てきた。
そのうちのひとつ、emacs で subversion のコミットをする際のロ &#8230; <a href="http://pasero.net/~mako/blog/s/97">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>日本語入力システムに<a href="http://pasero.net/~mako/blog/s/83">Wnn7を使う</a>ために環境変数 LANG を ja_JP.eucJP にしなければならないのだが、いくつか問題が出てきた。</p>
<p>そのうちのひとつ、emacs で subversion のコミットをする際のログを日本語で書こうとするとエラーを起こす。しばらく放っておいたのだが、やはりログは日本語で書いたほうがささっと書ける<sup><a href="#footnote-1-97" id="footnote-link-1-97" title="See the footnote.">1</a>)</sup>。</p>
<p>.emacs に</p>
<div class="igBar"><span id="llisp-4"><a href="#" onclick="javascript:showPlainTxt('lisp-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">LISP:</span>
<div id="lisp-4">
<div class="lisp" style="font-family: monospace;">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#40;</span>add-hook 'svn-log-edit-mode-hook</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; '<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">lambda</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #66cc66;">&#40;</span>set-buffer-file-coding-system 'euc-jp<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p>
を加えて解決した。</p>
<br /><ol class="footnotes"><li id="footnote-1-97">諸説あるが、何しろここでは自分ひとりで使っているリポジトリのものなので自分流である。   <a href="#footnote-link-1-97">↑</a></li></ol>
	<h4>タグ</h4> <a href="http://pasero.net/~mako/blog/s/tag/debian" title="Debian" rel="tag">Debian</a>, <a href="http://pasero.net/~mako/blog/s/tag/emacs" title="Emacs" rel="tag">Emacs</a>, <a href="http://pasero.net/~mako/blog/s/tag/subversion" title="subversion" rel="tag">subversion</a>
]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/97/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>emacs22 と wnn7-elisp パッケージ</title>
		<link>http://pasero.net/~mako/blog/s/70</link>
		<comments>http://pasero.net/~mako/blog/s/70#comments</comments>
		<pubDate>Tue, 10 Jul 2007 13:51:46 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[Wnn]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/s/70</guid>
		<description><![CDATA[Debian sid に emacs22 (とその GTK版emacs22-gtk) が降りてきた。さっそく入れようと思ったがいくつかのパッケージが対応していない。特に wnn7-elisp は Debian 公式のもの &#8230; <a href="http://pasero.net/~mako/blog/s/70">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Debian sid に <a href="http://packages.debian.org/unstable/editors/emacs22" >emacs22</a> (とその GTK版<a href="http://packages.debian.org/unstable/editors/emacs22-gtk" >emacs22-gtk</a>) が降りてきた。さっそく入れようと思ったがいくつかのパッケージが対応していない。特に <a href="http://www.omronsoft.co.jp/SP/support/pcunix/wnn7/index.html" >wnn7-elisp</a> は Debian 公式のものではなく、商用(しかも5,6年も前)なので対応パッケージが出るとも思われない。自分で修正することとした。</p>
<div class="igBar"><span id="ldiff-6"><a href="#" onclick="javascript:showPlainTxt('diff-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">DIFF:</span>
<div id="diff-6">
<div class="diff" style="font-family: monospace;">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #888822;">--- wnn7-elisp.orig/DEBIAN/control&nbsp; <span style="color:#800000;">2002</span><span style="color:#800000;">-05</span><span style="color:#800000;">-22</span> <span style="color:#800000;">18</span>:<span style="color:#800000;">42</span>:<span style="color:#800000;">05.000000000</span> <span style="color:#800000;">+0900</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #888822;">+++ wnn7-elisp/DEBIAN/control&nbsp; &nbsp;<span style="color:#800000;">2007</span><span style="color:#800000;">-07</span><span style="color:#800000;">-09</span> <span style="color:#800000;">15</span>:<span style="color:#800000;">02</span>:<span style="color:#800000;">36.000000000</span> <span style="color:#800000;">+0900</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #440088;">@@ <span style="color:#800000;">-1</span>,<span style="color:#800000;">13</span> <span style="color:#800000;">+1</span>,<span style="color:#800000;">13</span> @@</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;Priority: extra</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;Architecture: all</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #991111;">-Depends: emacs20 | emacs20-dl | xemacs21-mule | xemacs21-mule-canna-wnn</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+Depends: emacs22 | emacs-snapshot | emacs21 | emacs20 | emacs20-dl | xemacs21-mule | xemacs21-mule-canna-wnn</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;Installed-Size: <span style="color:#800000;">587</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;Maintainer: OMRON SOFTWARE Co.,Ltd. &lt;wnn-info@omronsoft.co.jp&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;Description: A package of Japanese input method 'Wnn7' elisp client.</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">diff -u -r wnn7-elisp.orig/usr/lib/emacsen-common/packages/install/wnn7-elisp wnn7-elisp/usr/lib/emacsen-common/packages/install/wnn7-elisp</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #888822;">--- wnn7-elisp.orig/usr/lib/emacsen-common/packages/install/wnn7-elisp&nbsp; <span style="color:#800000;">2002</span><span style="color:#800000;">-05</span><span style="color:#800000;">-22</span> <span style="color:#800000;">18</span>:<span style="color:#800000;">41</span>:<span style="color:#800000;">59.000000000</span> <span style="color:#800000;">+0900</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #888822;">+++ wnn7-elisp/usr/lib/emacsen-common/packages/install/wnn7-elisp&nbsp; &nbsp;<span style="color:#800000;">2007</span><span style="color:#800000;">-07</span><span style="color:#800000;">-10</span> <span style="color:#800000;">21</span>:<span style="color:#800000;">50</span>:<span style="color:#800000;">47.818091867</span> <span style="color:#800000;">+0900</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #440088;">@@ <span style="color:#800000;">-37</span>,<span style="color:#800000;">7</span> <span style="color:#800000;">+37</span>,<span style="color:#800000;">7</span> @@</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;emacs<span style="">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;;;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #991111;">-&nbsp; &nbsp; emacs20|xemacs21<span style="">&#41;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; emacs22|emacs-snapshot|emacs21|emacs20|xemacs21<span style="">&#41;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;install -m <span style="color:#800000;">755</span> -d $<span style="">&#123;</span>ELCDIR<span style="">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;<span style="">&#40;</span>cd $<span style="">&#123;</span>ELDIR<span style="">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">diff -u -r wnn7-elisp.orig/usr/lib/emacsen-common/packages/remove/wnn7-elisp wnn7-elisp/usr/lib/emacsen-common/packages/remove/wnn7-elisp</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #888822;">--- wnn7-elisp.orig/usr/lib/emacsen-common/packages/remove/wnn7-elisp&nbsp; &nbsp;<span style="color:#800000;">2002</span><span style="color:#800000;">-05</span><span style="color:#800000;">-22</span> <span style="color:#800000;">18</span>:<span style="color:#800000;">41</span>:<span style="color:#800000;">59.000000000</span> <span style="color:#800000;">+0900</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #888822;">+++ wnn7-elisp/usr/lib/emacsen-common/packages/remove/wnn7-elisp&nbsp; &nbsp; <span style="color:#800000;">2007</span><span style="color:#800000;">-07</span><span style="color:#800000;">-10</span> <span style="color:#800000;">21</span>:<span style="color:#800000;">51</span>:<span style="color:#800000;">17.472192301</span> <span style="color:#800000;">+0900</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #440088;">@@ <span style="color:#800000;">-10</span>,<span style="color:#800000;">7</span> <span style="color:#800000;">+10</span>,<span style="color:#800000;">7</span> @@</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;case &quot;$<span style="">&#123;</span>FLAVOR<span style="">&#125;</span>&quot; in</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;emacs<span style="">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;;;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #991111;">-&nbsp; &nbsp; emacs20|xemacs21<span style="">&#41;</span></span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #00b000;">+&nbsp; &nbsp; emacs22|emacs-snapshot|emacs21|emacs20|xemacs21<span style="">&#41;</span></span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;echo remove/$<span style="">&#123;</span>PACKAGE<span style="">&#125;</span>: purging byte-compiled files for $<span style="">&#123;</span>FLAVOR<span style="">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;rm -rf /usr/share/$<span style="">&#123;</span>FLAVOR<span style="">&#125;</span>/site-lisp/$<span style="">&#123;</span>PACKAGE<span style="">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp;rm -f $<span style="">&#123;</span>STARTDIR<span style="">&#125;</span>/<span style="color:#800000;">50</span>$<span style="">&#123;</span>STARTFILE<span style="">&#125;</span>*;</div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>wnn7-elisp の他にも auctex, gnus も同様に修正すればいますぐ使える。これらは公式パッケージなのでしばらく待てば emacs22 対応版が出るだろう。</p>

	<h4>タグ</h4> <a href="http://pasero.net/~mako/blog/s/tag/debian" title="Debian" rel="tag">Debian</a>, <a href="http://pasero.net/~mako/blog/s/tag/emacs" title="Emacs" rel="tag">Emacs</a>, <a href="http://pasero.net/~mako/blog/s/tag/wnn" title="Wnn" rel="tag">Wnn</a>
]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/70/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>subversion</title>
		<link>http://pasero.net/~mako/blog/s/46</link>
		<comments>http://pasero.net/~mako/blog/s/46#comments</comments>
		<pubDate>Sun, 28 Jan 2007 14:29:19 +0000</pubDate>
		<dc:creator>Mako</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Emacs]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://pasero.net/~mako/blog/s/46</guid>
		<description><![CDATA[ようやく CVSからsubversionに移行した。自分一人の環境だし、滅多にコードも書かないので何のために?というところだが、まあいろいろとファイルの管理などを。出遅れた分あちこちに情報があるので割とスムーズに移行でき &#8230; <a href="http://pasero.net/~mako/blog/s/46">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>ようやく CVSからsubversionに移行した。自分一人の環境だし、滅多にコードも書かないので何のために?というところだが、まあいろいろとファイルの管理などを。出遅れた分あちこちに情報があるので割とスムーズに移行できそうだ。</p>
<p>しかしいくつかの不満はある(使い手が慣れていないからかもしれないが)。ひとつは、<a href="http://arch.bluegate.org/pipermail/subversion-jp/2004-January/000023.html">パーミッションが保存されない</a>こと。CVSでは作業スペースでパーミッションを変更しておいた状態で update しても(内容はupdateされても)パーミッションが変わることはなかった。subversionでは、いったんファイルを消してから新たに作ったかのように、元のパーミッション(その時点の umaskにしたがって)になってしまう。group の変更も元に戻ってしまう。webページのように、webサーバから見えるようにしてチェックしつつ作業をしている場面では面倒くさい。tarを使うときのようにパーミッションなどが保存されるといいのだが。</p>
<p>もうひとつの問題は日本語の文字化け。CVSより格段によくなっているけれども。</p>
<p>まず、ここの環境では /etc/environment で LANG=ja_JP.EUC-JP となっているしその中の自分の環境でも LANG=ja_JP.EUC-JP としている。普段使いのエディタ Emacs も (set-default-coding-systems 'euc-japan) だ。そこで /var/lib/trac/(リポジトリ)/conf/trac.ini で</p>
<div class="igBar"><span id="lcode-8"><a href="#" onclick="javascript:showPlainTxt('code-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-8">
<div class="code" style="font-family: monospace;">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>trac<span style="color:#006600; font-weight:bold;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; default_charset = euc-jp</div>
</li>
</ol>
</div>
</div>
</div>
<p>
とした。</p>
<p>ファイルの中身がeuc-jpなら何の問題もないのだが、だんだんutf-8のものも出てきた。するとTracで閲覧するときに化けてしまう。これは TracJaの説明にもあるように、</p>
<blockquote><p>
Subversion リポジトリに格納しているファイルのエンコードが、ファイルごとに違う場合、 Subversion 側で各ファイルの svn:mime-types 属性にcharset を正しく設定することで解消します (trac-0.8.2 以降):</p></blockquote>
<p>で解決した。phpだからといって mime-typeを application/phpとするのはやりすぎで、閲覧することを考えると text/* にしておくのが吉。text/x-php としてみた。text/plain がもっとも無難だとは思うが。</p>
<p>Emacsでは[[<a href="http://www-aos.eps.s.u-tokyo.ac.jp/~takagi/SubversionMemo.html#sec40">psvn.elを使う</a>。編集中に差分を見たいとき = (差分)とすると、euc-jpのバッファにutf-8を表示しようとして文字化けしてしまう。E (Ediff)だと化けずに表示できるので、こちらで見ることにしよう。</p>

	<h4>タグ</h4> <a href="http://pasero.net/~mako/blog/s/tag/emacs" title="Emacs" rel="tag">Emacs</a>, <a href="http://pasero.net/~mako/blog/s/tag/software" title="Software" rel="tag">Software</a>, <a href="http://pasero.net/~mako/blog/s/tag/subversion" title="subversion" rel="tag">subversion</a>
]]></content:encoded>
			<wfw:commentRss>http://pasero.net/~mako/blog/s/46/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
