"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 1.3.1) to parse the buffer and
> find the language tokens.
If point is in the body of a Java function and I hit the key bound to
senator-previous-token, point is moved to just after the closing brace of the
function rather than to the opening brace of the function. Is it possible to
make senator-previous-token go to the start of the enclosing function? If
possible, I'd also prefer senator-next-token to move to just after the closing
brace of the current function rather than to the start of the next function.
Can senator be coaxed to do the above?
Btw, when I changed:
(setq senator-step-at-token-ids '(function variable))
to
(setq senator-step-at-token-ids '(function))
.. Emacs seemed to hang until I hit contol-g.
I'm using jde-2.1.5 and semantic-1.2.1.
Thanks,
--- John