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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,35a94ab214d4934f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-14 09:10:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: References in error message for use with Emacs. Date: Mon, 14 Jan 2002 18:06:37 +0100 Organization: Adalog Message-ID: References: NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1011027978 28952 195.25.228.57 (14 Jan 2002 17:06:18 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 14 Jan 2002 17:06:18 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:18915 Date: 2002-01-14T18:06:37+01:00 List-Id: "Matthieu Moy" a �crit dans le message news: vpq6664ubuj.fsf@ubaye.imag.fr... > I use gnat as a compiler and Emacs as editor. Error messages like > > list_brackets.adb:46:07: not type conformant with declaration at list_brackets.ads:22 > > Bored me because Emacs could only show me the reference in the > begining of line, and not the declaration referenced at the end. > > I wrote a small wrapper for that (for unix) : > Nice try, but you didn't need to. Just click with the middle button on the reference, Emacs will get you there (assuming you are using a recent version of the Ada mode). -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr