[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indentation help
From: |
Miles Bader |
Subject: |
Re: indentation help |
Date: |
Wed, 02 May 2007 11:16:25 +0900 |
suzannepelz@gmail.com writes:
> I need to add a line to my .emacs file for java code so that I can
> indent concatenated long Strings as follows:
>
> TO THIS (with next line indented two spaces):
> String description = "this is a really long description " +
> "that I need to put on two lines.";
What version of Emacs are you using?
I just tried the following in CVS Emacs (about to become Emacs 22), and
it indented the way you want (exactly as shown):
class Foo
{
String description = "this is a really long description " +
"that I need to put on two lines.";
};
-Miles
--
"I distrust a research person who is always obviously busy on a task."
--Robert Frosch, VP, GM Research