unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* c-mode comment indent alignment issue
@ 2013-04-24  0:01 Francis Belliveau
  0 siblings, 0 replies; 4+ messages in thread
From: Francis Belliveau @ 2013-04-24  0:01 UTC (permalink / raw)
  To: help-gnu-emacs

I am having trouble figuring out how to control comment indentation and alignment.  Consider the following sequence of comments:

/*****
 *
 *  @file foo.h
 *
 *****
 */
/*
 *  $Revision$
 *
 *****
 */
/*
 *****
 *
 *  Sample...
 *
 *****
 */

In c-mode when they are all in the region and I "indent-region", the first two comments don't change, but the content of the last comment gets jammed against the left edge.

If I put a " *" before the upper row of asterisks all is okay.

Can anybody tell me how I can take control of the comment indentation logic to stop the indentation from being eliminated?

Fran


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

end of thread, other threads:[~2013-04-30 14:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.24526.1366762780.855.help-gnu-emacs@gnu.org>
2013-04-24 11:56 ` c-mode comment indent alignment issue Alan Mackenzie
2013-04-26  0:12   ` Francis Belliveau
2013-04-30 14:47     ` Ludwig, Mark
2013-04-24  0:01 Francis Belliveau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).