Click to See Complete Forum and Search --> : XEmacs & Java


jask
09-18-2001, 06:09 PM
How do I set the java keyword colors for JDE?

jask
09-19-2001, 06:49 PM
Does anyone even know what XEmacs is?

error27
09-20-2001, 03:31 AM
does this link help?
http://www.mail-archive.com/jde%40sunsite.auc.dk/msg04347.html

save the config as jde-java-font.el

add this to your ~/.emacs file
(load-library "jde-java-font")

jask
09-20-2001, 06:33 PM
thanks, I'll give it a try

jask
09-20-2001, 10:18 PM
Here's the error I got:


(1) (initialization/error) An error has occurred while loading ~/.emacs:

Symbol's value as variable is void: jde-xemacsp

To ensure normal operation, you should investigate the cause of the error
in your initialization file and remove it. Use the `-debug-init' option
to XEmacs to view a complete error backtrace.


#####

with -debug-init:


Signaling: (void-variable jde-xemacsp)
(if jde-xemacsp (progn (defvar font-lock-builtin-face ... "Face name to use for builtins.") (defface font-lock-builtin-face ... "Font Lock mode face used to highlight builtins." :group ...) (defvar font-lock-constant-face ... "Face name to use for constant and label names.") (defface font-lock-constant-face ... "Font Lock mode face used to highlight constants and labels." :group ...)))
)
load-internal("jde-java-font" nil nil nil undecided)
load("jde-java-font")
load-library("jde-java-font")
load-internal("~/.emacs" t t t undecided)
load("~/.emacs" t t t)
load-user-init-file("")
load-init-file()
command-line()
normal-top-level()

wreckd
09-20-2001, 10:28 PM
usually you can get colorization using "M-x global-font-lock-mode"...works for c anyway.

i've had trouble in the past using .emacs before...don't know why. you might check to make sure that file you saved has unix style returns instead of dos...i think you can use tr to fix that (cl/rf problem).

klamath
09-21-2001, 12:04 AM
At the time you're loading this font-lock lib, have you already loaded JDE? It seems like it's testing that JDE is loaded and it's not finding it (but that's based on my knowledge of LISP, I don't use Emacs, so it's just a guess).

Does anyone even know what XEmacs is?

What's that supposed to mean?

jask
09-21-2001, 08:55 PM
Originally posted by klamath:
<STRONG> What's that supposed to mean?</STRONG>

24 hours 40 minute, 0 responses

MandK_10
09-21-2001, 09:50 PM
This is not totally unusual. I know what XEmacs is but I do no use it often enough to know the answer to your post. It can sometimes be a while before somebody who knows the answer finds the question.

What I do know is that sometimes sarcasm will cause some people to not answer who may know what you need. Not to be a jerk, just telling it like I see it. Some of the most knowledgeable people around here can get a little funny about protocol.

[ 21 September 2001: Message edited by: MandK_10 ]

jask
09-22-2001, 12:01 AM
It seemed like an easy question and I figured there were lots of people who use XEmacs, so I was expecting more of a response than nothing.