Java Tutorial - Java Script :
Emacs
Linux user will be familiar with info because many of the help pages for Linux commandsimplemented as info pages. Most Emacs commands are key combinations, using the Control and Alt keys found on most keyboards. Associations between Java source code files and the Emacs editor for the Windows operating systems can be made in a fashion similar to that describedfor Gvim in the previous section.Figure 4.2 Emacs running under Windows.
To associate Java files with Emacs on Windows 9x/Me platforms, navigate to a Java file in Windows Explorer, right-click on the Java file, and choose Open with... from the context menu. On Windows 9x/Me, you will be presented with a dialog box that allows you to select a program to use to open the file. If Emacs does not appear, then click the Other... button to navigate to the Emacs executable. On Windows NT/2000/XP, you will be given a short list of programs and an option to choose a program. Selecting Emacs will associate Emacs with your Java source code files, allowing the editor to be opened automatically
when you click on a Java file. Emacs supports many of the same features as Vim. It supports color syntax highlighting for Java code and provides a specialized Java menu that eases navigation through large Java source code files. Like Vim, Emacs can be configured to compile the source code from within the editor. However, Emacs is the only editor that we are aware of that also includes an integrated spell checker. Options exist for spell checking just the comments, or for checking the word currently under the cursor. Dictionaries are provided for a large number of languages.
Emacs also supports a powerful macro language based on a variant of Lisp.Lisp is an old but powerful programming language for list processing. Most of the actual Emacs editor code is itself written in the macro language. The language is so powerful that Emacs comes with a number of games and utilities written in that language that run inside the editor.
