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,fb9cb88204b780c2 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!out01b.usenetserver.com!news.usenetserver.com!in02.usenetserver.com!news.usenetserver.com!uns-out.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: simple programs -> one file with gps 2008 (gpl)? References: <6g3k63Fe28ukU1@mid.individual.net> <31e658e8-f85a-47dc-9d6d-688935dd9e4f@z66g2000hsc.googlegroups.com> From: Stephen Leake Date: Wed, 13 Aug 2008 08:45:05 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:rirRSKWrCC3EA+lSiZtJ3PQYLN8= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 0e5d248a2d02fc74cf41804509 Xref: g2news2.google.com comp.lang.ada:7336 Date: 2008-08-13T08:45:05-04:00 List-Id: Simon Wright writes: > If you are an Emacs user, I have written a minor mode (gnatchop-mode) so > that every time you save the big source file gnatchop (-r) is run on it. > > Um, I guess I should offer it to ada-mode -- tried that when AdaCore > were running it, it wasn't general enough for them (but works for > me!) As the maintainer of Ada mode, I think this is more properly done in a Makefile. But it is possible to use Emacs Ada mode for pure Ada projects without a Makefile, so I suppose it would make sense to include it as an option. > ;; gnatchop.el > ;; Copyright (C) 2001 Simon Wright . > ;; $Id: gnatchop.el,v 1.1 2001/12/01 06:58:43 simon Exp $ Since Ada mode is part of Emacs, you would need to assign copyright to the Free Software Foundation; email me off list about this. > ;; Minor mode for use in Ada buffers that don't have the correct file name > ;; for use with GNAT, and which therefore need to be "gnatchop"'d before > ;; compilation. "wrong file name" does not require gnatchop (you can specify other names in the GNAT project file), only "multiple compilation units". We should move other discussion about this to the Emacs Ada mode mailing list hosted at http://stephe-leake.org/mailman/listinfo/emacs-ada-mode_stephe-leake.org -- -- Stephe