coffee-modeに取り込んでもらえました。
syohexさんありがとうございます。
2014-2-8 追記
スペース派ばっかりなのかな…
後生ですからインデントをタブでもできるようにしてもらいたい><;
とりあえずフォークして改造してみたものの、init-loaderで呼ばれるところでも、なんとかやれそうな気がしてやってみた。
(add-hook 'coffee-mode-hook
'(lambda ()
(make-local-variable 'coffee-indent-tabs-mode)
(set (make-local-variable 'indent-tabs-mode) coffee-indent-tabs-mode)
))
(defcustom coffee-indent-tabs-mode indent-tabs-mode
"Indentation can insert tabs if this is t. (coffee-mode)"
:group 'coffee)
(defadvice coffee-insert-spaces (around coffee-insert-spaces-or-tabs (count))
"Insert spaces or tabs"
(if coffee-indent-tabs-mode
(insert-char ?\t (floor count coffee-tab-width))
(insert-char ? count)))
(ad-activate 'coffee-insert-spaces)
coffee-mode.el が評価された後に、上記が評価されれば、たぶん大丈夫。
indent-tabs-mode の値に左右されます。