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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6cb2525ffbfe23ce X-Google-Attributes: gid103376,public From: Matthew Heaney Subject: Re: Why both "with" and "use"? Date: 1999/02/14 Message-ID: #1/1 X-Deja-AN: 444142316 Sender: matt@mheaney.ni.net References: <36C5B28C.F32C43A4@jps.net> <7a529a$t54@drn.newsguy.com> NNTP-Posting-Date: Sat, 13 Feb 1999 17:58:03 PDT Newsgroups: comp.lang.ada Date: 1999-02-14T00:00:00+00:00 List-Id: bill writes: > it would be nice to have a smart editor that is context senstive, > where if you point the mouse to a name and say right-click, it will > show properties of the thing pointed to, such as it type, the package > it came from, etc.. > > This way, one can have their cake and eat too. One can use 'use', but > still know from which packages things came from by simple point/click. > > offcourse this editor must be free sourced and GPL'ed :) so eveyone > can use it. wonder if it possible to do such a thing with xemacs... Yes, it certainly is possible using (x)emacs (with gnat): it's called ada-xref.el. If you're sitting on an entity, then M-x ada-goto-declaration (usually bound to C-c C-d) will move point to the file containing the declaration. I re-wrote the version of ada-xref.e. that came with ada-mode versions earlier than 3.0 (the one done by ACT), because it basically didn't work. I haven't used the new version of GNAT yet, so I don't know whether they fixed it or not. If anyone is interested, let me know and I'll send it to you.