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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,55eec2ee238f12cb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!news.glorb.com!proxad.net!usenet-fr.net!gaoland.net!grec.isp.9tel.net!not-for-mail From: =?ISO-8859-1?Q?J=E9r=F4me_Haguet?= Newsgroups: comp.lang.ada Subject: Re: Code completion in ada IDE's Date: Wed, 05 Oct 2005 12:29:00 +0200 Organization: 9Telecom Message-ID: References: <87r7b74kge.fsf@code-hal.de> <433d0e81$0$16483$9b4e6d93@newsread4.arcor-online.net> <87vf0etnfc.fsf@code-hal.de> NNTP-Posting-Host: 228.81.96-84.rev.gaoland.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: aphrodite.grec.isp.9tel.net 1128508417 19786 84.96.81.228 (5 Oct 2005 10:33:37 GMT) X-Complaints-To: abuse@9online.fr NNTP-Posting-Date: Wed, 5 Oct 2005 10:33:37 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: fr, en In-Reply-To: <87vf0etnfc.fsf@code-hal.de> Xref: g2news1.google.com comp.lang.ada:5399 Date: 2005-10-05T12:29:00+02:00 List-Id: Michael Bode a �crit : > 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. > > When I replace that with adamode-3.6 from > https://libre2.adacore.com/adamode/ C-c C-r works fine. But C-c C-d > only works for predefined identifiers. That is C-c C-r with point on > Put_Line opens a-textio.ads with point on procedure Put_Line. But C-c > C-r with point on one of my own identifiers gives > > No cross-reference found. It might be a predefined entity. > Is sounds like something we faced a few time ago. It was on Windows, but I do not remember with which version of gcc/gnat it occurs. We fixed this creating a file named gnatls.bat somewhere (in one of the folder of PATH). Its contents is : @gnatls.exe %1 %2 %3 %4 %5 %6 %7 %8 I will try to reactivate part of my memory ...