GNU gettext な po のための po-mode.el ?

Syntax Highlighting だけでいいのだ、ちぅニーズに冷たい、てことだったんだな。

なんか見つからんなぁと思ってたら、GNU gettext の配布物に含まれてるからなのな。

必要最小限でいい、つまりは、gettext 操作全般のサポートを emacs から得るつもりがなくて、単にシンタクスハイライトだけでいい、くらいのライトなニーズなら、Downloadからソース持ってきて展開して、gettext-tools/misc の下にあるものをコピーすればいいと思う。powershell.elphp-mode.elと同じノリで、.emacs.d に el を置いて、

.emacsに追加
1 ;; po-mode
2 (setq auto-mode-alist
3       (cons '("\\.po\\'\\|\\.po\\." . po-mode) auto-mode-alist))
4 (autoload 'po-mode "po-mode" "Major mode for translators to edit PO files" t)

公式の説明はgettext.html#Installationにある。そこにはこんなことも書いてある:

If you are using Emacs version 20 or newer, and have already installed the appropriate international fonts on your system, you may also tell Emacs how to determine automatically the coding system of every PO file. This will often (but not always) cause the necessary fonts to be loaded and used for displaying the translations on your Emacs screen. For this to happen, add the lines:

1 (modify-coding-system-alist 'file "\\.po\\'\\|\\.po\\."
2                             'po-find-file-coding-system)
3 (autoload 'po-find-file-coding-system "po-mode")

to your .emacs file. If, with this, you still see boxes instead of international characters, try a different font set (via Shift Mouse button 1).

普通はこれはいらんと思う。

で。

Syntax Highlighting だけでいい、と思って入れたんだけど、そうはいかなかった。こんなでした:
po-mode-el

これのマニュアルはPO-Modeにある。必要最小限はエンターキーと C-c C-c ね、動画でやってる通り。ちぅか、当面あたしゃそれしか使わなそうだ。