[xyzzy] specs2 の unit specification スタイルで書いたテストケース一覧を、 xyzzy のコマンド一発で grep する方法 投稿日時: 2012年10月12日 投稿者: tmyymmt 返信 開いているファイルの「 should 」と「 in 」の行をgrepするコマンド。 .xyzzy とか適当なファイルに以下をコピペ。M-x grep-specs2-unit-selected-buffer で実行。 ; Grep description of specs2 unit specification in selected buffer on xyzzy ; Please copy & paste following code at your .xyzzy ; Usage: M-x grep-specs2-unit-selected-buffer (defun grep-specs2-unit-selected-buffer () (interactive) (grep " should \\| in " (selected-buffer)))