|
From: Eric L. <el...@ma...> - 2023-07-24 19:10:13
|
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 <ou...@ma...>
Sent: Tuesday, July 11, 2023 2:53 AM
To: Eric Ludlam <el...@ma...>
Cc: Matlab-emacs-discuss <mat...@li...>
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
|