2010年11月5日金曜日

# -*- coding:utf8 -*- - python

python で
# -*- coding:utf8 -*-
をチェックしてるんだそうな。Emacsだけじゃないのな......

2010年11月1日月曜日

xmlを整形 - Emacs

  1. sgml-modeにする(M-x sgml-mode)
  2. リージョンをマーク
  3. sgml-pretty-printを実行(M-x sgml-pretty-print)