Closed mbutz closed 11 years ago
Hi Martin -- how exactly are you loading Graphene, and how are you loading wombat-theme?
Graphene's theme is intended to work 'on top of' the primary loaded theme; the theme is applied after the init file is loaded, and whenever load-theme
is called.
After using the inbuild customize theme function, my init.el looks something like that:
(require 'package) (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("marmalade" . "http://marmalade-repo.org/packages/") ("melpa" . "http://melpa.milkbox.net/packages/"))) (package-initialize) (require 'graphene) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-enabled-themes (quote (graphene))) '(custom-safe-themes (quote ("7fcd79652979e434c7ba89da49e8649b9065537c3dbeafefb96d64e87c0fb928" default)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. )
This is the result of 3 choices in the customize-theme-buffer:
I do not know (have seen it for the first time), what the string ("7fcd...") means; I guessed it's a kind of ID to save the configuration, which combines 2 themes.
Which brings me to a more general question: How do I savely customize emacs, meaning how do I add my own emacs configuration on top of graphene (and in doubt overwrite graphene's settings)? Right now I used the emacs starter-kit, which provides a special file for customizations done by the user (as addtion to customizations made via the emacs inbuild customization options written to customize.el). By the way: I am using the starter-kit mainly because it provides config files as org-mode files. Nevertheless I am thinking of using graphene because the preferences seem to be very handy.
Thanks for your reply. Martin
OK, so first, you don't need to explicitly enable Graphene's theme -- Graphene will handle that for you, so you can remove the reference to it from your custom settings.
I'm not really very familiar with the customize interface; I'd just add (load-theme 'wombat)
somewhere after (require 'graphene)
.
In terms of your own customisations -- there's really not much you can do to harm Graphene! Just add what you want after (require 'graphene)
-- it's designed to be lightweight and tolerant. You're unlikely to break it.
Okay, thank you. I got to run now, But I will try out what you said later this day.
Thanks a lot Martin
Thanks Robert. Got it going.
Martin
Glad to hear it Martin. Hope you enjoy Graphene.
I used the /custom theme/ function to combine the graphene theme with the wombat-theme. The theme will be applied in the current session, I can also save it for future session, there will be an entry in the init.el but: the theme change will not be applied, instead only the graphene theme will be loaded.
Thanks Martin