Re: How to Customize Indentation?
This a great advice I think , I recently started an open source project and we had to deal with tabs problems during the first 2 weeks of the project. remove tabs ! Steff Le Jeudi 28 Février 2002 04:04, Petter Måhlén a écrit : > It sounds as if you're trying to change the way that Emacs presents the > code without actually changing it. If so, you could try customising > tab-width. Otherwise, I like to do 'untabify' to only use spaces throughout > the code, that saves a lot of problems I think. > > / Petter > > > -Original Message- > > From: Jonathan Meeks [mailto:[EMAIL PROTECTED]] > > Sent: den 28 februari 2002 05:01 > > To: [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED] > > Subject: Re: How to Customize Indentation? > > > > > > > > Someone posted a customization to cc-mode, which jdee uses. It was > > about two weeks ago (there's an archive of the jdee mailing list on > > jdee's site). > > > > I am using that customization, and it works very well. > > > > HTH, > > > > Jonathan Meeks > > > > From: [EMAIL PROTECTED] (Ping Liang) > > Subject: How to Customize Indentation? > > Date: Wed, 27 Feb 2002 18:55:52 -0500 > > > > > I am working on java source codes that were written by using > > > > other ide tools. The original developer just set the tab to 4 > > chars wide (still a tab) and format the code accordingly. Now it > > is my turn to read the code, and I am using emacs, it is a mess! > > I am wondering anybody has worked out a good solution to this. > > Basically, I want to have the ability to view others code in > > his/her own format/indentation and contribute to it in the same > > format/indentation. On the other hand, what I write should be > > reasonably readable by others using other editing tools. > > > > > Any hints are greatly appreciated. > > > > > > Ping Liang > > > -- > > > > > > > > > > > > > > > __ > > > Your favorite stores, helpful shopping tools and great gift > > > > ideas. Experience the convenience of buying online with > > Shop@Netscape! http://shopnow.netscape.com/ > > > > > Get your own FREE, personal Netscape Mail account today at > > > > http://webmail.netscape.com/
best features of jde
Hello all, I plan to give a coure about jde and to introduce this IDE to my new pupills next january. What would you show to emacs-beginners ? What are your favorites jde's features ? What may I show to give them the feeling that jde is more suitable for java coding than jd3, vaj, etc. Stephane --
Re: problems with code completion
Hello Marc, did you try to set the jde-global-classpath ? It must point to the class you want to complete. Stéphane NICOLAS québec ? >Hello, >I've been trying for a while now to get the JDE to do code completion >(C-c C-v . ), but I still can't get anything working here. > >I'm sure I don't have the correct things setup, but I don't know what >else to try. I've set the jdk-registry, jde-jdk but these haven't done >much for me. > >I'm running gnu emacs 21.1.1 on redhat linux. My jde related package >version are: >jde-2.2.9beta7 >eieio-0.17-beta3 >semantic-1.4beta11-1 >speedbar-0.14beta2-1 >elib-1.0-1 > >Thanks a lot in advance >Marc > >- contents of my message buffer: >Finished loading /usr/share/emacs/site-lisp/egg/leim-list.el > and load others... >(emacs) >Loading disp-table...done >Loading tool-bar...done >Loading image...done >Loading tooltip...done >Loading cl-macs...done >Bootstrapping objects...done >Loading regexp-opt...done >Loading easy-mmode...done >Loading /usr/lib/emacs/21.1/i686-pld-linux/fns-21.1.1.el (source)...done >Loading mule-util...done >jde-java-font-lock: building names cache...empty >Loading sams-lib... Done >Loading /home/mjeanson/emacslibs/xf.el (source)...done >Loading yic-buffer...done >Loading desktop...done >Loading cl-seq...done >UserAuctionViewerHandler.java has auto save data; consider M-x recover-file >Setting JDE variables to startup values... [2 times] >Loading sgml-mode...done >Setting JDE variables to startup values... [2 times] >Loading sql...done >Setting JDE variables to startup values... [2 times] >BidHandler.java has auto save data; consider M-x recover-file >Setting JDE variables to startup values... >Desktop loaded. >Loading delsel...done >Loading edmacro...done >Loading semantic-el...done >let: >Loading debug...done >Entering debugger... > [2 times] >Starting the BeanShell. Please wait... >Beanshell expression evaluation error. > Expression: jde.util.JdeUtilities.setProjectValues("", ""); > Error: // Error: Error in method invocation: Static method >setProjectValues( java.lang.String, java.lang.String ) not found in >class'jde.util.JdeUtilities' : at Line: 1 : jde .util .JdeUtilities >.setProjectValues ( "" , "" ) > >progn: Beanshell eval error. See messages buffer for details. > >- > >my .emacs file: >;; setup emacs directory to load additional packages >(setq load-path (cons "~/emacslibs" load-path)) > >;; Update the Emacs load-path to include the path to the JDE and its >require packages. >(add-to-list 'load-path (expand-file-name >"/usr/share/emacs/site-lisp/jde/")) >(add-to-list 'load-path (expand-file-name >"/usr/share/emacs/site-lisp/semantic")) >(add-to-list 'load-path (expand-file-name >"/usr/share/emacs/site-lisp/speedbar")) >(add-to-list 'load-path (expand-file-name >"/usr/share/emacs/site-lisp/elib")) >(add-to-list 'load-path (expand-file-name >"/usr/share/emacs/site-lisp/eieio")) > > >;; set default frame settings >(setq default-frame-alist > '((top . 27) (left . 230) >(width . 166) (height . 80) >(cursor-color . "Red") >(foreground-color . "black") >(background-color . "ivory") >(font . >"-B&H-LucidaTypewriter-Medium-R-Normal-Sans-10-100-75-75-M-60-ISO8859-1"))) > >(set-face-background 'modeline "SlateGrey") >(set-face-foreground 'modeline "ivory") > >(add-hook 'speedbar-load-hook > (lambda () (add-to-list 'speedbar-frame-parameters > '(background-color . "ivory" > >;; Set up the keyboard so the delete key on both the regular keyboard >;; and the keypad delete the character under the cursor and to the right >;; under X, instead of the default, backspace behavior. >(global-set-key [delete] 'delete-char) >(global-set-key [kp-delete] 'delete-char) > >;; load sams library >(require 'sams-lib) >;; load backup package to allow all backups to single directory >(require 'backup-dir) >(setq bkup-backup-directory-info '((t "/home/mjeanson/emacsbackups" >ok-create full-path))) > >;; get the fonts from the X server >(load-file "/home/mjeanson/emacslibs/xf.el") >(xf-load-fonts) > >;; meta and arrows match braces >(global-set-key [(meta left)] 'backward-sexp) >(global-set-key [(meta right)] 'forward-sexp) > >;; make HOME and END work like God intended >(global-set-key [home] 'beginning-of-line) >(global-set-key [end] 'end-of-line) >(global-set-key [C-home] 'beginning-of-buffer) >(global-set-key [C-end] 'end-of-buffer) >(global-set-key "\C-a" 'beginning-of-line) >(global-set-key "\C-e" 'end-of-line) > >;; M-g goto line number >(global-set-key [(meta g)] 'goto-line) > >;; region to be highlighted when a mark is active >(transient-mark-mode t) > >(custom-set-variables > ;; custom-set-variables was added by Custom -- don't edit or cut/paste it! > ;; Your init file should contain only one such instance. > '(case-fold-search t) > '(compile-comman
Re: help with syntax highlighting
Hello Joe, you only have to M-x customize-group jde-java-font-lock-faces and set your face for Jde Java Font Lock Doc Tag Face Steff >I installed jde225 and the syntax color for comment is now red. It is >very difficult for me to read. I looked through the >jde-java-font-lock.el and couldn't figure out what to do to switch it to >a different color, say white? > >thanks, > >Joe --
Re: jde-java-font-lock.api
Hello Myriam, highlite means change the color (face) of a word. Exemple : In a .java file Type "totototjtnntnrtntrn" and type "public" then type a word that is contained in the file you look., you'll see it highlited . Steff >> It contains all the default java classes names to >> highlite them when conding. > > ^^^ >I'm sorry, what does this word mean? > >Could somebody give me an example of this file? > >Is it something that's generated by the JDE? > >TIA > >> Hi! >> >> Could somebody explain me what is the meaning of this file? >> >> -- --
Emac 21
Hello all, here is an article I found on slashdot : http://slashdot.org/articles/01/10/21/2329254.shtml emacs 21 is out. It includes tooltips and many other new features we could use in jde. Steff --
jde-gen's listeners
Hello all, When we use jde-gen 's templates to create an event listener, jde generates anonymous inner classes for the listeners. I don't really like this coding style, as I prefer to have real distinct named inner for (the transition to Action classes is easier like that and the code is perhaps a little clearer). I suggest adding a second version of the templates : eg: jde-gen-mouse-listener : jde-gen-mouse-listener-inner-class for all the listeners. What do you think of it ? Am I the only one to code my listeners like that ? Would some people be interested in coding it or appreciate to see it coded ? Steff --
Re: Only very minimal font-lock in emacs
Hello, I loose it too. I think this has been corrected by david ponce, is the fix included in jdee 2.2.9 beta? Steff On Friday 07 September 2001 09:36, Ed Soniat wrote: > Gentle reader: > > When I say font-locking I'm referring to the highlighting in color of > the Java code to make it easier to read. > > I tried moving jde-java-font-lock.el and removed its require from jde.el > > I still get no font-locking. > > java-mode font locking works, as does emacs-lisp, shell, etc. > in jde-mode all I get is java-doc (/** ... */) outside of classes. > Occasionally, after using the wizard to import an interface the buffer > will font-lock and stay that way, but just that buffer and I have > never reliably. > > global-font-lock-mode is true in all buffers. > > I hope you can help, I moved from xemacs to get better functionality > out of jdee but loosing font-locking is a big compromise. > > Thank you > Ed > > Informations about my environment, including the .emacs file, trimmed > down for this problem. > > I'm on Linux (redhat 7.1) > > emacs 20.7.1 > jde 2.2.8 (not byte compiled) > eiei0 0.16 > elib 1.0 > semantic 1.4beta7 > speedbar 0.13 > > My .emacs (for debugging this problem only) > ;; Turn on font-lock mode for Emacs > (setq global-font-lock-mode t) > ;; > ;; JDE update elisp files > ;; > (add-to-list 'load-path (expand-file-name > "/usr/share/emacs/site/jde/lisp")) > (add-to-list 'load-path (expand-file-name > "/usr/share/emacs/site/semantic")) > (add-to-list 'load-path (expand-file-name > "/usr/share/emacs/site/speedbar")) > (add-to-list 'load-path (expand-file-name > "/usr/share/emacs/site/elib")) > (add-to-list 'load-path (expand-file-name > "/usr/share/emacs/site/eieio")) > > (require 'jde) > (setq jde-use-font-lock nil)
Re: Renaming Proposal
JIDE sounds great ! Steff On Wednesday 18 July 2001 17:42, Iain Huxley wrote: > I'm sure you're sick of naming comments etc. by now, and it may be too > late, but: > > In some ways using the word "mode" understates what JDE can do for you - it > makes it seem like just some formatting helper; the rich set of features is > better indicated by "development environment". > > so, here are a couple more possibilities which retain that part: > > JIDE [java integrated development environment] > eJIDE [emacs ...] > j-ide > Java-IDE > > Iain. > > > -Original Message- > > From: Latchezar M. Dimitrov [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, July 18, 2001 2:29 PM > > To: Paul Kinnucan > > Cc: [EMAIL PROTECTED] > > Subject: Re: Renaming Proposal > > > > > > Hi, > > > > I like jmode too. How about slight change with big consequencies?:-) > > That is, jdm (java development mode of course)? > > > > Thanks and sorry if it's too late. > > > > Latchezar > > > > PS. BTW, I've made a suggestion for j-d-e earlier but haven't > > heard any > > comments? > > > > >Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm > > >From: William L Anderson <[EMAIL PROTECTED]> > > >Date: Wed, 18 Jul 2001 12:15:11 -0400 > > >To: Paul Kinnucan <[EMAIL PROTECTED]> > > >Cc: [EMAIL PROTECTED] > > >Subject: Re: Renaming Proposal > > > > > > > > > jmode- is a good choice; could use jm- for an abbreviation if it's > > >not already in use in another emacs package. > > > > > >-WLA > > > > Latchezar (Lucho) Dimitrov home: (336) 794-2094 > > > > mailto:[EMAIL PROTECTED]http://www.wfu.edu/~dimil01g/ > > > > ... If you think education is expensive, try ignorance. > > -- Derek Bok, president of Harvard
Re: ANN: Name Change Plans
Contacting slashdot would be interesting 1- to let open source community know what has happened with this story. It seemes it 's not the last time trademark and patents will hit open source projects. 2- to get some advertising for the new name, to avoid loosing users. Steff On Wednesday 18 July 2001 07:53, Paul Kinnucan wrote: > Hi All, > > Taking into consideration your feedback and on the advice of Richard > Stallman, I have decided to accede to J.D. Edwards demand that I change the > name of the JDE. I plan to send a letter notifying them of my decision > tomorrow. > > I have decided to use JMode as the new name of the JDE because it has an > Emacs flavor, is not trademarked in the U.S., and has received generally > favorable comments from JDE users. I have asked Sunsite Denmark to provide > me with a new set of domain, mailing list, and repository addresses based > on jmode. To ease the transition to the new name, I have asked Sunsite > Denmark to redirect the old addresses to the new. I will let you know as > soon as the new addresses become effective. I will start changing the name > on the JDE website pages and in the documentation over the next few days. I > have not decided whether to change the name in the source code yet but I > probably will ASAP to avoid confusion. > > If you can think of anything else that I can do to minimize the impact of > this name change on you, please let me know. > > Regards, > > Paul
Re: ANN: Name Change Plans
You sure made a right choice Paul, I just can't stop thinking to the next JMode release :) Will we be transfered to the new mailing list's user list ? Stephane On Wednesday 18 July 2001 07:53, you wrote: > Hi All, > > Taking into consideration your feedback and on the advice of Richard > Stallman, I have decided to accede to J.D. Edwards demand that I change the > name of the JDE. I plan to send a letter notifying them of my decision > tomorrow. > > I have decided to use JMode as the new name of the JDE because it has an > Emacs flavor, is not trademarked in the U.S., and has received generally > favorable comments from JDE users. I have asked Sunsite Denmark to provide > me with a new set of domain, mailing list, and repository addresses based > on jmode. To ease the transition to the new name, I have asked Sunsite > Denmark to redirect the old addresses to the new. I will let you know as > soon as the new addresses become effective. I will start changing the name > on the JDE website pages and in the documentation over the next few days. I > have not decided whether to change the name in the source code yet but I > probably will ASAP to avoid confusion. > > If you can think of anything else that I can do to minimize the impact of > this name change on you, please let me know. > > Regards, > > Paul
Re: Name change
Is JDEE a trademark too ? :) Stephane On Monday 16 July 2001 12:11, Paul Kinnucan wrote: > > At 11:49 AM 7/16/2001 -0400, you wrote: > > Paul, > Accoring to > http://tess.uspto.gov";>http://tess.uspto.gov JD Edwards > filed for the Trademark on August 17, 1999. You've been using JDE > for much longer than that. There may be something that allows you > to keep using the acronym since you had it first. > > > Hi Don, > > Thanks for tracking this down. > > Even if they have no right to the trademark, I don't have the time or the > resources to contest their usage. > > I have decided to use the acronym, JDEE, for the time being at least > because it requires the least amount of effort for me to change. > > The concern thought is that this kind of bullying can be used to stifle > free software. The only recourse for freeware authors may be to file for > trademarks as self-defense. However, most of us don't have the time or > the money to go through the trademark process. > > - Paul
Re: PROPOSAL: New Java Build Feature
Hello all, i don't find this way very clean (but perhaps my poor english understanding helped :) ). I think we shall better consider the use of ant (jakarta.apache.org) , this software greatly enhances project management and automates many tasks for programmers such as compilation. I used to have a big projet (~15000 classes) that was compiled through a hierarchy of makefiles. When we used the ant, i took us 10 minutes to write a project file that compiled all thoses classes in a shot ! There are many other features in ant that JDE should rely on (such as jar making, deployement, rmic, javadoc, etc, etc). Why don't we look forward a more symbiotic use of JDE and ant as those projects are really complementary. (~poor english :) ) ? This would allow all jde coders to get rid of a lot of work (for management tasks) and would let us focus on making a full-featured IDE. Stéphane On Monday 19 March 2001 08:22, you wrote: > Paul Kinnucan wrote: > > Hi All, > > > > The JDE has a Java build feature that relies on javac dependency checking > > to rebuild a project. This feature has been broken by the reduced level > > of dependency checking in recent versions of javac. > > > > Lately I have begun using a new approach to using javac for building my > > Java projects that appears fast and perfectly reliable. I'm considering > > replacing the current Java build scheme with this new version and would > > like your feedback. > > > > The new approach relies on automatic creation of special classes, called > > compile masters, that reference every Java class in a project. The > > compile masters correspond to a makefile. The Java build algorithm > > creates a compile master in the root package and in each descendent > > package, thereby creating a hierarchy of compile masters that mirrors the > > package hierarchy. It then uses javac to compile the toplevel compile > > master. Compiling the root compile master causes javac to check every > > class in the project to ensure that it is current and recompile any > > classes that are not current. > > > > The benefits of this approach are: > > > > 1. No need for makefile. > > > > 2. Fast -- only one invocation of javac is needed to rebuild a project, > >no matter how big the project is. > > > > 3. Reliable -- every out-of-date class in the project is recompiled. > > > > The Java build feature would include a build-and-run command and would > > also allow you to specify multiple projects in a single build command to > > handle the cases where one project is dependent on classes in another > > project. > > > > Note that this new build would not replace the JDE's support for using > > make to build projects. You could continue to use make as an alternative > > to the Java build feature. > > > > What do you think of this proposal? > > > > - Paul > > I am used to `build' and convert other files besides the java files in > my makefiles. I like your idea, but will it be possible to convert > (compile) other files with this method? Or am I misinterpretting your > suggestion? > > Richard.
Re: ANN: Planned changes to JDE's project feature
Your right to do ssuch an enhancement for JDE paul, the default directory to place the project is often a problem when creating relatively big projects... I don't if many other users would agree but i think it would be a nice idea to place the project in the first package-directory : let 's suppose you've got a fs like : projects -project1 project1.ui project.engine -project2 project2.ui project. engine The default directory for project1 prj.el file shall be project1 and default one for project2 prj.el file shall be project2 If we place both of them in projects there will be a conflict for the two prj.el files.. Steff On Wednesday 14 March 2001 14:37, Paul Kinnucan wrote: > Hi all, > > A few releases ago, at the suggestion of a user, I changed the JDE so that > it uses the path of the prj.el file, instead of jde-project-name, to > determine the project of the current buffer. Accordingly, the JDE no longer > uses jde-project-name. However, there may be a need for it in future > releases, for example, to display the project name on the mode line. > Accordingly, I plan to make jde-project-name a customizable variable so > that it gets saved in the prj.el file. Also, I plan to change the Save > Project command so that it prompts you to specify a path for saving the > project file instead of the project name, with the current directory the > suggested path for new projects and the current path the suggested path for > existing projects. This will eliminate the need to move the project file > when creating new projects if the current directory is not the appropriate > place for it. > > - Paul
Re: JDE-2.2.6: File mode specification error
You shall consider upgrading semantic to 1.3 too... Stéphane On Sunday 11 March 2001 00:00, Paul Kinnucan wrote: > At 04:58 PM 3/10/2001 -0500, you wrote: > >Hi, > > > > I have just switched from 2.2.5 to 2.2.6. Now I get a > >"File mode specification error: (void-variable vals)" every time > > Please search the JDE mailing list archive, using the keyword "vals", for > information on why this error occurs and how to fix it. > > - Paul
Re: [contrib] Automatically show the jde-project-name on the modeline.
This a good idea. Steff On Friday 09 March 2001 20:15, Kevin A. Burton wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > This will show the current jde project on the mode line in the format of > "JDE:project_name". I became tired of looking at the filename to figure > out what the project I was working on was (sometimes it can become > confusing with 300 files open and 3 projects). Now I can just look down at > my modeline. > > Kevin > > (defun jde-show-project() > "Show the current project on the modeline. See `jde-project-name'." > (interactive) > > (assert (equal major-mode > 'jde-mode) nil "Not a java buffer.") > > (setq mode-name (concat "JDE:" jde-project-name))) > > ;;automatically show the project on the modeline. > (add-hook 'jde-mode-hook 'jde-show-project) > > > - -- > Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], > [EMAIL PROTECTED] ) Cell: 408-910-6145 URL: http://relativity.yi.org ICQ: > 73488596 > > Questions are the beginning of wisdom. > > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.0.4 (GNU/Linux) > Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt > > iD8DBQE6qYAzAwM6xb2dfE0RAscjAJ9xVEf1kGbipcWofHvs7yK1HFcbhgCggWNc > IZubfRfCso76Ie8YucwV98c= > =gCyj > -END PGP SIGNATURE-
jde@sunsite.dk
Hi daniel, you must M-x customize-group jde-gen and toggle the k&r style off. (Don't forget to save your settings) Steff Daniel Hegyi wrote: > Hi, > > Sorry if this has been asked already. I checked the archive, but didn't find > any answers. > > Is there a way to convert a non-k&r style Java source to k&r style? (I.e., > not have the opening braces occupy a whole line.) > > Thanks. > Regards, > Daniel > _ > Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: beanshell
To my mind , you make a mistake : rt.jar is not in jdk/lib/rt.jar but in jdk/jre/lib/rt.jar (That 's why object is not found) Steff Myriam Abramson wrote: > Hi! > > I'm an avid user of the beanshell within jde. However, I get the > following error with the latest jde (2.2.6). The same java command > works outside of emacs. > > Thanks, > > cd /home/myriam/school/tokujawa/play/ > java -classpath >/home/myriam/emacs/jde/java/bsh-commands:/home/myriam/emacs/jde/java/lib/jde.jar:/home/myriam/emacs/jde/java/lib/bsh.jar:/usr/java/jdk/lib/tools.jar:/usr/java/jdk/lib/rt.jar:/usr/java > bsh.Interpreter > > Couldn't find or load essential class `java/lang/Object' >java.lang.NoClassDefFoundError java/lang/Object > > Process bsh aborted (core dumped) > > -- >myriam > > Go Proverb: > > Grab the shape points as kikashi.
Re: jde-set-global-classpath enhancement
Ok, that would be quite useful, but I think you should complete both files and directories and I don't know if it 's still possible. Nevertheless, I have recently stopped using customization buffers for setting the classpath . I now often use the shortcut method jde-set-global-classpath to achieve this. So , I still think a path-completion feature in the minibuffer for the jde-set-global-classpath function would be quite usefull. I think we can do this in 2 ways : -directly using a (unknown to me) tag of interactive -in loop asking for all the part of the classpath we want, each of them would be completed as a file-directory. The loop would end when letting the field blank. Hope not beeing boring too much :) Steff Paul Kinnucan wrote: > At 10:38 AM 1/24/01 -0500, you wrote: > >Hello all, > > > >I would like to enhance the set-global-classpath function in order to > >use file&directory completion in the minibuffer rather than entering a > >single "string". > > > >Does anyone have an idea on it ? > > I think it's better to do file completion in the customization buffer for > jde-global-classpath. I don't believe the JDE supports this in the current > release because I only recently became aware that it is possible to do path > completion in a customization buffer, provided that the developer (i.e., me), > specifies that the items to be entered are paths. I will add this as a > feature in the next release. > > - Paul > > >Exemple : > >/usr/local/jdk/jre/lib/rt.jar:/home/toto/java > > > >(X)emacs does only propose an interactive option for on file and one > >directory not for paths. > > > >Steff
Completion of methods' arguments
Hello all, in the jde website, i can read : Complete implementation of the JDE's field and method completion command. The current version does not complete static methods and fields and methods and fields of variables declared in a parent class or in a method argument list. But i have no trouble completing methods arguments ... So the website should be updated, doesn't it ? Stephane
Re: ANN: New jde-java-font-lock.el improvements
Hello again David, why not just offering a command to add syntax highliting for all available classes in global-classpath ? Stephane. Stephane wrote: > Hello David, > > while travelling in the bus to university (what is a quite good time to think about > jde improvements :) ) I thought you shall add the script that you used to get java's > basic > APIs to JDE. This would be usefull to have a lisp function : > jde-add-api-to-fontified-apis that would require a package name, a directory, or a >jar > file > as parameter to add custom apis to the fontified list. > (this shall output something to a buffer or append it to a jde-java-font-lock.api >file) > > Steff > > David Ponce wrote: > > > Hello All, > > > > Attached you will find another new version of jde-java-font-lock.el. > > Since my last post I made the following changes: > > > > - You can now fontify user's defined identifiers with the new > > `jde-java-font-lock-api-face'. These identifiers are read in the > > file specified by the `jde-java-font-lock-api-file' option. > > > > I provided a default file "jde-java-font-lock.api" to fontify class > > names of the core 'java' and 'javax' packages (JDK 1.3) and servlet > > API (JSDK 2.0). To enable this fontification just put this file on > > your home directory, maybe modify it to suit your needs and execute > > the command: > > > > M-x jde-java-font-lock-setup-keywords (or restart Emacs). > > > > To improve reloading a cache file of regular expressions matching > > these names is created in the same directory (see the source for > > more details). > > > > - Because the 'const' and 'goto' keywords are reserved, but not > > currently used they are now fontified with `font-lock-warning-face'. > > > > - The 'default' keyword is now fontified with > > `font-lock-keyword-face'. This was suggested by Stephane Nicolas > > <[EMAIL PROTECTED]>. > > > > Please try it. Any feedback will be much appreciated. > > > > Sincerely, > > David > > > > > > Name: jde-java-font-lock.zip > >jde-java-font-lock.zipType: Zip Compressed Data >(application/x-zip-compressed) > > Encoding: base64
Re: ANN: New jde-java-font-lock.el improvements
Hello David, while travelling in the bus to university (what is a quite good time to think about jde improvements :) ) I thought you shall add the script that you used to get java's basic APIs to JDE. This would be usefull to have a lisp function : jde-add-api-to-fontified-apis that would require a package name, a directory, or a jar file as parameter to add custom apis to the fontified list. (this shall output something to a buffer or append it to a jde-java-font-lock.api file) Steff David Ponce wrote: > Hello All, > > Attached you will find another new version of jde-java-font-lock.el. > Since my last post I made the following changes: > > - You can now fontify user's defined identifiers with the new > `jde-java-font-lock-api-face'. These identifiers are read in the > file specified by the `jde-java-font-lock-api-file' option. > > I provided a default file "jde-java-font-lock.api" to fontify class > names of the core 'java' and 'javax' packages (JDK 1.3) and servlet > API (JSDK 2.0). To enable this fontification just put this file on > your home directory, maybe modify it to suit your needs and execute > the command: > > M-x jde-java-font-lock-setup-keywords (or restart Emacs). > > To improve reloading a cache file of regular expressions matching > these names is created in the same directory (see the source for > more details). > > - Because the 'const' and 'goto' keywords are reserved, but not > currently used they are now fontified with `font-lock-warning-face'. > > - The 'default' keyword is now fontified with > `font-lock-keyword-face'. This was suggested by Stephane Nicolas > <[EMAIL PROTECTED]>. > > Please try it. Any feedback will be much appreciated. > > Sincerely, > David > > > Name: jde-java-font-lock.zip >jde-java-font-lock.zipType: Zip Compressed Data (application/x-zip-compressed) > Encoding: base64