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,c15063243269efcd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: Meet the new GPS...same as the old GPS... References: <1151320748.360707.79490@u72g2000cwu.googlegroups.com> <1665827.HWbYYKeXts@linux1.krischik.com> <1151342956.402547.244450@p79g2000cwp.googlegroups.com> <1151437378.281759.5280@75g2000cwc.googlegroups.com> From: M E Leypold Date: 28 Jun 2006 01:06:35 +0200 Message-ID: <4vzmfymc5g.fsf@hod.lan.m-e-leypold.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Some cool user agent (SCUG) NNTP-Posting-Host: 88.72.243.222 X-Trace: news.arcor-ip.de 1151449221 88.72.243.222 (28 Jun 2006 01:00:21 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:5148 Date: 2006-06-28T01:06:35+02:00 List-Id: randomm@mindless.com writes: > M E Leypold wrote: > > randomm@mindless.com writes: > > > > > If anyone can help me with instructions on using the Ada-mode 3.6 for > > > Emacs that would be lovely. > > > > What's the problem? I'm using Emacs, Ada-Mode and the shell as "IDE". > > > > Regards -- Markus > > I would like to use Emacs as the "IDE" as I do for other languages. > Are you using the Ada-mode supplied with Emacs 21.x? Or are you using > the Ada-mode from ACT, or some other Ada-mode? I use the one coming with Debian. Whichever version that is. > I don't understand how to "install" the Ada-mode files (about 5 Emacs > lisp sources) that I downloaded from the Libre site. As I mentioned > above, the Ada-mode that comes with Emacs has a significant problem- > when you select Build from the Ada menu in Emacs, it builds the source > you're looking at. You need to create a adp file to set the "main file" to build. Then it builds always your program. use Ada->Project->New from the emacs menubar to create a new project file for Ada mode. > And then, if you try to build again while in a new source (even > after killing the buffer for the previous source) it builds the old > source again. Since it constructed a default adp file from the first file. > I have not found a way, other than killing that > instance of Emacs and starting a new one, to ever build more than > one source module. That doesn't sound like a good productivity > proposition! No. I missed the point for some time too. Since then I generate (that is a bit unusual) a adp file for every executable from the Makefile. statfix.adb -> statfix.adp createdb.adb -> createdb.adp etc. Now on first compilation I'm asked what I want to compile, except if the file that is open is one of the main files, then the selection is automatically. The debugger is a pain in emacs, though. Its workable, but you have to convince yourself. Keep asking. Regards -- Markus