Reputation: 73
I'm in love with emacs. I don't believe there is anything one can't do with enough effort!
I have just fine working scripts/extensions installed that could be relevant to get my point:
org-mode
(with a CAPTURE-TEMPLATE named "Journal")color-theme
(emacswiki)theme-changer
(github)color-theme-buffer-local
(github)emacs-version
: "GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-03-25 on roseapple, modified by Debian"
Whats already working fine When I'm starting a journal-entry trough my defined shortcut, what happens is the following:
What I want it to do additionally:
color-theme-retro-orange
My .emacs
with the code snippet I believe should be relevant.
I have no idea how to tackle this task. Where does one begin editing? Are even all tools needed for this listed above?
Upvotes: 2
Views: 1030
Reputation: 4804
Seen from scratch: you need a list with color-themes
(setq my-themes (list "color-theme-retro-orange" "second-theme" "third...))
than you need a pointer, storing position used last. See Emacs Lisp Intro chapter of kill-ring-save
When finished, bind that function at a suitable place, where-from your buffer is opened, resp. load it with the stuff mentioned by OP.
Or create a minor-mode, which will all new buffers provide with this.
Upvotes: 1