From: J Richardson <jrivers77@yahoo.com>
Subject: Re: Java mode indention
Date: 12 Aug 2003 13:03:04 -0400 [thread overview]
Message-ID: <uy8xyajw7.fsf@yahoo.com> (raw)
In-Reply-To: 5lvft5quts.fsf@rum.cs.yale.edu
"Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> writes:
> > Writer out = new BufferedWriter(new FileWriter(
> > "filename.log")));
> [...]
> > Writer out = new BufferedWriter(new FileWriter(
> > "filename.log")));
>
> How do you deal with multiple arguments as in:
>
> Writer out = new BufferedWriter(new FileWriter(
> "filename.log"),
> secondarg));
> or
> Writer out = new BufferedWriter(firstarg,
> new FileWriter(
> "filename.log")));
What it's doing now (after I tinkered with it) is:
Writer out = new BufferedWriter(new FileWriter(
"filename.log"),
secondarg);
Writer out = new BufferedWriter(firstarg,
new FileWriter(
"filename.log"));
Which is ok, though I'm of two minds about the extra indent level on
the second one. If I had a lot of nested calls with multiple
parameters it would be helpful, but I don't see that much.
I don't run into lots of long nested calls except with IO Streams and
Readers/Writers in Java, and I rarely use more than one parameter with
them. As long as the wrapped line ends up far enough to the left that
I have enough space to type something useful it doesn't bother me.
Jen
next prev parent reply other threads:[~2003-08-12 17:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.789.1059668280.8231.help-gnu-emacs@gnu.org>
2003-07-31 17:06 ` Java mode indention Kai Großjohann
2003-07-31 19:43 ` J Richardson
[not found] ` <mailman.806.1059680707.8231.help-gnu-emacs@gnu.org>
2003-08-01 20:38 ` Kai Großjohann
2003-08-01 21:24 ` Alan Mackenzie
2003-08-06 18:21 ` J Richardson
2003-08-06 20:05 ` J Richardson
2003-08-10 17:35 ` Stefan Monnier
2003-08-12 17:03 ` J Richardson [this message]
2003-07-31 16:02 J Richardson
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=uy8xyajw7.fsf@yahoo.com \
--to=jrivers77@yahoo.com \
/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.