M-x all-things-emacs

Entries Tagged as 'java'

Quick Tip: compilation-skip-threshold

May 22nd, 2007 by Rob Christie · No 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 […]

[Read more →]

Tags:java · quick · tips

Quick Tip: Highlighting Java .properties Files

March 1st, 2007 by Rob Christie · 1 Comment

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 […]

[Read more →]

Tags:java · quick · tips

Emacs, JDEE, Ant, and the Eclipse Java Compiler

February 13th, 2007 by Rob Christie · 6 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 […]

[Read more →]

Tags:java · tips

Quick Tip: Defining Mode Specific Key Bindings

February 10th, 2007 by Rob Christie · 3 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 […]

[Read more →]

Tags:elisp · java · quick · ruby · tips

Keyboard Macros in the Wild #1

January 26th, 2007 by Rob Christie · 5 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 […]

[Read more →]

Tags:java · kb-macros · tips