I find the movement commands C-M-a(c-beginning-of-defun) and C-M-e(c-end-of-defun) very useful when programming C and its like. But in Java they're useless because they only handle top level constructs and just move to the beginning or end of the class definition. Is there any easy way of adapting them to handle second level constructs like Java function definitions? Or has it been implemented already? Thanks.
Bo