D
dannyyuan
Hi,
I'm learning to use Emacs to program Ruby. The ruby-electric-mode
works well except that after I hit ENTER, my cursor will not be
automatically indented. For example, if I type "def foo" and then
ENTER, my cursor will be placed at the first column instead of being
properly indented, say, two spaces to the right of "def". Is there any
way to make the electric mode do auto indentation? Thanks!
I'm learning to use Emacs to program Ruby. The ruby-electric-mode
works well except that after I hit ENTER, my cursor will not be
automatically indented. For example, if I type "def foo" and then
ENTER, my cursor will be placed at the first column instead of being
properly indented, say, two spaces to the right of "def". Is there any
way to make the electric mode do auto indentation? Thanks!