At 10:16 AM 11/8/99 +0000, you wrote:
>
>Hi!
>
>I know that this is not directly relevant to JDE, but you guys
>probably got the answer :)
>
>I have been addicted to the ChangeLog function in emacs (C-x 4 a).
>
>In c/c++ mode and others the function is capable of inserting which
>file AND what function/method the cursor is in when adding entries to the
>changelog.
>
>This is not so when java mode or jde is active - it only inserts the filename.
>Does anyone know how to enable this for Java/JDE ?
>
I took a look at this. I first added jde-mode to the list of c-like
language modes that add-change-log maintains. I then tried
add-change-log-entry with point in various methods of a class. The function
inserted a method name in the change log, but it was the wrong name. Java
syntax seems to confuse the add-log-current-defun function used to parse
the file for which a change log is being updated. The function is fairly
complicated; otherwise, I'd try to provide a fix. I suggest you contact the
Emacs maintainers and ask them to update the function to handle Java
syntax. If they do this, it is trivial to get it to work for jde-mode.
- Paul