Re: [Matlab-emacs-discuss] executing matlab in org mode files (using the matlab-shell)

2017-11-03 Thread Uwe Brauer
>>> "Eric" == Eric Ludlam writes: > Sorry for not being more precise. > Inside 'matlab-shell-save-and-go' is infrastructure for building > something custom for org-mode. For example, how it looks for a shell > buffer and creates on only if needed, and how it updates the history > (

Re: [Matlab-emacs-discuss] executing matlab in org mode files (using the matlab-shell)

2017-11-03 Thread Eric Ludlam
les. Eric -Original Message- From: Uwe Brauer [mailto:o...@mat.ucm.es] Sent: Tuesday, October 31, 2017 5:27 PM To: Eric Ludlam Cc: Uwe Brauer ; matlab-emacs-discuss Subject: Re: [Matlab-emacs-discuss] executing matlab in org mode files (using the matlab-shell) >>> "Eric"

Re: [Matlab-emacs-discuss] executing matlab in org mode files (using the matlab-shell)

2017-11-03 Thread Eric Ludlam
that might explain any issues you're bumping into with org mode. Eric -Original Message- From: Uwe Brauer [mailto:o...@mat.ucm.es] Sent: Friday, November 03, 2017 10:39 AM To: Eric Ludlam Cc: Uwe Brauer ; matlab-emacs-discuss Subject: Re: [Matlab-emacs-discuss] executing matlab i

Re: [Matlab-emacs-discuss] executing matlab in org mode files (using the matlab-shell)

2017-10-31 Thread Uwe Brauer
>>> "Eric" == Eric Ludlam writes: > MATLAB mode has a command to execute region in the MATLAB Shell from a > .M file. I see no reason why you couldn't re-use that. > It may be it needs updating to also start the shell, or to chdir if > there is a function, or something like that.

Re: [Matlab-emacs-discuss] executing matlab in org mode files (using the matlab-shell)

2017-10-31 Thread Uwe Brauer
>>> "Cumhur" == Cumhur Erkut writes: > Hi, > Assuming that matlab-mode and matlab-shell are working, org-babel > natively supports matlab code execution. > Your org-babel-execute:matlab overrides the org-babel defaults in > ob-octave.el, which can be inspected there. >

Re: [Matlab-emacs-discuss] executing matlab in org mode files (using the matlab-shell)

2017-10-31 Thread Eric Ludlam
rauer [mailto:o...@mat.ucm.es] Sent: Tuesday, October 24, 2017 4:54 PM To: matlab-emacs-discuss Subject: [Matlab-emacs-discuss] executing matlab in org mode files (using the matlab-shell) Hi I am using more and more org mode, a long with auctex and matlab.el. Orgmode comes in handy if I write a doc

Re: [Matlab-emacs-discuss] executing matlab in org mode files (using the matlab-shell)

2017-10-24 Thread Cumhur Erkut
Hi, Assuming that matlab-mode and matlab-shell are working, org-babel natively supports matlab code execution. Your org-babel-execute:matlab overrides the org-babel defaults in ob-octave.el, which can be inspected there. I enable the babel support in .emacs as (org-babel-do-load-languages '

[Matlab-emacs-discuss] executing matlab in org mode files (using the matlab-shell)

2017-10-24 Thread Uwe Brauer
Hi I am using more and more org mode, a long with auctex and matlab.el. Orgmode comes in handy if I write a document which contains (matlab) code which I want to execute, but the rest of the file maybe text, which I can then export to latex. So a typical file looks like Given \droppoints \begin{