all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Pierre Bogossian" <bogossian@mail.com>
To: help-gnu-emacs@gnu.org
Subject: Help me fix my .emacs for 24.3
Date: Wed, 20 Mar 2013 10:00:48 -0400	[thread overview]
Message-ID: <20130320140049.151820@gmx.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

Hi guys,

you'll find below the code I have in my .emacs file to set up custom colors.
It doesn't seem to work anymore since I've upgraded to emacs 24.3.1 (Windows build).
The colors I now see are not the ones I want, I guess the default colors are used (for example, strings appear in a kind of dark purple while I want dark green).
Could anyone tell me what to do to fix my .emacs ?

Pierre


(cond ((fboundp 'global-font-lock-mode)
 ;; Customize face attributes
 (setq font-lock-face-attributes
 (list
 '(font-lock-comment-face "Brown")
 '(font-lock-string-face "DarkGreen")
 '(font-lock-keyword-face "Blue")
 '(font-lock-builtin-face "DarkOrange2")
 '(font-lock-function-name-face "Purple2")
 (list 'font-lock-variable-name-face (cdr (assoc 'foreground-color (frame-parameters))))
 '(font-lock-type-face "Red2")
 '(font-lock-constant-face "DarkBlue")
 '(font-lock-warning-face "OrangeRed")
 ))
 ;; Load the font-lock package
 (require 'font-lock)
 ;; Maximum colors
 (setq font-lock-maximum-decoration t)
 ;; Turn on font-lock in all modes that support it
 (global-font-lock-mode t)
))

[-- Attachment #2: Type: text/html, Size: 2674 bytes --]

             reply	other threads:[~2013-03-20 14:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-20 14:00 Pierre Bogossian [this message]
2013-03-20 19:34 ` Help me fix my .emacs for 24.3 Peter Dyballa
     [not found] <mailman.22543.1363798366.855.help-gnu-emacs@gnu.org>
2013-03-21 13:16 ` Jason Rumney
  -- strict thread matches above, loose matches on Subject: below --
2013-03-21 22:40 Pierre Bogossian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130320140049.151820@gmx.com \
    --to=bogossian@mail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.