[stuff about dabbrev-mode cut]
: But it only works with .java-Files.
: I want to know, if its possible to use the completion in other kind of
: Files,
: for example perl-Files.
Sure dabbrev mode works in any emacs buffer. I sometimes run
oracle sql*plus inside an emacs shell buffer, do a "describe <table>"
to get the names of columns I'll need to type for a query and then
use dabbrev to avoid typing them.
The reason you're only able to use dabbrev on .java files is that you've
gotten used to some custom keybindings that you only load in jde-mode.
You can either (a) learn the "normal" dabbrev bindings and use those;
or (b) load your custom bindings in something other than a jde-mode hook.
I suggest (a), not that you asked. ;-)
Eric