unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: cc-mode: Reverting to the 'dumber' indentation of nested function calls, as seen in Emacs20
Date: Sun, 07 Dec 2003 17:01:39 +0000	[thread overview]
Message-ID: <873cbwk1e4.fsf@emptyhost.emptydomain.de> (raw)
In-Reply-To: mailman.112.1068494680.2005.help-gnu-emacs@gnu.org

ERDI Gergo <cactus@cactus.rulez.org> writes:

> However, with Emacs21, here's what I get (again, '#' denotes double-spaces
> from c-basic-offset. '$' denotes spaces inserted by an unknown smart
> offset-calculator that I wasn't able to hunt down)

I *think* that the smartness is called lineup or line-up in CC mode.
It means that function args align under the opening parenthesis:

foo(a,
    b);
foo1(a,
     b);
foobar(a,
       b);

Is this what you mean?

Kai

  parent reply	other threads:[~2003-12-07 17:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.112.1068494680.2005.help-gnu-emacs@gnu.org>
2003-11-10 23:08 ` cc-mode: Reverting to the 'dumber' indentation of nested function calls, as seen in Emacs20 Kevin Rodgers
2003-11-11 16:30   ` ERDI Gergo
2003-12-07 17:01 ` Kai Grossjohann [this message]
2003-11-10 19:00 ERDI Gergo
2003-11-13 19:33 ` ERDI Gergo

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=873cbwk1e4.fsf@emptyhost.emptydomain.de \
    --to=kai@emptydomain.de \
    /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).