emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Max Nikulin
Subject: Re: [BUG] org-babel-load-file can not compile file
Date: Sat, 14 May 2022 17:36:26 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

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

Fixed on bugfix via 4fe59b688

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)

As to another patch

Date: Fri, 13 May 2022 18:21:36 +0800
Subject: [PATCH] org-babel-load-file: Do not rely on `org-babel-tangle-file' making changes

The following thread should be more suitable for discussion

Greg Minshall to emacs-orgmode. tangle option to not write a file with same contents? Thu, 28 Oct 2021 07:04:58 +0300. https://list.orgmode.org/583051.1635393898@apollo2.minshall.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]