all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* M-; and M-j and c-comment alignment
@ 2013-11-26  9:24 Luca Ferrari
  0 siblings, 0 replies; 9+ messages in thread
From: Luca Ferrari @ 2013-11-26  9:24 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-27  7:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.7147.1385457886.10748.help-gnu-emacs@gnu.org>
2013-11-26 10:52 ` M-; and M-j and c-comment alignment Damien Wyart
2013-11-26 10:53   ` Damien Wyart
2013-11-26 12:52     ` Luca Ferrari
     [not found]     ` <mailman.7160.1385470332.10748.help-gnu-emacs@gnu.org>
2013-11-26 13:07       ` Damien Wyart
2013-11-27  7:16         ` Luca Ferrari
     [not found]         ` <mailman.7230.1385536609.10748.help-gnu-emacs@gnu.org>
2013-11-27  7:31           ` Damien Wyart
2013-11-26 13:40   ` Stefan Monnier
     [not found]   ` <mailman.7164.1385473254.10748.help-gnu-emacs@gnu.org>
2013-11-26 14:43     ` Damien Wyart
2013-11-26  9:24 Luca Ferrari

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.