Re: [BUG] org-babel-load-file can not compile file

2022-05-16 Thread Max Nikulin
On 14/05/2022 18:35, Ihor Radchenko wrote: Max Nikulin writes: Ihor, I am sorry for confusion, it still does not work for me. Likely I tried locally with `load-file' instead of `load'. The former additionally has `expand-file-name'. (Emacs-26.3) Should work now. Thank you, Ihor. I can

Re: [BUG] org-babel-load-file can not compile file

2022-05-14 Thread Ihor Radchenko
Max Nikulin writes: > On 13/05/2022 17:38, Ihor Radchenko wrote: >> Max Nikulin writes: >> > It seems, it is a regression caused by the Org commit > 0193b543e9ef84bfefe76d55e330d5b1cb842cef > >> - (byte-compile-file tangled-file 'load) >> +

Re: [BUG] org-babel-load-file can not compile file

2022-05-14 Thread Max Nikulin
On 13/05/2022 17:38, Ihor Radchenko wrote: Max Nikulin writes: It seems, it is a regression caused by the Org commit 0193b543e9ef84bfefe76d55e330d5b1cb842cef - (byte-compile-file tangled-file 'load) + (byte-compile-file tangled-file) + (load tangled-file) What if

Re: [BUG] org-babel-load-file can not compile file

2022-05-13 Thread Ihor Radchenko
Max Nikulin writes: >>> It seems, it is a regression caused by the Org commit >>> 0193b543e9ef84bfefe76d55e330d5b1cb842cef >>> -(byte-compile-file tangled-file 'load) +(byte-compile-file tangled-file) +(load tangled-file) >> >> >> What if you substitute the load call

Re: [BUG] org-babel-load-file can not compile file

2022-05-13 Thread Ihor Radchenko
Max Nikulin writes: >> What if you substitute the load call with >> (load (byte-compile-dest-file tangled-file))? > > I do not mind (of course if there is no plan to deprecate the function). > > In addition, from my point of view, `byte-recompile-file' with 0 as the > FORCE argument is more

Re: [BUG] org-babel-load-file can not compile file

2022-05-12 Thread Max Nikulin
On 11/05/2022 19:41, Ihor Radchenko wrote: Max Nikulin writes: Actual result: Compiling /home/ubuntu/examples/org/ex-ob-load-file.el...done Wrote /home/ubuntu/examples/org/ex-ob-load-file.elc progn: Cannot open load file: No such file or directory, ex-ob-load-file.el It seems, it is a

Re: [BUG] org-babel-load-file can not compile file

2022-05-11 Thread Ihor Radchenko
Max Nikulin writes: > Actual result: >> Compiling /home/ubuntu/examples/org/ex-ob-load-file.el...done >> Wrote /home/ubuntu/examples/org/ex-ob-load-file.elc >> progn: Cannot open load file: No such file or directory, ex-ob-load-file.el > > It seems, it is a regression caused by the Org commit >

[BUG] org-babel-load-file can not compile file

2022-05-10 Thread Max Nikulin
Consider the following file ex-ob-load-file.org: >8 #+begin_src emacs-lisp (defun ex-org-babel-load-file (msg) (message "From tagled file: %s" msg)) #+end_src [[elisp:(org-babel-load-file "ex-ob-load-file.org" t)]] 8< Try to follow the link at the end of file or just