In emacs matlab-mode, highlight a region then use indent-region:
C-M-\ runs the command indent-region
which is an interactive compiled Lisp function in `indent'.
(indent-region START END COLUMN)
Indent each nonblank line in the region.
With prefix no argument, indent each line using `indent-acco
> Thomas Heller <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] (porterboy) writes:
>> CONTEXT: I am using Emacs to edit Python code and sometimes
>> also Matlab code. When I hit in a loop of some sort,
>> Emacs usually gets the nesting indentation right, which is
>> part
[EMAIL PROTECTED] (porterboy) writes:
> CONTEXT:
> I am using Emacs to edit Python code and sometimes also Matlab code.
> When I hit in a loop of some sort, Emacs usually gets the
> nesting indentation right, which is particularly important in Python.
> To ensure this I have used python-mode.el a