bug-gnu-emacs ML を 3 日眺めて、気づいたこと
ML に投げるためのメールのお作法をメモしておく。
- - エンコーディングを UTF-8 にしてテキスト形式で送る。
- - パッチを添付する時は、件名に[PATCH]をつける。
- - パッチ作成には diff -up または diff -uprN を使う(-p オプションが大事)。
- - 機能追加アイデア/改善要望などは、件名に規模に合わせて {Major|Minor} Enhancement をつける。
- - バグレポートは、M-x report-emacs-bug のフォーマットを使う。
- - M-x info emacs の 「Bugs」を読む。
- - 既知のバグでないかどうかを確認するために
/etc/PROBLEMS を読む。 - - BTS の案内も読む。
- - 最新版(Emacs 23) のチェックアウトは以下。
cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/emacs co emacs
追記:
diff の形式について info では context 形式がいいとなってるけど、ML を見るとみんな unified 形式で投げているから unified のほうかな。
M-x info emacs → Bugs → Sending Patches
(...snip...) * Use `diff -c' to make your diffs. Diffs without context are hard to install reliably. More than that, they are hard to study; we must always study a patch to decide whether we want to install it. Unidiff format is better than contextless diffs, but not as easy to read as `-c' format. If you have GNU diff, use `diff -c -F'^[_a-zA-Z0-9$]+ *('' when making diffs of C code. This shows the name of the function that each change occurs in. (...snip...)
追記2:
id:rubikitch さんがバグレポートを送る記事を書かれたので、リンクしておきます。