M-x all-things-emacs

Entries Tagged as 'java'

Quick Tip: compilation-skip-threshold

May 22nd, 2007 by Rob Christie · 136 Comments

compilation-mode has a nice feature so that you can skip over your info and warning level messages and jump right to those nasty errors. Set the variable compilation-skip-threshold to 2 so that M-n and M-p will jump to the next or previous error respectively. The other possible settings for this variable are: 2 — skip […]

[

Tags:java · quick · tips

Quick Tip: Highlighting Java .properties Files

March 1st, 2007 by Rob Christie · 127 Comments

Java .properties files are normally formatted using conf-javaprop-mode. Recently, I was frustrated because a single quote in a property was highlighted such that multiple lines were colored like a string until there was another quote on another line. I decided I was going to fix it… It turns out that I didn’t have to look […]

[

Tags:java · quick · tips

Emacs, JDEE, Ant, and the Eclipse Java Compiler

February 13th, 2007 by Rob Christie · 145 Comments

This post describes how to integrate jdee, ant, and the eclipse batch compiler to get the same warning and error messages as your Eclipse-loving friends. I am assuming that you already know your way around the jdee environment (i.e., you have it setup and configured such that you can run an ant build from within […]

[

Tags:java · tips

Quick Tip: Defining Mode Specific Key Bindings

February 10th, 2007 by Rob Christie · 127 Comments

Many times I use global key mappings for commands that I use every day. For example, I build java projects daily using ant, so I have the following in my .emacs: (global-set-key [f5] ‘jde-build) Less frequently, I use the C-c C-v C-. which is the default key binding for the command jde-complete. Both commands are […]

[

Tags:elisp · java · quick · ruby · tips

Keyboard Macros in the Wild #1

January 26th, 2007 by Rob Christie · 105 Comments

This is the first in a series of real world uses of emacs keyboard macros. Emacs macros are normally mentioned as a powerful feature of emacs, but many times I find the examples that are given are more academic in nature and don’t drive home their usefulness. These posts will show examples of macros “in […]

[

Tags:java · kb-macros · tips