Re: Emac 21

2001-10-22 Thread David Ponce
Hello, > > Also, please note that tooltips and the toolbar features of Emacs > > 21 were not available on the latest alpha release of the Windows > > version of Emacs 21, which I have. I do not intend to create any > > JDE features that depend on Emacs 21 features that are not > > available on Wi

Re: disabling method highlighting in new JDE

2001-11-01 Thread David Ponce
Hi, [...] > This is done if you set > (setq semantic-load-turn-everything-on t). > > This call turns on semantic-show-dirty-mode. > > Just do (semantic-show-dirty-mode -1) and this feature > will disappear. I have already mailed Eric that IMHO this feature should > be disabled per default! [...

RE: Class contents are empty in Speedbar

2001-11-14 Thread David Ponce
Hello, Oops! you're right. There is a little bug in semantic-sb.el in Semantic 1.4 beta 12. The following patch should fix that :-) *** semantic-sb.el.ori Wed Oct 31 21:38:00 2001 --- semantic-sb.el Wed Nov 14 17:35:10 2001 *** *** 332,338 (not semantic-t

Re: Problem with indent-new-comment-line

2001-09-27 Thread David Ponce
Hi all, [...] > I've experienced this problem as well. A quick grep of my *.el files yields > the following: > > ./semantic-1.4beta8/semantic-java.el:(set (make-local-variable > 'block-comment-end) "\\s-*\\*/") > > This is in the function semantic-default-java-setup and is preceded by the

FW:[cedet-semantic] Semantic 1.4 beta 13

2001-12-17 Thread David Ponce
Hi All, Here is Eric Ludlam's announce of Semantic 1.4 beta 13 :-) Enjoy, David -- Début du message initial --- De : [EMAIL PROTECTED] A : [EMAIL PROTECTED] Copies : Date : Mon, 17 Dec 2001 22:14:27 -0500 Objet : [cedet-semantic] Semantic 1.4 beta 13 Howdy, I've

RE: A func to insert Timer code?

2002-01-24 Thread David Ponce
Hi, > Excellent point. When I call beginning-of-defun interactively it > works great, but when I call it from a program it goes to the > beginning of the file. Is there some trick to getting the "java" > version of beginning-of-defun? > Also, I tried to call mark-defun indent-region after

Re : RE: JDE config problem?

2002-02-08 Thread David Ponce
Hi Paul, [...] > This is a FAQ. You have incorrectly compiled your files. Remove all > compiled files for JDE, eieio, and semantic and run uncompiled. Or > if you insist on running compiled (really makes no difference in > performance), go back and search the JDE mailing list archive for >

Re: Java -> elisp communication (was RE: BanInfo wizard anyone?)

2002-12-10 Thread David PONCE
Hi! Nick Sieger wrote: [...] > Maybe once the next generation of semantic is available we'll be able > to do the entire refactoring engine in elisp, but until then, I think > letting Java drive the control flow is OK as long as it can query > Emacs for file/buffer info and let Emacs do the textual

ANNOUNCE: Semantic 1.4.2 is released!

2003-01-01 Thread David Ponce
Hi All, Semantic 1.4.2 is released! Happy new year 2003! David * What's new This release adds namespaces support to the C/C++ grammar, improves docstrings, and fixes bugs found since 1.4.1. See the Change Log at end for details. * Requirements Semantic works with Emacs 20.x, 21, XEmac

Re: [NEWBIE] Auto complete Woes OS X

2003-03-14 Thread David PONCE
Hi David, [...] > Whenever I user C-c C-v C-. The drag down menu appears, but when I hit > Enter nothing happens and I recieve an imenu internal bug message. > > Message: > Semantic Imenu override problem. (Internal bug) [2 times] [...] In Emacs 21.3.50, imenu implementation has changed. As J

Re: syntax highlighting problems when writing import statements

2004-02-25 Thread David PONCE
ered--Lisp error: (wrong-type-argument integerp nil) [...] I reproduced the bug. Here is a patch that should fix it. Perhaps a JDEE developer can commit it? Sincerely, David 2004-02-25 David Ponce <[EMAIL PROTECTED]> * jde-java-font-lock.el (jde-java-font-lock-keywords-default):

Re: Removing JavaDoc comments

2004-03-24 Thread David Ponce
Paul Landes wrote: Is there something that will remove JavaDoc code? I've looked but could only find `jde-javadoc-delete-documentation', which doesn't seem to do what I need. For instance, I want: /** * Return name. */ public String getName() { // perhaps comments here return na

Re: Roadmap for Java 1.5 support ?

2004-04-05 Thread David PONCE
Hi, [...] >> AFAIK David (Ponce) has checked in a new wisent java-grammar which >> has full(!) Java 1.5 support - i do not know if this is contained >> in the released beta2 - It is :-) This grammar (still experimental) should fully parse Java 1.5 code. To use it in plac

Small XEmacs compatibility fix

2004-05-14 Thread David PONCE
Hi Paul, Here is a small patch for jde.el that fix a compatibility problem on XEmacs that misses the function `match-string-no-properties' used in jde-parse.el and jde-sregex.el. Sincerely, David 2004-05-14 David Ponce <[EMAIL PROTECTED]> * jde.el (custom-set-def

Re: Avoid JDEE to shadow standard libraries

2004-05-03 Thread David Ponce
Jason Rumney wrote: David PONCE <[EMAIL PROTECTED]> writes: + (condition-case nil + ;; If the library if available, use it. + (require feature) + (error + ;; Try to use the one from the JDEE's distribution. + (require feature (format "jde-%s" feat

Re: Beta doesn't work with XEmacs

2004-04-26 Thread David Ponce
Hi, Following is the quite old version 1.3 of sregex.el I use with XEmacs. I didn't tested it thoroughly but, at least, I can run the latest JDEE with XEmacs :-) Hope it will help. David ;;; sregex.el --- symbolic regular expressions ;; Copyright 1997, 1998 by Bob Glickstein

Re: Question/Bug to 'jde-detect-java-buffer-activation

2004-06-02 Thread David PONCE
Hi Paul, [...] > > >> ;; to a buffer belonging to another. > > >> (make-local-hook 'post-command-hook) > > > > >Hmm, I don't think I need the above form because the add-hook form below > > >makes the variable local anyway. > > > > Indeed. > > I have removed the redundant

Re: "header line" bugs and artifacts

2005-04-28 Thread David Ponce
Hi Jens, [...] The header line is most problematic in my case (and maybe others) as I use the very cool tabbar.el by David Ponce (which is unexplainable to me still not part of standard emacs...) - So putting something there exclusively doesn't work for me. [...] FYI, you can use tabbar-local

Re: jde 1.5 javadoc autocode

2005-08-11 Thread David Ponce
Hi, /** * Creates a new SClassDecl instance. * * @param sClass a SClass value * @param name a String value * @param distr a ProbDistr value */ public SClassDecl(Set modifiers, SClass sClass, String name, ProbDistr distr) { missing the fi

Re: Re[2]: semantic > 1.2.1 destroys syntax highlights

2001-02-12 Thread David Ponce
Hello Eric, I got an error when I tried your patch (the new semantic-make-overlay alias is missing some make-overlay arguments and overlay-put does not return the overlay but the property value). I submit you the attached patch to semantic.el (1.3.2) which solved the overlay problem on my NT Ema

Re: Re: Re[2]: semantic > 1.2.1 destroys syntax highlights

2001-02-12 Thread David Ponce
Paul, Attached you will find another patch to semantic-util.el (I just copied new [not yet released] Semantic implementation of token highlighting functions). This patch fixes the overlay problem which goes back when using `semantic-momentary-highlight-token'. I hope Semantic overlays will work

Re[2]: minor nits

2001-04-17 Thread David Ponce
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-

Re: RE: Re[2]: minor nits

2001-04-17 Thread David Ponce
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-l

Re: jde

2001-04-18 Thread David Ponce
Hello Sonu, > David, I have been searching the internet looking for one specific > cuztomization, and I am unable to find it. I was wondering if you > could help me out? When I create a new .java file, I would like for > jde-gen-class to run automatically, how do I add this to my .emacs > file?

Re: jde-import-find-and-import puts imports in wrong place

2001-05-09 Thread David Ponce
Hello all, To find package and import statements using Semantic the following should work: (car (semantic-find-nonterminal-by-type 'package (current-buffer))) to retrieve the package token (or nil if not found) then use `semantic-token-name' to get the package name. (semantic-find-nonterminal-b

Re: Invalid slot name: "#", field

2001-05-14 Thread David Ponce
Hello, Maybe are you using EIEIO 0.17b1? If so, there is a bug in slot type checking in eieio.el. Eric Ludlam has fixed it in latest CVS version of eieio.el. Attached you will find the fixed version. Notice also that EIEIO 0.15 is the recommended version to use with JDE (EIEIO 0.16 should w

RE: Problem getting the methods directory to update

2001-06-12 Thread David Ponce
Hello Jeff, >Well, I think I found it, although I don't quite understand what's >going on. The following code: > > (defun my-java-hook () > "My local settings for Java" > (c-set-style "java") > (c-set-offset 'substatement-open 0) > ) >(setq java-mode-hook 'my-java-hook) > >appeared to disab

Re: Java font-lock

2001-06-25 Thread David Ponce
Hello, > I'm trying to turn JDE font locking off and use the default > font-locking that comes with Emacs. [...] > That didn't seem to work. I get the following message: > jde-java-font-lock: building names cache...empty > Am I doing this correctly? If not, is there another way to do it > besid

Re: Java font-lock

2001-07-02 Thread David Ponce
andard `java-mode'. Also you must comment out the following unneeded lines in `jde-mode-internal' (in jde.el): ;; Run via a `java-mode-hook' (see jde-java-font-lock.el). ;; (if jde-use-font-lock ;;(jde-setup-syntax-coloring)) Thank you for your advice. Sincerely, Davi

Re: ANN: JDEE-2.2.8beta5 available at ...

2001-08-08 Thread David Ponce
Hello Paul, The latest beta5 does not work with EIEIO 0.17beta2 :-( The problem is that in jde-widget.el the jde-option-dialog defclass is missing the :documentation tag in declaration of the ok-action-args field. The attached very simple patch fixed the problem and now the beta5 works well wit

ANN: Semantic 1.4beta9

2001-08-13 Thread David Ponce
Hi all, Semantic 1.4beta9 is available at . This version fixes the problem with javadoc tags which conflicted with Java language elements. Sincerely, David __ Faites un vœu et puis Voila ! www.v

Re:Problems updating to JDE 2.2.8/ECB1.50

2001-09-25 Thread David Ponce
eieio 0.16 > > > > * speedbar 0.13a > > > > With semantic 1.4beta10 it doesn't work at all (when activating > > senator mode it sais, that the buffer hasn't been setup for parsing). > > I believe recent changes in semantic 1.4beta10 break jde > 2.