unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Klaus Berndl <klaus.berndl@sdm.de>
Subject: Re: Lobotimze Java mode indentation engine?
Date: 29 Jul 2003 16:07:45 +0200	[thread overview]
Message-ID: <uwue1bf4e.fsf@sdm.de> (raw)
In-Reply-To: 843cgpzbeb.fsf@slowfox.is.informatik.uni-duisburg.de

On Tue, 29 Jul 2003, Kai Großjohann wrote:

>  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);

Yes, thats the way i do this too... But what I'm wondering why it has not
worked for you before, because AFAIK arglist-intro is set by default to +?!

Klaus

-- 
Klaus Berndl			mailto: klaus.berndl@sdm.de
sd&m AG				http://www.sdm.de
software design & management	
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220

  reply	other threads:[~2003-07-29 14:07 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
2003-07-29 14:07     ` Klaus Berndl [this message]
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=uwue1bf4e.fsf@sdm.de \
    --to=klaus.berndl@sdm.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).