From: Daniele N. <da...@gr...> - 2011-12-26 12:07:39
|
On 23/12/11 16:49, Punya Murthy wrote: > Hi everyone, > I am very much glad to get emacs major mode for matlab. > It is of great help for me. But indentation is a bit annoying for > me. 'Is there a way to alter the default indentation length?' Sure. M-x customize-apropos RET matlab RET The indentation width is controlled by, surprise, Matlab Indent Level, indentation in switch-case flow control constructs is controlled by Matlab Case Level (the first number is the indentation of the case statements into the switch block, the second number is the indentation of the code block within each case). Cheers, -- Daniele |