[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
M-; and M-j and c-comment alignment
From: |
Luca Ferrari |
Subject: |
M-; and M-j and c-comment alignment |
Date: |
Tue, 26 Nov 2013 10:24:37 +0100 |
Hi,
I would like my comments to be multi-line as follows:
/*
* <here the cursor>
*/
and so a comment decorated with an empty top and bottom line. When I
press M-; emacs correctly opens the comment, and if then I hit M-j
emacs goes down one line and places the '*' for the new line, but this
makes the end of the comment on the last line:
/*
* <here the cursor> */
and so I have to manually C-j and indent the last line. Is there a way
to automatically open an aligned comment as the one I would like to
have?
Thanks,
Luca
- M-; and M-j and c-comment alignment,
Luca Ferrari <=
Re: M-; and M-j and c-comment alignment, Stefan Monnier, 2013/11/26
Message not available