Nicolas Tondre <[EMAIL PROTECTED]> wrote: > > I'm using jde 2.2.8 and I noticed that jde-complete-at-point doesn't > complete methods for variable names that start with the '$' > character.
Well I have to admit, I am surprised, but '$' is a valid "letter" for a variable name, as per the Java Lang Spec 6.1.4 [I have never looked it up before, but since '$' is used in the naming of compiled anonymous inner classes I just assumed it was a reserved symbol]. > > (setq curcar (char-before)) > (while (or (and (>= curcar ?a) (<= curcar ?z)) > (and (>= curcar ?A) (<= curcar ?Z)) > (and (>= curcar ?0) (<= curcar ?9)) > added line: ---> (and (eq curcar ?$)) That line should probably just be: (eq curcar ?$) as the second argument to (and) is empty. greg_fenton. ===== Greg Fenton [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com