Configuring emacs in F18

Wilbert Isaac Cortés González w.isaac.cortes at gmail.com
Thu Apr 25 01:54:05 UTC 2013


Hey, hi, I was trying to customize the theme color of emacs itself and I
don't know why it doesn't work, I really mean it I don't have any idea of
what is wrong

My .emacs looked like in first place


;; .emacs
>
> (custom-set-variables
>  ;; uncomment to always end a file with a newline
>  '(require-final-newline t)
>  ;; uncomment to disable loading of "default.el" at startup
>  '(inhibit-default-init t)
>  ;; default to unified diffs
>  '(diff-switches "-u"))
>
> (add-to-list 'load-path "~/.emacs.d/")
>
> ;;; uncomment for CJK utf-8 support for non-Asian users
> ;; (require 'un-define)
>
>

then I add this to it to add a little of _good_ taste:


>
> (add-to-list 'load-path "~/.emacs.d/")
>


> (defun color-theme-nice ()
>   (interactive)
>   (color-theme-install
>    '(color-theme-nice
>       ((background-color . "#101e2e")
>       (background-mode . light)
>       (border-color . "#1a1a1a")
>       (cursor-color . "#fce94f")
>       (foreground-color . "#eeeeec")
>       (mouse-color . "black"))
>      (fringe ((t (:background "#1a1a1a"))))
>      (mode-line ((t (:foreground "#eeeeec" :background "#555753"))))
>      (region ((t (:background "#0d4519"))))
>      (font-lock-builtin-face ((t (:foreground "#729fcf"))))
>      (font-lock-comment-face ((t (:foreground "#888a85"))))
>      (font-lock-function-name-face ((t (:foreground "#edd400"))))
>      (font-lock-keyword-face ((t (:foreground "#729fcf"))))
>      (font-lock-string-face ((t (:foreground "#ad7fa8"))))
>      (font-lock-type-face ((t (:foreground"#8ae234"))))
>      (font-lock-constant-face ((t (:foreground "#eeeeec"))))
>      (font-lock-variable-name-face ((t (:foreground "#eeeeec"))))
>      (minibuffer-prompt ((t (:foreground "#729fcf" :bold t))))
>      (font-lock-warning-face ((t (:foreground "red" :bold t))))
>      )))
> (provide 'color-theme-nice)
>
> (require 'color-theme)
> (color-theme-initialize)
> (color-theme-nice)
>

But when I open emacs nothing happens the default theme is loaded with its
boring color scheme, I don't know whatever is its *real* init file. Some
help will be absolutely welcomed

        -Isaac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130424/cb6c819f/attachment.html>


More information about the users mailing list