[EMAIL PROTECTED] 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
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to