unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: cc-mode indentation puzzle
Date: Tue, 01 Feb 2011 14:13:35 +0000	[thread overview]
Message-ID: <vz1k4hjg7w0.fsf@gmail.com> (raw)
In-Reply-To: a25af2b673a96a5ec4f5c8526c234806.squirrel@login.bluehost.com

On Mon 31 Jan 2011, blue@themarkjamesgroup.com wrote:

> Indentation I want:
>
> a = b + c +
>     d + e + f(1,
>     2, 3);
>
> Indentation I get:
>
> a = b + c +
>     d + e + f(1,
>         2, 3);

Have a look at (Info-goto-node "(ccmode)Line-Up Functions")

`c-lineup-assingnments' may help.

    AndyM




  reply	other threads:[~2011-02-01 14:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31 21:33 cc-mode indentation puzzle blue
2011-02-01 14:13 ` Andy Moreton [this message]
     [not found] ` <mailman.1.1296570019.10637.help-gnu-emacs@gnu.org>
2011-02-01 14:54   ` Pascal J. Bourguignon
2011-02-01 16:46     ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=vz1k4hjg7w0.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --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.
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).