Cannot activate senator-minor-mode via java-mode-hook?

2000-12-20 Thread John Cooper
I'd like senator-minor-mode to be activated in all my java buffers, so I added this to my java-mode-hook function: (senator-minor-mode 1) This doesn't take effect - it seems I need to manually type M-x senator-minor-mode in each java buffer. Any idea why this doesn't work from the

Re: Updated senator 2.0 available

2000-12-15 Thread John Cooper
"David Ponce" [EMAIL PROTECTED] writes: The latest bug fix release of the SEmantic NAvigaTOR 2.0 library is available at http://www.dponce.com/more-elisp.html. With this version of senator.el, I get the following error whenever I start an isearch (even non-Java buffers): Signaling:

Re: Re[1]: Navigating Java functions?

2000-11-15 Thread John Cooper
[EMAIL PROTECTED] writes: As for navigating java functions. A feature I'd really appreciate would be isearch-function-name... Which would work just like isearch, but would only look at function names. This would really help the next time I'm in a 2000 line file looking for the

Re: Navigating Java functions?

2000-11-14 Thread John Cooper
"David Ponce" [EMAIL PROTECTED] writes: The attached library senator.el (SEmantic NAvigaTOR) defines the commands `senator-next-token' and `senator-previous-token' to navigate between language semantic tokens in current buffer. It uses Eric Ludlam's semantic bovinator tool (version

Re: Navigating Java functions?

2000-11-14 Thread John Cooper
"David Ponce" [EMAIL PROTECTED] writes: Here is a new version of SEmantic NAvigaTOR with improved navigation in semantic token where to step at start and end. - `senator-next-token' move the point to the end of token if it was at beginning or in the middle of the token. -

Re: Re[1]: Navigating Java functions?

2000-11-14 Thread John Cooper
"David Ponce" [EMAIL PROTECTED] writes: Attached is a new version of senator with a minor change to `senator-next-token' and `senator-previous-token' to return the token at point. Useful when calling these commands non-interactively. The following advices `beginning-of-defun' and

Navigating Java functions?

2000-11-09 Thread John Cooper
I'd like to be able to bind a key to move to the beginning/end of the current function, with repeated presses of the key taking me to the beginning/end of successive functions in the buffer, i.e., ala {beginning,end}-of-defun that works in lisp/C modes (but, fails in Java mode because functions