Re[2]: minor nits
Hello, In addition to these two I've noticed that since 2.2.7beta6 I've also lost hte ability to define extra bits to highlight. Previously I'd used: (add-to-list 'java-font-lock-keywords-3 '("(HACK\\)" 1 font-lock-warning-face t)) Try the following: (add-to-list 'java-font-lock-keywords-4 '("(HACK\\)" 1 font-lock-warning-face t)) It works for me on XEmacs 21.1.13 with latest JDE 2.2.7 beta8. `java-font-lock-keywords-4' contains the extended font locking keywords setup by the JDE. Hope this helps. Sincerely, David __ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/
Re: ANN: JDE 2.2.7beta7 available at ...
"Paul" == Paul Kinnucan [EMAIL PROTECTED] writes: Paul At 10:31 AM 4/14/2001 -0700, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Kinnucan [EMAIL PROTECTED] writes: snip * If'ed out fontifying exception stack trace in run buffer when running in XEmacs. This is temporary until I can code an alternative to font-lock-add-keywords, which XEmacs does not support. snip Where did this code come from? Was this my jde-stack.el package? Paul It is basically Sam Steingold's version of Philip Lord's Paul original work combined with the fontification code in Paul jde-stack.el. In what file is it in? Yeah gods, what is this monster that I have created! I wonder how many different versions there are of jde-stack now? Phil
Re: ANN: JDE 2.2.7beta7 available at ...
At 01:03 PM 4/17/2001 +0100, Phillip Lord wrote: "Paul" == Paul Kinnucan [EMAIL PROTECTED] writes: Paul At 10:31 AM 4/14/2001 -0700, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Kinnucan [EMAIL PROTECTED] writes: snip * If'ed out fontifying exception stack trace in run buffer when running in XEmacs. This is temporary until I can code an alternative to font-lock-add-keywords, which XEmacs does not support. snip Where did this code come from? Was this my jde-stack.el package? Paul It is basically Sam Steingold's version of Philip Lord's Paul original work combined with the fontification code in Paul jde-stack.el. In what file is it in? Yeah gods, what is this monster that I have created! I wonder how many different versions there are of jde-stack now? Hi Phillip, As far as the JDE is concerned, there is no jde-stack.el. I have included your basic idea in the JDE run command as an exception tracing (etrace) facility. I changed the name to avoid confusion with the debugger stack navigation commands. Sam Steingold's contribution was to greatly simplify the code by using some existing Emacs functionality. Kevin Burton's contribution was font-locking the exception trace (for Emacs, anyway) produced by the vm when an exception occurs. I want to thank you all for developing this very useful enhancement to the JDE. - Paul
RE: Re[2]: minor nits
Yep, that did it. How come -3 doesn't work anymore? Are these now ignored? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 2:36 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re[2]: minor nits Hello, In addition to these two I've noticed that since 2.2.7beta6 I've also lost hte ability to define extra bits to highlight. Previously I'd used: (add-to-list 'java-font-lock-keywords-3 '("(HACK\\)" 1 font-lock-warning-face t)) Try the following: (add-to-list 'java-font-lock-keywords-4 '("(HACK\\)" 1 font-lock-warning-face t)) It works for me on XEmacs 21.1.13 with latest JDE 2.2.7 beta8. `java-font-lock-keywords-4' contains the extended font locking keywords setup by the JDE. Hope this helps. Sincerely, David __ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/
Re: RE: Re[2]: minor nits
Jon, Yep, that did it. How come -3 doesn't work anymore? Are these now ignored? No, java-font-lock-keywords-3 are included in java-font-lock-keywords-4 which is setup when the JDE is loaded. So if you add new keywords in java-font-lock-keywords-3 (I suppose in a jde-mode-hook) java-font-lock-keywords-4 is not modified and your new keywords are ignored! But I think if you add your new keywords before loading the JDE it should work. Also notice that jde-java-font-lock.el don't use java-font-lock-keywords-1 in both Emacs and XEmacs nor use java-font-lock-keywords-2 on Emacs. It provides its own enhanced keyword regexps. You can always use the default keywords provided by font-lock if you add the following to `jde-mode-hook' like this: (defun my-jde-mode-font-lock () ;; Use java-font-lock-keywords-3 (setq font-lock-maximum-decoration 3) (if (featurep 'xemacs) (font-lock-recompute-variables))) (add-hook 'jde-mode-hook #'my-jde-mode-font-lock t) Hope this helps. Sincerely, David __ Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/