My entire emacs setup is here
I loaded my init-theme.el file here
And supposedly that should make the darkclean theme available.
But when I type M-x load-theme TAB
the darkclean theme is not listed.
How can I register it for Emacs 24?
My entire emacs setup is here
I loaded my init-theme.el file here
And supposedly that should make the darkclean theme available.
But when I type M-x load-theme TAB
the darkclean theme is not listed.
How can I register it for Emacs 24?
I m new to emacs and wanted to add some custom themes and create my own as well.
first add this
then add any new theme to that folder. This first did not work and when i used load-theme the themes in ~/.emacs.d/thems where not loaded.
the documentation says:
so renaming darklean.el to darkclean-theme.el did the trick
init-themes has commented out the load path.
I have this
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
and i think it found all my themes withM-x load-theme
,enter
then hit tab to see all the themes.there was no search in the github for your repo, so i couldn't grep to see if you are doing it elsewhere. Also is your darkclean compatible with a 24 theme?
Edit: 1
actually i thought of another debug technique to rule out it being darkclean vs setup. put into your directory the solarized theme and if you don't see it in your load-theme you know it's you and not a theme, as solarized worked for me this way on emacs 24.
I don't enjoy it, and prefer wombat actually.
I think you need to set
custom-theme-directory
and then include the sha256 hash incustom-safe-themes
to remove the confirmation prompt everytime you load it. To insert the sha256 hash, you can use thecustomize
interface, as then it is calculated for you. To enable the theme, you will have to include it incustom-enabled-themes
.Below is an example from my setup:
To see my actual setup, take a look at the following links:
If you install themes via
elpa
/package.el
you'll notice that you need to add each theme folder into yourcustom-theme-load-path
- this is a bit of a pain to do manually, especially when you take into account upgrades will create a new folder, e.g. 0.1.0 -> 0.1.2 will be a new folder inside yourelpa
folder.Assuming you've installed your elpa packages into
~/.emacs.d/elpa/
add this script to your~/.emacs.d/init.el
You'll need
dash.el
ands.el
(available from elpa.)