how to auto-indent in emacs
one of the reasons why i use emacs, as opposed to just a vanilla text editor, is that it auto-indents your code. all you've got to do is ask it to do so nicely.
just highlight the region of code you want indented (control-space at the beginning of the text block, then move the blinking cursor to the end of the text block) and hit:
>> C-M-\or, "control-meta-backslash."
0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home