13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

46Chapter 2An Embarrassment of Riches: EditorsThe list of choices for editors is quite l<strong>on</strong>g. One of the beauties of theOpen Source approach is that pers<strong>on</strong>al choices like favorite editors aren’tsquashed by arbitrary decisi<strong>on</strong>s: If you want, you can write an editor; otherscan adopt it.Test drive a few; try them <strong>on</strong> for size. Remember that there can be alearning curve to climb. D<strong>on</strong>’t necessarily settle for the easiest to learn—it maynot be able to handle all that you’ll need it to do, which may cost you more inthe l<strong>on</strong>g run.Speaking of editors that aren’t easy to learn, we can’t discuss editorswithout a menti<strong>on</strong> of Emacs. To quote the GNU Emacs project home page: 4Emacs is the extensible, customizable, self-documenting real-time displayeditor. If this seems to be a bit of a mouthful, an easier explanati<strong>on</strong> is Emacsis a text editor and more. At its core is an interpreter for Emacs Lisp (“elisp,”for short), a dialect of the Lisp programming language with extensi<strong>on</strong>s tosupport text editing. Some of the features of GNU Emacs include:• C<strong>on</strong>tent sensitive major modes for a wide variety of file types, fromplain text to source code to HTML files.• Complete <strong>on</strong>line documentati<strong>on</strong>, including a tutorial for new users.• Highly extensible through the Emacs Lisp language.• Support for many languages and their scripts, including all the European“Latin” scripts, Russian, Greek, Japanese, Chinese, Korean, Thai,Vietnamese, Lao, Ethiopian, and some Indian scripts. (Sorry, Mayanhieroglyphs are not supported.)• A large number of extensi<strong>on</strong>s which add other functi<strong>on</strong>ality. TheGNU Emacs distributi<strong>on</strong> includes many extensi<strong>on</strong>s; many others areavailable separately—even a Web browser.There is another variant of Emacs called XEmacs. It came from the samecode base but split over differences both technical and philosophical. 5 Now ifyou thought that vi had a lot of obscure key sequences, you ain’t seen nothin’yet. With its Lisp interpreter Emacs is incredibly extensible and powerful, but4. This is from http://www.gnu.org/software/emacs/emacs.html#Whatis.5. If you want to read more about those differences, and how they came about, seehttp://www.xemacs.org/About/XEmacsVsGNUemacs.html.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!