[Emacs-ada-mode] for info: ada-mode bug reported though emacs ...

Stephen Leake stephen_leake at stephe-leake.org
Sat Aug 11 02:53:16 PDT 2007


"WAROQUIERS Philippe" <philippe.waroquiers at eurocontrol.int> writes:

> With emacs 22, I encountered a bug in the ada-mode. I reported this
> bug through emacs Help -> Report Bug.

Ok.

> How to reproduce:
>  compile an Ada file with gcc gnat compiler
>  open this Ada file
>  position on an identifier 
>  C-c l   (list local references)
>  position on another identifier
>  C-u C-c l (list local references, but asking to add to the ref list
>             by using the C-u prefix argument)
>
> with emacs 21: the second list of references is appended 
> with emacs 22: the second list of references replaces instead of
> appending

Thanks for the clear report; I can reproduce it.

I also get an error "buffer *gnatfind* not found", which is the root
of the problem.

> To fix the bug:

(snipped)

Excellent. I'll use a lambda function rather than clutter the
namespace, but it does fix the problem.

Thanks for your bug report,

-- 
-- Stephe




More information about the Emacs-ada-mode mailing list