Hello,
I've noticed that calling 'matlab-shell-collect-command-output' can result
in extra new lines being sent to the *MATLAB* buffer which aren't deleted.
When using company-mode to complete text this behavior is pretty annoying
since as I'm typing lines are being inserted above the prompt. I believe
that the cause of this is the line:
(comint-simple-send (get-buffer-process (current-buffer))
(concat command "\n"))
The newline added to the end of the command causes an extra line to be
printed since it's interpreted as execute 'command' and then send a
newline. Removing the newline fixes the problem.
This seems like a suspiciously simple fix so I'm wondering why the newline
was being appended to the command.
Thanks,
Nate
P.S I am new to using mailing lists so if I've committed any faux pas in
this email please let me know
------------------------------------------------------------------------------
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