ess

Emacs ESS Mode - Tabbing for Comment Region

独自空忆成欢 提交于 2019-11-27 05:27:24
问题 I am using the Emacs-Speaks-Statistics (ESS) mode for Emacs. When editing R code, any comment lines (those starting with #) automatically get tabbed to the far right when I create a new line above it. How should I change my .emacs.el file to fix this? For example, I have: # Comment Now, after putting my cursor at the beginning of the line and pressing Enter, I get: # Comment Thanks for any hints. 回答1: Use '###' if you don't want the comments indented. According to the manual, By default,