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-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!newsfeed.stueberl.de!blackbush.cw.net!cw.net!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Michael Bode Newsgroups: comp.lang.ada Subject: Re: Code completion in ada IDE's Date: Mon, 03 Oct 2005 21:23:19 +0200 Organization: 1&1 Internet AG Message-ID: <87vf0etnfc.fsf@code-hal.de> References: <87r7b74kge.fsf@code-hal.de> <433d0e81$0$16483$9b4e6d93@newsread4.arcor-online.net> NNTP-Posting-Host: p54af2849.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: online.de 1128367399 323 84.175.40.73 (3 Oct 2005 19:23:19 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Mon, 3 Oct 2005 19:23:19 +0000 (UTC) X-message-flag: IMPORTANT MESSAGE -- PLEASE READ IMMEDIATELY!!! X-Accepted-File-Formats: ASCII, .rtf, .ps, .pdf - *NO* MS Office files User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:e+00yTGN5u+R6VW4sB3B+OCvGEM= Xref: g2news1.google.com comp.lang.ada:5358 Date: 2005-10-03T21:23:19+02:00 List-Id: 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. -- Michael Bode