Baclace.Net

Information Filtering

Background

Java Tips
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

 

Instant Start for 19.34 Emacs+Java for Wintel

The GNU Emacs for Windows NT and Windows 95/98 FAQ is very good. The author Geoff Voelker <voelker@cs.washington.edu> keeps it in good shape. It also has pointers to Unix tools that have been ported to Wintel.

All you need is gnuemacs 19.34.6 binaries, 19.34.6 lisp, and my attached files to do Java Dev. Env. in Emacs. (well, you need a JDK too.)

Use the gnu Bash shell or mks ksh, a commercial product, but fewer problems occur with Bash.

Java Syntactic Colorization

A sample picture of my font colorization and JDE. The emacs startup file has the necessary settings. I start emacs with a shortcut that runs:
D:\emacs-19.34\bin\runemacs.exe -fg white -bg black
My color choices need the background and foreground settings to get the effect in the sample picture. Unfortunately, I have not figured out how to make Send To obey these commandline settings (perhaps that is related to the fact that Send To has a known bug that will never be fixed: long file names are converted to the short DOS (Duh Operating System) form.

Java Development Environment

Paul Kinnucan <paulk@mathworks.com> is the author of the Java Development Environment for Emacs:

The JDE is an Emacs Lisp package that provides a highly configurable Emacs wrapper for command-line Java development tools, such as those provided in JavaSoft's JDK. The JDE provides menu access to a Java compiler, debugger, Java "templates" and API doc.

JDE install instructions http://sunsite.auc.dk/jde/ or here are very good. It requires Anders Lindgren's <andersl@csd.uu.se> package for font-lock settings for Java at http://www.csd.uu.se/~andersl/emacs.shtml and cc-mode 5 is needed from python.org or ftp://ftp.python.org/pub/emacs/cc-mode.tar.gz

My Setup

Environment variables
set HOME=d:\peb_home ;; change to ?
set SHELL=d:\mksnt\sh.exe ;; change to Bash shell

get my _emacs which works for gnu emacs 19.34.6 for Win95 and NT using ksh.exe from mks and JDE 1.9.9.

Related URLs
http://www.oasis.leo.org/java/development/editors/emacs/00-index.html --> general information
http://www.delorie.com/gnu/ --> The GNU Project
ftp://ftp.cygnus.com/pub/gnu-win32/latest/--> Directory of gnu-win32, Unix like tools for Windoze