Re: Specifying the execution function and/or nested major mode for babel blocks

2020-04-27 Thread Kyle Meyer
Vladimir Nikishkin writes: >>> (add-to-list 'org-src-lang-modes '("f90" . fortran)) > > Language alignment is fine. What needs to be done is to make org-babel > use org-babel-execute:fortran for both begin_src fortran, and for > begin_src f90. Yeah, my suggestion doesn't make sense given you

Re: Specifying the execution function and/or nested major mode for babel blocks

2020-04-26 Thread Vladimir Nikishkin
>> (add-to-list 'org-src-lang-modes '("f90" . fortran)) Language alignment is fine. What needs to be done is to make org-babel use org-babel-execute:fortran for both begin_src fortran, and for begin_src f90. пн, 27 апр. 2020 г. в 12:12, Kyle Meyer : > > Vladimir Nikishkin writes: > > > This is

Re: Specifying the execution function and/or nested major mode for babel blocks

2020-04-26 Thread Kyle Meyer
Vladimir Nikishkin writes: > This is fine most of the time, however, there are exceptions. > The one I am interested in is fortran/f90. There are separate > fortran-mode and f90-mode, however, afaiu, just a single > ob-fortran.el, which works fine with both of those. In that case, you'd just

Specifying the execution function and/or nested major mode for babel blocks

2020-04-26 Thread Vladimir Nikishkin
Hello, everyone. In org.el we have the following: (require (intern (concat "ob-" lang))) This is fine most of the time, however, there are exceptions. The one I am interested in is fortran/f90. There are separate fortran-mode and f90-mode, however, afaiu, just a single ob-fortran.el, which works