Re: ob-octave: improve MATLAB support

2025-04-23 Thread Ihor Radchenko
John C writes: > I’ve been so busy with work. The last round of feedback was to split matlab > support from octave, which I started but didn’t get very far. I’ll try to > get back to this soon. > > Sorry for the delay, No problem and no need to say sorry. We are all volunteers here. By sending

Re: ob-octave: improve MATLAB support

2025-04-22 Thread John C
Hi I’ve been so busy with work. The last round of feedback was to split matlab support from octave, which I started but didn’t get very far. I’ll try to get back to this soon. Sorry for the delay, John On Tue, Apr 22, 2025 at 1:17 PM Ihor Radchenko wrote: > Ihor Radchenko writes: > > > Maybe

Re: ob-octave: improve MATLAB support

2025-04-22 Thread Ihor Radchenko
Ihor Radchenko writes: > Maybe you can use `org-require-package'. > ... John, it has been a while since the last update in this thread. May I know if you had a chance to look into my latest comments? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at

Re: ob-octave: improve MATLAB support

2025-01-04 Thread Ihor Radchenko
John C writes: > Thanks for the feedback. See updated org-matlab.patch. Note code evaluation > will now error out when using an out-of-date matlab-mode (rather than > generating a warning) because when using an older matlab-mode, code block > evaluation doesn't work. We need to wait for the matla

Re: ob-octave: improve MATLAB support

2025-01-02 Thread John C
Attaching the updated org-matlab.patch On Thu, Jan 2, 2025 at 6:55 PM John C wrote: > Hi > > Thanks for the feedback. See updated org-matlab.patch. Note > code evaluation will now error out when using an out-of-date matlab-mode > (rather than generating a warning) because when using an older mat

Re: ob-octave: improve MATLAB support

2025-01-02 Thread John C
Hi Thanks for the feedback. See updated org-matlab.patch. Note code evaluation will now error out when using an out-of-date matlab-mode (rather than generating a warning) because when using an older matlab-mode, code block evaluation doesn't work. We need to wait for the matlab-shell to be ready.

Re: ob-octave: improve MATLAB support

2024-12-28 Thread Ihor Radchenko
John C writes: > See attached org-matlab.patch which addresses all feedback. Here's the > commit info. Thanks! See my comments inline. > +*** ob-matlab: fixed MATLAB support > + > +Fixed MATLAB babel code blocks processing. MATLAB code blocks, ~#+begin_src > matlab~, with ~:results > +verbatim

Re: ob-octave: improve MATLAB support

2024-12-28 Thread John C
I accidentally did "reply" instead of "reply all". Re-adding the e-mail between Ihor and I. Regarding the suggestion to filter line-by-line. I think I understand that, but it will require that we match input lines to echo'd input. However, it's possible that output lines match input and are not fr

Re: ob-octave: improve MATLAB support

2024-11-23 Thread Ihor Radchenko
John C writes: > Thanks for the feedback. I incorporated some of your suggestions for > org-mode. I'll add the examples to https://git.sr.ht/~bzg/worg once > the changes become part of org-mode. Thanks for the update! > Regarding (defvar org-babel-default-header-args:matlab '((:session . > "*MA

Re: ob-octave: improve MATLAB support

2024-11-15 Thread John C
I received the FSF form to assign and will be sending that in soon. On Wed, Nov 13, 2024 at 2:10 PM John C wrote: > > Hi > > Thanks for the feedback. I incorporated some of your suggestions for > org-mode. I'll add the examples to https://git.sr.ht/~bzg/worg once > the changes become part of org-

Re: ob-octave: improve MATLAB support

2024-11-13 Thread John C
Hi Thanks for the feedback. I incorporated some of your suggestions for org-mode. I'll add the examples to https://git.sr.ht/~bzg/worg once the changes become part of org-mode. Regarding (defvar org-babel-default-header-args:matlab '((:session . "*MATLAB*")), this was done on purpose. We've been

Re: ob-octave: improve MATLAB support

2024-11-09 Thread Ihor Radchenko
John C writes: > Please see the attached patch which makes MATLAB work with org babel > eval. Here's the commit message: Thanks a lot for the patch! The patch introduces major changes. Would it be possible to add some tests as well? > Note, I have sent in the paper work for the FSF copyright

ob-octave: improve MATLAB support

2024-11-08 Thread John C
Hi Please see the attached patch which makes MATLAB work with org babel eval. Here's the commit message: ob-octave.el: improve MATLAB support * lisp/ob-octave.el (org-babel-octave-evaluate): Improve MATLAB support - Eliminated the code related to MATLAB Emacs Link. This capability was remo