From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,55eec2ee238f12cb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!proxad.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Mon, 03 Oct 2005 22:37:37 +0200 From: Georg Bauhaus User-Agent: Debian Thunderbird 1.0.2 (X11/20050817) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Code completion in ada IDE's References: <87r7b74kge.fsf@code-hal.de> <433d0e81$0$16483$9b4e6d93@newsread4.arcor-online.net> <87vf0etnfc.fsf@code-hal.de> In-Reply-To: <87vf0etnfc.fsf@code-hal.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <43419632$0$26227$9b4e6d93@newsread2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 03 Oct 2005 22:36:02 MEST NNTP-Posting-Host: f5969c41.newsread2.arcor-online.net X-Trace: DXC=YTG[[MeANO_YFAnNd=0_4TQ5U85hF6f;TjW\KbG]kaMXGSi?jHD8GOP1QBX9c>46HU X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:5361 Date: 2005-10-03T22:36:02+02:00 List-Id: Michael Bode wrote: > Georg Bauhaus writes: > > >>It worked again after loading the Lisp function ada-find-references from source, >>like this: >>C-h k (help key) C-c C-r gives a link to the function, then >>use eval-last-sexpr (C-x C-e) with pointer after the function. > > > I'm not sure I understand, but ada-find-references C-x C-e did not > help. But I've found that I get invalid function error with the > ada-mode that comes with GNU Emacs 21.4 on Debian. The quickest fix seems to be to a more recent Emacs. The Ada mode of 22.0.50.1 works nicely in both cases, unless there is some installation chaos on this machine. The ada-xref.el is marked ;; Ada Core Technologies's version: Revision: 1.181 With Emacs 21.4, it seems I had loaded Lisp source code for ada-find-references from $Revision: 1.8 $ of ada-xref.el, in /usr/share/emacs/21.4/lisp/progmodes. However, there appears to be a more recent installation of compiled ada-mode in a site-lisp directory. Maybe they improve each other.