eptags.py
こんな便利な物があったとわ・・・・
python24/Tools/Scriptsにあった。pythonではtagを使えないんだとばかり思ってた。
早速パスの通ったところにおいて.emacsに以下を追加。
;; タグファイルの自動生成 (defadvice find-tag (before c-tag-file activate) "Automatically create tags file." (let ((tag-file (concat default-directory "TAGS"))) (unless (file-exists-p tag-file) (shell-command "eptags.py *.py")) (visit-tags-table tag-file)))
うーん快適だ