From: Nidish N. B. <nid...@il...> - 2024-05-15 11:53:19
|
> > 1. Done. I've added it to the lisp_LISP variable in the Makefile and > > can confirm that it builds fine. > > > 2. This is correct. I found no reason to rewrite matlab-shell-run-cell > > since it works fine as is. Let me know if you feel otherwise. > > It still works fine, well with one exception at least for me, a cell > must end with an empty new line. For example > > %% > t=0:0.1:1 > x=sin(t) > %% > > Does not work while > > %% > t=0:0.1:1 > x=sin(t) > > %% > > does Yes this is true. This seems to be a restriction from matlab-shell-run-cell. I guess I'll just write a matlab-cell-shell-run-cell function that's more neatly integrated within the matlab-cell minor-mode. The real restriction with matlab-cell is that I'm assuming that the cell header is "%%" followed by at least a space character - if there's no character right after the "%%", then this is not recognized as a cell header. This comes from the matlab-cell-cellbreak-regexp variable (which can be customized, of course). I will change it to default to not requiring the space character after the "%%" since this makes more sense. > > Okay - I've added a short writeup under the "Commentary" section in > > matlab-cell.el. Let me know if this is what you had in mind. > > Well I thought of including in the docstring of matlab-cell-mode > > But maybe this just me but I use `C-h m' quite a bit. I've added the list of navigation functions to the docstring. > > Not sure I can do real testing today, but hopefully tomorrow. > > Uwe > I'll try to have the above edits done by then! Thanks! Nidish |