Hi,

Is there a trick to "filling" a region in a .m-file when using matlab-mode?

I created a .m-file with the following content:

    function foo()
        a = 1111111111111 + 222222222222 + 3333333333 + 444444444 +
 5555555 + 666666 + 7777;
    end

I thought I should then be able to go to the line starting with 'a = ...'
and do some kind of fill operation to automatically change it into
something like:

    function foo()
        a = 1111111111111 + 222222222222 + 3333333333 + 444444444 +  ...
            5555555 + 666666 + 7777;
    end

However, instead I seem to get the message:
    Fill algorithm failed!

Any idea what's going on here?

Apologies if I should be creating e.g. an issue at sourceforge instead.

cheers,
Christian

PS.
It's been a number of years since I used matlab-mode and I've just
installed it from MELPA on a Windows 10 machine. So I'm expecting the
problem to be with my Emacs installation, even though it's just installed
and hardly configured.


-- 
Christian Ridderström,     +46-70 687 39 44
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to