all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glauber Alex Dias Prado <smade4@gmail.com>
To: Nathaniel Flath <flat0103@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Help with Java indentation
Date: Sat, 09 Jan 2010 01:52:20 -0200	[thread overview]
Message-ID: <86pr5kx7d7.fsf@gmail.com> (raw)
In-Reply-To: <5e3a506e1001071836i67bfe6f5j9c92de5819727e29@mail.gmail.com> (Nathaniel Flath's message of "Thu, 7 Jan 2010 21:36:01 -0500")

Nathaniel Flath <flat0103@gmail.com> writes:

> How do I configure Emacs to set the indentation of a java function call to
> act as such:

depends on what mode you are using to edit java, but in general it has
the same behavior as c-mode and you can configure its style which
control among other things indentation. What you are reporting seems like broken
indentation due to wrong syntax, this can help as a visual cue of wrong
syntax, but i can be wrong.

> SomeStupidClass.SomeStupidFunction(
>       Arg1
>       Arg2
> }
>
> Instead of:
>
> SomeStupidClass.SomeStupidFunction(
>                                                                 Arg1
>                                                                 Arg2
> }
>
> Thanks,
> Nathaniel Flath




      reply	other threads:[~2010-01-09  3:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-08  2:36 Help with Java indentation Nathaniel Flath
2010-01-09  3:52 ` Glauber Alex Dias Prado [this message]

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=86pr5kx7d7.fsf@gmail.com \
    --to=smade4@gmail.com \
    --cc=flat0103@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.
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.