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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: emacs compliation error (ada mode) References: <6bf1467d-4a5f-4809-9633-f33ce3fc585a@googlegroups.com> <85fv5r9ymh.fsf@stephe-leake.org> <2b3b83b6-9a13-47a9-b9f1-c972f698974a@googlegroups.com> Date: Wed, 17 Jun 2015 12:21:00 -0500 Message-ID: <85y4ji8d4z.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) Cancel-Lock: sha1:JD08xCXEKK2+xZ3X/u1zPQqa+9o= MIME-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: c38df5581ac7ee97f808411068 X-Received-Bytes: 1690 X-Received-Body-CRC: 3520427133 Xref: news.eternal-september.org comp.lang.ada:26356 Date: 2015-06-17T12:21:00-05:00 List-Id: pincerfae@gmail.com writes: > I'm running ada mode 5.18. I think you mean "5.1.8" > well, since the file is in a location I can locate, maybe I'd be > better just running the program directly, though it defeats the > purpose of building it in emacs. > > I wasn't aware I needed to use keystrokes when there's a menu that can > be used. In emacs, "keystrokes" can also mean "menu"; picking a menu entry sends a key event to the editor. So, what menu entry are you using? In addition, there are usually keystroke equivalents to menus; once you get used to them, the keys are faster. C-c M-r is bound to ada-build-run, which is also bound to the menu entry Ada | Build | Run. >> If it's ada-mode 5.x, C-c M-r, then you can change >> the variable ada-build-run-cmd in your .emacs: >> >> (setq ada-build-run-cmd "${main}") >> >> Then restart emacs and try again. Did you try this? -- -- Stephe