當我使用emacs python-mode時,如果一行的最後一個字符是左括號,它會從上一行的縮進中縮進下一行。如何在Emacs的左括號之後控制縮進
call_some_function(
some_very_long_argument_that_I_want_to_put_on_its_own_line)
我喜歡那樣。現在在ecmascript-mode(我用於actionscript 3)中,它總是縮進到前一個括號的水平。
call_some_function(
this_is_not_really_saving_me_any_horizontal_space);
如何在這方面使ecmascript-mode縮進像python-mode?
謝謝!這個鉤子完美的工作,並不需要我搞砸任何其他模式。我也不知道C-C C-o,這很方便。 – lacker 2009-09-25 16:18:24
如何在文件末尾添加模式行?像這裏http://stackoverflow.com/questions/5382475/emacs-modeline-at-the-end-of-file-in-one-line – alfC 2011-08-29 02:26:03