From: Daniel <sn...@gm...> - 2011-01-01 14:43:25
|
You could replace the line > clientcommand = 'emacsclient -n'; in the file 'emacsinit.m', which is located in '/home/kzhu/devcode/matlab-emacs/toolbox', by > clientcommand = 'emacs'; But in this case each time you call edit, the file will be opened in a new emacs process, which is pretty useless when you want to use matlab-emacs. As far as I know the only possibility is to use emacsclient and add > (server-start) in your .emacs file. On Thu, Dec 30, 2010 at 6:59 PM, Guangran Kevin Zhu <gua...@ma...> wrote: > Dear all, > > I am configuring matlab-emacs with > > Ubuntu 10.4, > Emacs 23 > CEDET-1.0pre7 > MATLAB r2010a > > I intent to run Matlab within emacs through "matlab-shell". Currently, > this command runs successfully. However, when I type "edit", nothing > happens on the command prompt and there is no buffer created for the new > file. I could not find any error message and matlab prompt is > > ==================================================== > < M A T L A B (R) > > Copyright 1984-2010 The MathWorks, Inc. > Version 7.10.0.499 (R2010a) 64-bit (glnxa64) > February 5, 2010 > > > To get started, type one of these: helpwin, helpdesk, or demo. > For product information, visit www.mathworks.com. > > >> addpath('/home/kzhu/devcode/matlab-emacs/toolbox','-begin'); rehash; > emacsinit('emacsclient -n'); > >> edit > >> > > ==================================================== > > There is no "emacsclient" installed on my machine. Given the "addpath > ..." command run at startup, I suspect that there is some configuration > missing to link the matlab to the current emacs. > > Any comment on how to debug this problem? Thank you. > > > -- > Sincerely yours, > > Kevin Guangran Zhu (PhD Candidate) > Computational Electromagnetics Lab > McGill University > Montreal, Canada > Tel: 1-514-398-1533 > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Matlab-emacs-discuss mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss > |