いまいちやる気がでないときはドットファイルをいじったりします。ということで、今日は .screenrc とか .emacs を少し。
.screenrc はどうでもいい設定とか削ったり、下記を参考に caption と hardstatus の違いを認識した上で設定しなおしたりした。
卜部昌平のあまりreblogしないtumblr - 俺の .screenrc が火を吹くぜ
そして、Mac にスイッチしてからというもの iTerm 使っていたけど描画の遅さに辟易してきたので Terminal 使うことにした。そもそも iTerm 使ってた理由は、Terminal で 256 色表示できないからという理由だけ...。それを諦めれば全然 Terminal のほうが快適っていうのはわかっていたので今回ばっさりあきらめてみた。
Emacs の色設定もぜんぶ ANSI な感じに。まぁ、色味についてはそのうち慣れるであろう。しかし、Terminal の "Pro" のカラースキームは今ひとつだな。特に青。
Terminal にスイッチしてひとつこまったのが Emacs の Undo。僕は C-x / を使って Undo してたんだけど、Mac の Terminal ではそれが入力できない。/ は ASCII じゃないからとかなんとかという話らしい。ので、今がんばって C-x _(C-x -)に慣れる最中...。


Is this emacs with screen? What terminal in emacs are u using and how are u setting this up? Can I get an English translation of what's going on? Thanks.
Posted by: Vinh Nguyen | Jan 21, 2010 at 00:45
Hi Vinh,
Right, this is emacs with screen.
But I'm not sure what "terminal in emacs" means. Is it emacs terminal emulator (M-x terminal-emulator) or ternimal console application? In the former case I don't use it as usual, the later case I'm using Apple's Terminal on Snow Leopard.
Posted by: ziguzagu | Jan 25, 2010 at 00:08
what color theme do you use in the second picture ?
can you post it ?
Posted by: aldrin | Jan 26, 2010 at 11:12
Hi aldrin,
I've posted my color scheme elisp to gist http://gist.github.com/287841
Posted by: ziguzagu | Jan 27, 2010 at 22:57
Hi ziguzagu,
the color-theme in the git repo doesn't seem to be the one used in the second picture ("AFTER"). The active modeline background in the picture for example is not 'cyan' but 'deepskyblue' according to emacs color list on my linux box. can't be that different on osx.
Regards
Posted by: aldrin | Jan 28, 2010 at 03:59
Hi aldrin,
Unfortunately, Apple Terminal doesn' t support 256 colors. So I'm using 16 colors with 'white', 'black', 'cyan', 'magenta' and etc instead of emacs color names.
Posted by: ziguzagu | Jan 28, 2010 at 10:43