|
From: L. L. S. <ls...@gm...> - 2009-11-05 23:53:26
|
Greetings,
Very nice to have matlab.el updated!
I am trying to use the toolbox emacsclient capability.
Emacsclient is working fine from the command line (using Aquamacs on
Mac os X leopard)
matlab-shell working fine.
addpath to toolbox; rehash; emacsinit are being executed in my startup.m
But, when in Matlab I get an error when doing
matlab> edit somefile.m
Looks to me somehow the editor string is not being assigned properly.
See below.
The commands in emacsinit are way beyond me!. As you can see below,
it looks like editor command is being set to "emacsclient -n". But
when you query the name of the editor you get back
"Semacsclient -n", which I assume is my problem. No idea what to do
to fix this?
Thanks.
>> clientcommand
clientcommand =
emacsclient -n
>> com.mathworks.services.Prefs.setStringPref('EditorOtherEditor', clientcommand);
>> system_dependent('getpref', 'EditorOtherEditor')
ans =
Semacsclient -n
>> edit fit_ymod.m
??? Error using ==> edit at 57
Could not find external editor
>>
--
L. Larrabee Strow
Department of Physics
University of Maryland Baltimore County
1000 Hilltop Circle
Baltimore, MD 21250
E-mail: st...@um...
Phone: (724) 663-7341
|