Brian Schröder
2/11/2005 12:34:00 AM
On Fri, 11 Feb 2005 06:30:16 +0900
Ben Giddings <bg-rubytalk@infofiend.com> wrote:
> George Ogata wrote:
> > The latest version does it a bit better:
> >
> > if foo
> > puts('foo' +
> > 'bar' +
> > 'baz')
> > end
> >
> > Not exactly what you want, but probably intentional. You can get the
> > latest version from CVS. The misc/ directory. Online at:
>
> If the strings are longer than "foo" does it still start 2 (or maybe
> whatever your basic-indent setting is) spaces in? Or is the space
> relative to the position of the +?
>
> I can live with an extra indentation, but not with:
>
> "foo is the Foo" +
> "bar is the Bar"
>
> Ben
>
>
While we are at it, is it possible to make xemacs always indent arrays as if they were contained in brackets?
This is how ruby-mode indents:
foo_bar_baz = [1, 2, 3, 4,
5, 6, 7, 8]
foo_bar_baz = ([1, 2, 3, 4,
5, 6, 7, 8])
This is what I want:
foo_bar_baz = [1, 2, 3, 4,
5, 6, 7, 8]
regards,
Brian