Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Best practices for overriding settings in doom modules #88
Comments
|
I have been meaning to ask this question in an issue but haven't gotten around to it. In my case I was looking to change the font by setting Also I want to thank you for sharing this emacs config. It's really easy to understand and learn from! |
|
I've been maintaining my own fork that you can probably use as an example of how not to do it ;) https://github.com/gilbertw1/bmacs I normally make module specific changes directly in the modules themselves with a comment like I generally try to stay as hands off as possible with the core files and try to limit core changes to the config in my |
|
Thanks @gilbertw1 for your explanation. I actually started my config by mostly copying your setup a few weeks back. I was aiming to have my own private module and not customize anything outside of it but after a few weeks I realize that might not be possible or practical. |
That's what I'm striving for. That you're unable to do so entirely is an oversight I'll soon correct, especially |
|
I'm considering combining 2 and 3 into the following changes:
Any thoughts on/objections to this? |
|
No objections here. Regarding 1, I think that I'll probably end up forcibly changing the Regarding 2, I think this is a very beneficial change. This will make it pretty easy to move several of my smaller package customizations into a private module. Thanks! |
cthachuk
commented
Jun 5, 2017
|
This seems like a great solution, thanks! |
hlissner
added a commit
that referenced
this issue
Jun 5, 2017
|
And done! In summary:
I think that covers everything. Let me know if I've missed something! |
hlissner
closed this
Jun 5, 2017
|
Holy cow My merges about to get much simpler! |
gilbertw1
added a commit
to gilbertw1/bmacs
that referenced
this issue
Jun 5, 2017
keoko
pushed a commit
to keoko/.emacs.d
that referenced
this issue
Jun 9, 2017
|
Just a small issue here, if there is a packages.el file in the private module as specified by the username, then "make install", doesn't recognize the packages to be installed. It will only get recognized when we explicitly specify the private module name in the init.el |
|
Oops! You're right. Consider that... |
hlissner
reopened this
Jun 10, 2017
hlissner
closed this
in
688aef1
Jun 10, 2017
|
...fixed! |
|
Woah, that was fast. I just have to say that you have made it very easy for other people to override anything they want. You are doing good work. Your config improves days by day, thanks man! |
cthachuk commentedMay 30, 2017
@hlissner First, thanks for sharing a wonderful emacs config and welcome alternative to spacemacs.
Do you suggest a best practice for overriding settings in the modules that ship with doom? For example, a user customizing the
+org-dirvariable. Some possibilities I could think of but am unsure of all of the side effects:Thanks in advance for your thoughts on this.