[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
C-M-a and C-M-e do not work in java-mode
From: |
Arjan Bos |
Subject: |
C-M-a and C-M-e do not work in java-mode |
Date: |
Mon, 16 Feb 2004 07:49:56 +0100 |
To: address@hidden
Subject: C-M-a and C-M-e do not work in java-mode
--text follows this line--
Symptoms:
Upon reading the info node about how to write a major-mode and what
key-bindings to provide in it, I noticed that C-M-a should go to the
beginning of the method. Likewise, C-M-e should go to the end of the
method. However, I find that in java-mode, they always jump to the
beginning or end of the file.
I did test it only on files with a single class definition in them.
Could the correct behaviour for C-M-a and C-M-e be added in an
upcomming version of java-mode? Correct behaviour for me whould be
that the binded defun jumps me to the beginning of the current method
or the end of the current method.
TIA,
Arjan
In GNU Emacs 21.3.50.1 (powerpc-apple-darwin7.2.0)
of 2004-02-15 on Arjan-Bos-Computer.local
configured using `configure '--enable-carbon-app' '-without-x''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
show-paren-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
M-b M-b <return> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <up>
<up> C-x C-f ~ / . e m <tab> <return> <kp-end> C-y
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <down> <down> <down>
<up> <up> <down-mouse-1> <mouse-movement> <mouse-1>
C-h f <return> M-b M-b M-b C-h f <return> <down-mouse-1>
<mouse-movement> <mouse-1> C-x C-e <down-mouse-1> <mouse-movement>
<mouse-1> C-x C-e <down> <down> <down> C-M-e C-x C-e
<menu-bar> <help-menu> <report-emacs-bug>
Recent messages:
Quit
Auto-saving...done
Type C-x 1 to remove help window. C-M-v to scroll the help.
Auto-saving...done
Mark set [2 times]
Type C-x 4 b RET to restore the other window. C-M-v to scroll the help.
0 = ?\C-@
15 = ?\C-o
flash-training
Loading emacsbug...done
-- Multiple exclamation marks are a sure sign of a sick mind -- (Terry
Pratchett)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- C-M-a and C-M-e do not work in java-mode,
Arjan Bos <=