From: Daniel <sn...@gm...> - 2011-01-01 20:54:57
|
Please ignore my proposal about editing the emacsinit.m. This is nonsense, sorry. > emascsinit('emacs') Is equivalent to setting the Editor/Debugger in your matlab Preferences. You can place this in your startup.m file, but it won't help since it will always open a new process. I think the best way is to install an emacs version that comes with emacsclient (are you sure that your emacs on ubuntu has no emacsclient?). There is also an other advantage to use emacsclient. for e.g. in your .bashrc > alias "edit=emacsclient -n -a emacs" With this you can type 'edit somefile.txt' in a console and it will open the file in your existing emacs process, if there is one, otherwise it will start one. Don't forget to add (server-start) in your emacs config file. |