Sounds like a fine idea to me. I posted a change to the hairyblocks
branch that will use the function name, or text after the cell start as
the 'defun' for add log.
The hairyblocks branch has been stable for a while with a lot of
developers at MW using it. It should be ready to merge into the main
branch whenever you are ready for it.
Eric
On 6/20/21 2:46 AM, Uwe Brauer wrote:
"EL" == Eric Ludlam <ericlud...@gmail.com> writes:
Hi Eric,
Thanks for he quick reply
Hiya,
matlab-mode has defined `add-log-current-defun-function' for a long time.
You are right, I did not test this carefully enough.
However in lisp files, for examples defcustom is also recognised, so the
question is whether it would make sense to enhance the relevant matlab
functionality.
What I am thinking of is a good old script.
I see two candidates here
1. A cell with a header
Like
%% Test the implementation of Euler's method
2. A direct execution of a function like
[t,y] = ode45(f, intv, y0);
What do you think about it?
Regards
Uwe
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss