|
From: | Stefan Monnier |
Subject: | Re: emacs: indent automatically on c, c++, php comments |
Date: | Mon, 15 Sep 2003 20:13:12 GMT |
User-agent: | Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> Therefore the comments are put at c30 on every line, regardless from begin > a pure comment line or not. I think that you can use M-x indent-for-comment to do what you want. TAB will probably mess up your alignment, but you might be able to adjust the indentation rules for // comments as well. See the CC-mode manual to figure out how to adjust indentation rules. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |