unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: Lobotimze Java mode indentation engine?
Date: Tue, 29 Jul 2003 15:54:20 +0200	[thread overview]
Message-ID: <843cgpzbeb.fsf@slowfox.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: u65llcye2.fsf@sdm.de

Klaus Berndl <klaus.berndl@sdm.de> writes:

> I have written this small code only by hitting return, i.e. autom. indented:
>
> ,----
> | void
> | test_function()
> | {
> |    function_call(arg1,
> |                  arg2,
> |                  arg3);
> | 
> |    function_call(
> |       arg1,
> |       arg2,
> |       arg3);
> | }
> `----
>
> I think, this is what you want, isn't it?
> BTW: IMHO this is useful not only for Java, but also for C and C++....

Yes, indeed, this is what I want.  Now I had another look at the
docs, and found that (c-set-offset 'arglist-intro '+) did the trick.

I found this by doing C-c C-s on the b line, which gave me
arglist-cont-nonempty:

foo(a,
    b);

And then I did C-c C-s on this a line, which gave me arglist-intro:

foo(
    a,
    b);

Nice that this works now.
-- 
~/.signature

  reply	other threads:[~2003-07-29 13:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-29 12:05 Lobotimze Java mode indentation engine? Kai Großjohann
2003-07-29 12:26 ` Klaus Berndl
2003-07-29 13:54   ` Kai Großjohann [this message]
2003-07-29 14:07     ` Klaus Berndl
2003-07-29 16:14       ` Kai Großjohann

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=843cgpzbeb.fsf@slowfox.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /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).