From: Cláudia S. <cla...@gm...> - 2011-01-13 12:12:18
|
Hello All, I just bumped into something looking suspiciously like a bug. symptoms: while running matlab-shell-run-region over matlab code including comments, all the code followed by the commented line is no executed. causes: In the definition 'matlab-shell-run-region @ matlab.el, while creating the 'command binding, there is a 'while loop labeled as ;; HACK FOR NOSHOW whose action is to replace '\n' by ',' regardless of the present line being or not a comment. aesthetic considerations: I do prefer to see the lines ran in the prompt as they were layered out by me in the code file. I can understand some people might wish to completely remove those lines from the matlab-shell buffer; that would certainly be another effort, different from simply concatenating everything in a big one-liner... the cure: Just comment the hack code... cheers, Cláudia The best material model of a cat is another, or preferably the same, cat. A. Rosenblueth, Philosophy of Science, 1945 |