Please disregard my last question. I figured out my problem:

I had a line like this: (to associate jde mode with a java file)
("\\.java$" . jde-mode)

It worked after I changed it to 
("\\.java$" . java-mode)

>  -----Original Message-----
> From:         Xibin Zeng  
> Sent: Monday, August 27, 2001 4:54 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      I lose my custom face with JDE 2.2.8, NT emacs 20.7
> 
> Hello,
> 
> I searched the archive and did not seem to find an answer. Although I
> suspect this might be an already asked question...
> 
> My custom faces work fine under jde-2.2.3 and semantic-1.2.1. Recently
> I upgraded to jde-2.2.8 (which requires semantic-1.4beta5 or later),
> and I would lose my custom font colors while viewing a java file. The
> colors are fine while viewing xml or C++ file. Any suggestions?
> 
> Here is the relevant portion of my .emacs file:
> 
> (setq load-path
>       (nconc
>        '(
>          "~/emacs/site"
>          "~/emacs/site/jde-2.2.8/lisp"
>          "~/emacs/site/speedbar-0.13a"
>          "~/emacs/site/semantic-1.4beta9"
>          "~/emacs/site/elib-1.0"
>          "~/emacs/site/eieio-0.16"
>        )
>        load-path))
> 
> (require 'jde)
> 
> (custom-set-faces
>  '(default ((t (:foreground "LightGray" :background
> "DarkSlateGray"))))
>  '(font-lock-comment-face ((t (:foreground "GreenYellow"))))
>  '(font-lock-string-face ((t (:foreground "DarkTurquoise"))))
>  '(jde-java-font-lock-modifier-face ((t (:foreground "SkyBlue"))))
>  '(font-lock-keyword-face ((t (:foreground "SkyBlue"))))
>  '(font-lock-constant-face ((t (:foreground "green yellow"))))
>  '(jde-java-font-lock-code-face ((t (:foreground "LightGray"
> :background "DarkSlateGray"))))
>  '(font-lock-type-face ((t (:foreground "White"))))
>  '(modeline ((t (:foreground "black" :background "lightsteelblue"))))
>  '(highlight ((t (:foreground "black" :background "Sienna"))))
>  '(font-lock-variable-name-face ((t (:foreground "Goldenrod"))))
>  '(font-lock-function-name-face ((t (:foreground "PaleGreen"))))
>  '(font-lock-builtin-face ((t (:foreground "Aquamarine")))))
> 
> _______________________________________________________
> Xibin Zeng
> Sr. Software Engineer                 Connexn Technologies
> (303)301-2519 - Voice                 10385 Westmoor Drive, Suite 205
> (303)301-2520 - Fax                   Westminster, CO  80021
> [EMAIL PROTECTED]                       (303)301-6200
> ________________________________________________________
> 

Reply via email to