From: Eric L. <Eri...@ma...> - 2016-01-29 22:32:10
|
I have some pending patches I haven't gotten around to pushing up into CVS. I don't like pushing patches without checking the results myself, and things have been busy lately. I could definitely use help for this sort of thing. Eric -----Original Message----- From: Uwe Brauer [mailto:ou...@ma...] Sent: Monday, January 25, 2016 5:49 AM To: Torben Knudsen <tk...@es...> Cc: matlab-emacs <mat...@li...> Subject: Re: [Matlab-emacs-discuss] execute matlab in a different directory. GNU vs Xemacs >>> "Torben" == Torben Knudsen <tk...@es...> writes: > Dear Uwe > Maybe I misunderstand the problem. If I make sure the diectories are > on the search path using e.g. addpath and maybe genpath I have no > problems when running m-files from different directories using I am afraid I did not explain this well enough. I don't want to set a path. Rationale: I have to correct a bunch of .m files of my students which they wrote in an exam. Although I tell them to add their familiar name to each file, some of them forget that and I end up with files like examn.m So if I set paths I could never be sure which file I execute. However I found two solutions to my problem: - I just boldly used the function from Xemacs dired.el - even better the variable matlab-change-current-directory which I had set to t in Xemacs and nil in GNU emacs solves completely my problem. @Eric: I obtainted that variable from a patch I found in the matlab newsgroup. It is applied to main I trust? Regards Uwe Brauer ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |