CEDET overrides color theme

In my .emacs file I:

(add-to-list 'load-path (expand-file-name "emacs/site/jde/lisp"))
(add-to-list 'load-path (expand-file-name "emacs/site/cedet/common"))
(add-to-list 'load-path (expand-file-name "emacs/site/cedet/semantic"))
(add-to-list 'load-path (expand-file-name "emacs/site/cedet/speedbar"))
(add-to-list 'load-path (expand-file-name "emacs/site/cedet/eieio"))
    (setq jde-check-version-flag nil)
(load-file (expand-file-name "emacs/site/cedet/common/cedet.el"))
(add-to-list 'load-path (expand-file-name "emacs/site/elib"))

(require 'jde)

(add-to-list 'load-path "~/elisp")
(add-to-list 'load-path "~/elisp/color-theme")
(require 'color-theme)
  (color-theme-initialize)
  (color-theme-clarity)

      

The top half starts JDEE and the second half gives me a color transparency theme. My problem is that when I use JDEE, the colors for the Java text revert to what they were before I applied the color theme. This is a problem because the default colors are terrible and I would like my color theme to apply no matter what. Is there a way to make color theme a priority for JDEE?

+3


source to share


1 answer


As I see in the JDEE sources, it uses native edges for Java source, not standard font locks. You need to configure the JDEE faces using the command M-x customize-group jde-java-font-lock-faces

... Another way to update them is to add code that will assign the default delimiter font values ​​to variables such as jde-java-font-lock-number-face

(the full list is in the file jde-java-font-lock.el

), although JDEE defines more faces than the blocking provides fonts.



PS One comment regarding CEDET download - if you are using cedet.el

CEDET to download then it will install load-path

accordingly so you don't need to update it manually.

+3


source







All Articles