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
Oh by the way the output of emacs when it opens:
Loading /usr/share/emacs/site-lisp/site-start.d/agda-mode-init.el
(source)... Loading agda2...done Loading /usr/share/emacs/site-lisp/site-start.d/agda-mode-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/anthy-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/asy-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/auctex.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/auto-complete-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/bbdb-mode-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/bigloo.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/cdargs-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/ddskk-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/dinotrace-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/ebib-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/ecb.el (source)... ECB 2.40 uses CEDET 1.0 (contains semantic 2.0, eieio 1.3, speedbar <unknown version>). Loading /usr/share/emacs/site-lisp/site-start.d/ecb.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/emacs-color-theme-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/emacs-goodies-loaddefs.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/emacs-magit-mode.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/emacs-rinari-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/erlang-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/ess-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/gambit-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/gcl.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/git-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/gnuplot-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/gnus-bonus-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/gtypist-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/haskell-mode-init.el (source)... Loading haskell-site-file...done Loading /usr/share/emacs/site-lisp/site-start.d/haskell-mode-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/htmlize-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/hyperspec.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/ibus-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/identica-mode-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/irsim-mode-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/lfe-start.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/lookup-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/lua-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/maxima-modes.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/mercurial-site-start.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/mew-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/mozc-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/muse-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/nesc-mode-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/pg-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/preview-latex.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/puppet-mode-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/pure-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/pymacs-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/pyrex-mode-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/riece-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/rpmdev-init.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/slime-autoloads.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/slime.el (source)...done Loading /usr/share/emacs/site-lisp/site-start.d/smalltalk-mode-init... load: Symbol's value as variable is void: inhibit-first-line-modes-regexps
(I know there are a lot of emacs' plugins but I just installed it with a '*' after emacs, I'm a little bit lazy)
On 24 April 2013 19:54, Wilbert Isaac Cortés González < w.isaac.cortes@gmail.com> wrote:
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
On Wed, Apr 24, 2013 at 07:54:05PM -0600, Wilbert Isaac Cortés González wrote:
Hey, hi, I was trying to customize the theme color of emacs itself and I
[...chomp...chomp...chomp...]
(defun color-theme-nice () (interactive) (color-theme-install '(color-theme-nice
[...chomp...chomp...chomp...]
)))(provide 'color-theme-nice)
(require 'color-theme) (color-theme-initialize) (color-theme-nice)
Two issues: 1. (require 'color-theme) should go before (defun color-theme-nice() ..)
2. As far as I know F18 ships Emacs 24.2. In that case the color-theme package is deprecated, and will not work anyway. You have to switch to the built in custom-theme interface.
Hope this helps,
The question is even beyond of the color customization, because in the echo area doesn't appear a message showing if it reads the .emacs file or even the, it just reads from the "site-lisp" directory/folder/whatever, so any way I re-formulate the question: With that information showed int echo area who doesn't show a line like "loading functions in .emacs..." or sort of, what do you suggest to I do to solve this issue?
On 25 April 2013 00:00, Suvayu Ali fatkasuvayu+linux@gmail.com wrote:
On Wed, Apr 24, 2013 at 07:54:05PM -0600, Wilbert Isaac Cortés González wrote:
Hey, hi, I was trying to customize the theme color of emacs itself and I
[...chomp...chomp...chomp...]
(defun color-theme-nice () (interactive) (color-theme-install '(color-theme-nice
[...chomp...chomp...chomp...]
)))(provide 'color-theme-nice)
(require 'color-theme) (color-theme-initialize) (color-theme-nice)
Two issues:
(require 'color-theme) should go before (defun color-theme-nice() ..)
As far as I know F18 ships Emacs 24.2. In that case the color-theme package is deprecated, and will not work anyway. You have to switch to the built in custom-theme interface.
Hope this helps,
-- Suvayu
Open source is the future. It sets us free.
users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On Thu, Apr 25, 2013 at 11:23:02AM -0600, Wilbert Isaac Cortés González wrote:
The question is even beyond of the color customization, because in the echo area doesn't appear a message showing if it reads the .emacs file or even the, it just reads from the "site-lisp" directory/folder/whatever, so any way I re-formulate the question: With that information showed int echo area who doesn't show a line like "loading functions in .emacs..." or sort of, what do you suggest to I do to solve this issue?
This is not an issue because emacs does not write a message for ~/.emacs or ~/.emacs.d/init.el. They are "special" in this regard.
Hope this helps,
So what I do?, I don't "feel" the changes, I mean I had to do an .el file in site-lisp directory and make the changes directly in it; I think it is not the best way to do it; but it's the only way I figured out, I read the emacs manual and everything, but the customization should be in .emacs, and the file is not being read in first place.
Anyway I'll try it, again; then I'll report any eventual issue.
On 25 April 2013 11:47, Suvayu Ali fatkasuvayu+linux@gmail.com wrote:
On Thu, Apr 25, 2013 at 11:23:02AM -0600, Wilbert Isaac Cortés González wrote:
The question is even beyond of the color customization, because in the
echo
area doesn't appear a message showing if it reads the .emacs file or
even
the, it just reads from the "site-lisp" directory/folder/whatever, so any way I re-formulate the question: With that information showed int echo
area
who doesn't show a line like "loading functions in .emacs..." or sort
of,
what do you suggest to I do to solve this issue?
This is not an issue because emacs does not write a message for ~/.emacs or ~/.emacs.d/init.el. They are "special" in this regard.
Hope this helps,
-- Suvayu
Open source is the future. It sets us free.
users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
You know what? Something weird has happen, now it's read my .emacs file... nevermind.
Thanks for the help!
-Isaac
On 25 April 2013 15:37, Wilbert Isaac Cortés González < w.isaac.cortes@gmail.com> wrote:
So what I do?, I don't "feel" the changes, I mean I had to do an .el file in site-lisp directory and make the changes directly in it; I think it is not the best way to do it; but it's the only way I figured out, I read the emacs manual and everything, but the customization should be in .emacs, and the file is not being read in first place.
Anyway I'll try it, again; then I'll report any eventual issue.
On 25 April 2013 11:47, Suvayu Ali fatkasuvayu+linux@gmail.com wrote:
On Thu, Apr 25, 2013 at 11:23:02AM -0600, Wilbert Isaac Cortés González wrote:
The question is even beyond of the color customization, because in the
echo
area doesn't appear a message showing if it reads the .emacs file or
even
the, it just reads from the "site-lisp" directory/folder/whatever, so
any
way I re-formulate the question: With that information showed int echo
area
who doesn't show a line like "loading functions in .emacs..." or sort
of,
what do you suggest to I do to solve this issue?
This is not an issue because emacs does not write a message for ~/.emacs or ~/.emacs.d/init.el. They are "special" in this regard.
Hope this helps,
-- Suvayu
Open source is the future. It sets us free.
users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org