From: Steve Peterson <[EMAIL PROTECTED]>
I'm working with a library whose source code has the major mode hardcoded
in the top of the file, a la:
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
This has the effect during debugging of forcing these files into java mode,
which isn't very convenient. There are a bunch of files and since it's a
library I'd prefer avoiding editing all of the files. Is there a way
(short of typing M-x jde-mode when I visit a file during debug) to get this
to work better with JDE?
You could try adding a hook to java-mode-hook that executes jde-mode.
I haven't actually tried this myself, so I won't be responsible if
your Emacs melts.