From: Eric L. <Eri...@ma...> - 2013-07-02 21:09:34
|
Hi, Not all the 'edit' like functions obey the preference to use an alternate editor. If you look in the toolbox directory that came with matlab.el, you will see "opentoline.m" which shadows the one that comes with matlab. Chances are that netcdf.open (which I am not familiar with at all) might need something similar. If you look at that fcn, it calls some lib function that you might be able to shadow in order to get what you want. Just stick it in the toolbox directory for Emacs, and you'll be all set. If it isn't related to some MATLAB toolbox, perhaps we can add the shadow to the matlab-emacs repository. Good Luck Eric From: emacs user [mailto:use...@gm...] Sent: Monday, July 01, 2013 3:01 PM To: mat...@li... Subject: [Matlab-emacs-discuss] emacsinit/ using emacs as an external Matlab editor hi, I am trying the above using Emacs 24.3 on Mac OSX, using a fresh download of matlab-emacs and Matlab 2013a. when I follow the install directions, trying to click on the line number in something like this: Error using netcdf.open (line 45) brings up the matlab editor instead of emacsclient. if I try >> opentoline('myfile.m',1477,0) emacsclient is invoked and goes to the right line etc. Any idea what I may be doing wrong? additional information I can povide? many thanks... |