[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BUG] org-reload reloads unnecessary files
From: |
Max Nikulin |
Subject: |
[BUG] org-reload reloads unnecessary files |
Date: |
Sat, 24 Jun 2023 18:16:34 +0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
Hi,
`org-reload' reloads obarray and oclosure libraries that are unrelated
to org-babel and org-cite. I believe, the function should not do it.
Frankly speaking, I miss a public function in Emacs similar to
`package--list-loaded-files' removed in
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9dfd945a2c2
: 9dfd945a2c2 2021-11-07 01:28:47 +0100 dickmao: Fix byte compilation of
package built-ins
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49708
but with it's bugs fixed. I suspect `org-reload' may have another issue
similar to the one that `package--list-loaded-files' had. If an .el.gz
is loaded for some reason instead of the corresponding .elc file than
`org-reload' may fail to detect it. I have not tried to test it though.
My impression is that writing such function is tricky, so single well
tested version should be an advantage. Unfortunately the closest
function in the current package.el requires a package description
instead of a directory.
The context of this bug report is
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62762#284
Re: bug#62762: 'make' often errors with "Org version mismatch" Fri, 23
Jun 2023 12:02:47 +0000
- [BUG] org-reload reloads unnecessary files,
Max Nikulin <=