Frank Wilson
3/16/2008 12:14:00 PM
Sorry I activated the send keyboard shortcut in gmail by accident.... grrr.
I'm starting to learn RoR on emacs with the ecb and rails plugins.
I find myself wanting to type maps in the following way
foo = bar.mkfoo(
:bangers => "mash",
:fish => "chips"
)
but ruby-mode (i think) keeps doing this:
foo = bar.mkfoo(
:bangers => "mash",
:fish => "chips"
)
Which is sometimes way too far to the right.
Now ruby-mode seems to have this option:
ruby-deep-indent-paren
which has default value
(40 91 93 t).
I have no idea what this means. Does anybody know?
I found that (20 91 93 t) makes 1 char tabs, as does setting nil.
So I'm almost there I'd just like slightly bigger tabs, like 3 chars maybe.
Thanks,
On 16/03/2008, Frank Wilson <fajwilson@gmail.com> wrote:
> I'm starting to learn RoR on emacs with the ecb and rails plugins.
> I find myself wanting to type maps in the following way
> foo = bar.mkfoo(
> :bangers => "mash",
> :fish => "chips"
> )
>
> but ruby-mode (i think) keeps doing this:
>
> foo = bar.mkfoo(
> :bangers => "mash",
> :fish => "chips"
> )
>