From: Xavier R. <xav...@gm...> - 2013-05-08 08:52:09
|
Matlab gives the possibility to insert comments which span several lines inside percent-brace %{ %} It seems that matlab-emacs does not handle correctly indentation when this feature is used. Here is an example: function y= f(x) % first comment %{ second comment: induces unwanted indentation. %} % Third comment y=x end This indentation does not correspond to the one produced by the matlab editor. I wonder if this is something that could be easily changed. When writing code with others, it is important to have same indentation policy and matlab own editor then sets the standard. Thank you for your help. Xavier Raynaud. |