Thanks for the hook! It works great!
On Wednesday, January 15, 2014 11:21:06 PM UTC-5, Jordan Meyer wrote: > > I'm glad to hear someone else experiences this behavior! Yes, I did > discover that pressing tab does correctly indent the current line. While > it's decently workable, I still felt that achieving the appropriate > auto-indentation was a lot more natural. If you're interested, I'd suggest > that you try my little hack that I posted above. It eliminates the need for > any compensatory tabbing. > > On Wednesday, January 15, 2014 11:04:32 PM UTC-5, bp2012 wrote: >> >> The default behavior for me is for 'end' to be indented incorrectly after >> pressing enter. However, pressing the tab key while anywhere on that line >> will correct the indentation. In fact, pressing tab on any line will >> correct the indentation. I found it to be very handy after I got used to >> it. >> >> Does it work that way for you? >> >> (This is using ESS on emacs24 on Ubuntu 12.04.) >> >>
