johanwk / elot

Emacs Literate Ontology Tool
GNU General Public License v3.0
7 stars 3 forks source link

refactor elot-lob to an elisp module #2

Closed VladimirAlexiev closed 6 months ago

VladimirAlexiev commented 7 months ago

elot-lob has a lot of elisp code. That is better represented as an elisp module, not as org embeddings.

johanwk commented 7 months ago

I fully agree. I'm thinking that as a start, the functions/definitions in section "elisp functions" could easily be separated out.

Still, it makes sense to have an org-mode document an tangle the elisp to a module, so that it's easy to make comments on the code. I'm not sure whether this should be in a separate org file.

As for the section "org source blocks", it's a little different. Certainly everything could be made into elisp code, but I think there's a lot of convenience/flexibility to be had from making use of org-babel. So my thinking is to not start refactoring right away.

johanwk commented 6 months ago

As a small start, the elisp code except org-babel blocks is now in elot.el, 5161ba9

johanwk commented 6 months ago

as a start, the subdirectory elot-package now has the elisp separated from the org-lob.