>>> "EL" == Eric Ludlam <elud...@mathworks.com> writes:
> I think you are correct that it isn’t quite right, but I understand why. I > get the column to indent the following lines under and set the fill prefix > before handing it over to the built in fill-paragraph code. Fill paragraph > then moves the comment inward, but the fill prefix has already been defined. > Do you think it should leave the original comment column alone? That’s my > guess. I think what I posted seems to be one possibility I tried just to run matlab-indent-region on #+begin_src ev = 0; % el número de evaluaciones al inicio es cero, pues no ha % habido % ninguna % iteración #+end_src and I obtained an error I attach, something is not right here > The comment specific part of matlab-fill-paragraph has a couple > dubious things it’s doing that I’ll need to better understand to see > if they are supporting some sort of edge cases. My intuition is that > chunks of that code can be replaced with ‘fill-region’ instead of what > it’s doing now but my first cut did something surprising instead. > I’ll poke at it a little bit, but in theory I’m on vacation this week, so > we’ll see. Oops, by all means that is not urgent, enjoy your holidays... -- Warning: Content may be disturbing to some audiences I strongly condemn Putin's war of aggression against the Ukraine. I support to deliver weapons to Ukraine's military. I support the ban of Russia from SWIFT. I support the EU membership of the Ukraine. https://addons.thunderbird.net/en-US/thunderbird/addon/gmail-conversation-view/
Debugger entered--Lisp error: (wrong-number-of-arguments #f(compiled-function (start end &optional column noprogress) (interactive nil) #<bytecode 0xbf403742a90dff7>) 0) matlab-indent-region() funcall-interactively(matlab-indent-region) call-interactively(matlab-indent-region record nil) command-execute(matlab-indent-region record) execute-extended-command(nil "matlab-indent-region" "matlab-indent-re") funcall-interactively(execute-extended-command nil "matlab-indent-region" "matlab-indent-re") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command)
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Matlab-emacs-discuss mailing list Matlab-emacs-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss