-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the most proper way to add org modules? #12003
Comments
|
Modules have to be extended, not in prescriptive manner like you suggesting using |
I did: require 'org
(nconc org-modules
'(
org-capture
org-habit
org-id
org-protocol
org-brain
)) It is one invocation and code easily readable/modefiable. But I want to know is I am doing the completely right thing regarding Spacemacs |
|
This is what I'm using in a private layer: # packages.el
(with-eval-after-load 'org
(add-to-list 'org-modules 'org-habit t)) |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
|
Basically I got sure that Org packages just need to be loaded, there is no need to declare them as modules explicitly. |
Description
Spacemacs has a specially crafted structure for Org-mode.
I want to clarify a question to solve for me and others in a doc/PR about this.
Officially by
org-mode- additional (especially official) extensions toorg-moderecommended to be installed by extending theorg-moduleslist.I asked a question on Gitter, and recieved some responses, as also found my own, but nothing really solid.
I what to clarify what is the most proper way to add official org modules to extend
org-modefrom theorglayer.Also good to have some input to maybe open other issue/PR. Default
org-moduleslist has many modules enabled by default:And most of them probably not used by many if not majority people that use Spacemacs. Browsers AFAIK in Spacemacs not in great shape.
Probably it can be right to allow people to populate
org-modulesfrom the ground-up.Reproduction guide 🪲
Wonder what is the proper way to add
org-habitto extendorglayer.Observed behaviour: 👀 💔
Declare installation of
org-habitafter the initialization oforglayer.Expected behaviour: ❤️ 😄
Something beautiful. Like:
System Info 💻
The text was updated successfully, but these errors were encountered: