From: Uwe B. <ou...@ma...> - 2023-05-08 20:00:32
|
>>> "EL" == Eric Ludlam <el...@ma...> 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/ |