all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Francis Belliveau <f.belliveau@comcast.net>
To: help-gnu-emacs@gnu.org
Subject: c-mode comment indent alignment issue
Date: Tue, 23 Apr 2013 20:01:01 -0400	[thread overview]
Message-ID: <BBE78402-5067-460A-BB7C-66F985E44D3C@comcast.net> (raw)

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


             reply	other threads:[~2013-04-24  0:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24  0:01 Francis Belliveau [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BBE78402-5067-460A-BB7C-66F985E44D3C@comcast.net \
    --to=f.belliveau@comcast.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.