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
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)
>> +
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
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
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
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
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
>
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