Your examples work for me , but I don't have Emacs 27.

The only thing I can think of is some sort of auto-fill behavior is going off, 
but that seems unlikely with just an indent-region.

Eric

-----Original Message-----
From: Uwe Brauer [mailto:o...@mat.ucm.es] 
Sent: Saturday, February 03, 2018 10:29 AM
To: matlab-emacs-discuss <matlab-emacs-discuss@lists.sourceforge.net>
Subject: [Matlab-emacs-discuss] indention stopped working?

Hi

I swore this worked till recently:


I have 

k=1:N+1 x(k+1)=x(k)+h; y(k+1)=f(x(k+1)); z(k+1)=g(x(k+1)); end 
 


So I mark it and run indent-region

And I receive

 
       for k=1:N+1 
    x(k+1)=x(k)+h; y(k+1)=f(x(k+1)); z(k+1)=g(x(k+1)); 
       end 


Which is absurd, I should have obtained


for k=1:N+1 
    x(k+1)=x(k)+h; y(k+1)=f(x(k+1)); z(k+1)=g(x(k+1)); end  Now I run 
matlab-indent-sexp

And obtain again

       for k=1:N+1 
    x(k+1)=x(k)+h; y(k+1)=f(x(k+1)); z(k+1)=g(x(k+1)); 
       end 

What is up here?

Or is the culprit GNU emacs 27? 


Uwe Brauer 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to