Hi Uwe, Here’s a revised patch that does a better job filling comments, and also fixes the indent region issue you found.
Hope these work for you. Eric From: Uwe Brauer <o...@mat.ucm.es> Sent: Tuesday, July 11, 2023 2:53 AM To: Eric Ludlam <elud...@mathworks.com> Cc: Matlab-emacs-discuss <matlab-emacs-discuss@lists.sourceforge.net> Subject: the filling patch and its problems Hi Just to resume the discussion. I insert below the emails discussing the two problems I found I applied the two patches, I attach below and then I run into a problem: First problem Take one of these awful long comment line ev = 0; % el número de evaluaciones al inicio es cero, pues no ha habido ninguna iteración this after running matlab-fill-comment-line to ev = 0; % el número de evaluaciones al inicio es cero, pues no ha % habido % ninguna % iteración Which does not look correct to me, shouldn't it be ev = 0; % el número de evaluaciones al inicio es cero, pues no ha % habido ninguna iteración Or do I miss here something Second problem. I tried just to run matlab-indent-region on ev = 0; % el número de evaluaciones al inicio es cero, pues no ha % habido % ninguna % iteración and I obtained an error I attach, something is not right here
matlab-fill.patch
Description: matlab-fill.patch
_______________________________________________ Matlab-emacs-discuss mailing list Matlab-emacs-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss