Hello,
In ada-mode 4.0, I was used to using C-M-a, C-M-e to navigate beween
subprograms in the current buffer. These keys are bound to
ada-previous-procedure, ada-next-procedure, which work by doing a
simple
regexp search.
By default, these keys are bound to beginning-of-defun, end-of-defun.
These functions call beginning-of-defun-function, end-of-defun-function
if
non-nil, or fall back to Lisp syntax.
With the shiny new parser and annotations, I believe it should be
trivial
to make ada-mode 5.x honor that; it could define
beginning-of-defun-function and end-of-defun-function to find the
subprogram containing point and jump to its beginning or end, skipping
over any nested subprograms that may exist between point and the
beginning/end. This in turn would make it even more trivial to
implement
narrow-to-defun (bound, by default, to C-x n d). This would be much
better than ada-mode 4.0.
Please?
--
Ludovic Brenta.
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org