From: Eric L. <Eri...@ma...> - 2011-06-16 14:59:04
|
Hi, Sorry for the very tardy response. You can always put MATLAB into a new frame by doing "C-x 5 2" and put the *MATLAB* buffer into that frame. In matlab.el, look for a call to 'display-buffer'. In Emacs 23.2 at least, the 3rd input argument specifies the frame, so you could change that line to: (display-buffer msbn nil "visible")) around line 5034 to fix it for the cell case. save-and-go seems to do something similar already. I don't understand the issue w/ the comment character you mention. The only parts that change are values in strings, so I don't see how the % could affect anything. Eric -----Original Message----- From: Laurent Jacques [mailto:lau...@uc...] Sent: Monday, May 16, 2011 3:45 AM To: mat...@li... Subject: [Matlab-emacs-discuss] Launch matlab in new frame ? Dear all, I have few requests on this great emacs-matlab mode. Do you you know if: - it is possible to launch matlab in a new emacs *frame* (rather than in a sub-window) and then prevent emacs to still reopen a new matlab sub-window (split window) when a mfile cell is run (with "run cell"). I'd like to see "run cell" call the frame where matlab is inside. - to program in LISP the "run current cell and jump to next" ? Last point about svn: In the last matlab.el of the SVN, the "run cell" is bugged (at least on my Carbon emacs running on Mac). All lines are concatenated into a big line before to be run in matlab. This cause a bug if at least one line of the cell has a "%" comment, i.e., all the text after it is considered as a comment by matlab. I had to go back to a previous version of matlab.el to solve this issue. Best regards, Laurent -- Dr. Laurent JACQUES Postdoctoral Researcher, Return Grant, BELSPO, Belgium Institute of Information and Communication Technologies, Electronics and Applied Mathematics (ICTEAM-TELE) University of Louvain Batiment Stévin Place du Levant 2, PO Box L5.04.01 1348 Louvain-la-Neuve, Belgium Office: a.133 Tel: +32 10 47 81 24 Fax: +32 10 47 20 89 http://perso.uclouvain.be/laurent.jacques ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |