Redesign structure of org-roam-bibtex package #58
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A continuation of thoughts expressed in #13
orb-core.el
as a central dependency point. It requiresorg-roam
andbibtex-completion
. It is supposed to be required by user interface libraries. It containsdefgroup
definitions and general utility functions that depend onorg-roam
,bibtex-completion
and other packages not included in Emacs. It itself does not require any user interface libraries but may require utility libraries.orb-utils.el
- general purpose utilities that do not depend on extra packages, only built-in Emacs libraries (an exception can be made for general purpose extra libraries such asdash
,f
,s
). If a function requires anything fromorg-roam
,bibtex-comletion
or other specialized libraries, it should go intoorb-core.el
or a specialized utility library.orb-core
,orb-utils
and perhaps on other user interface libraries. However, if such a library depends on another user interface library, then that code should probably be refactored intoorb-core
ororb-utils
or yet another utility library.