I am trying to configure emacs in order to debug comments on block C.
Emacs (22.3) by default (regardless of the indentation style):
/ * My very long comment which spreads over multiple lines
* and thus needs to be filled.
* /
But I would prefer:
/ * My very long comment which spreads over multiple lines
* and thus needs to be filled.
* /
I tried playing around with c-offset-alist and the syntax symbol `c ', but that didn't help me understand the problem:
(c-add-style "mine" '((c-basic-offset . 2) (c-block-comment-prefix . "* ") (c-offsets-alist (c . +))) )
Any ideas? Thanks in advance!
Cheers, Daniel
c comments emacs
danielpoe
source share