At 12:39 PM 2/3/00 +0100, you wrote:
>Paul,
>
>I added the following lines in my .emacs file:
>
>(global-set-key [(f5)] 'gud-next)
>(global-set-key [(f6)] 'gud-step)
>(global-set-key [(f7)] 'gud-cont)
>(global-set-key [(f8)] 'gud-print)
>
>(global-set-key [(f9)] 'gud-break)
>(global-set-key [(f10)] 'gud-remove)
>
>and I uses the shortcuts instead of menu items. The buffer moves to always
>display the right line which is not true when using the menu items.
>
I assume are referring to the jdb command-line interaction (CLI) buffer and
NOT to to the Java source buffer. Your previous messages confused me
because I assumed that you were talking about moving the source cursor in
the source buffer.
Anyway, the context of the Jdb menu commands is the source buffer because
the menu belongs to the source buffer and not the jdb CLI buffer. At some
point, I'll provide a fix so that the menu commands update the CLI buffer.
- Paul