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,8ca2d617a0d92ff X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail From: "Ludovic Brenta" Newsgroups: comp.lang.ada Subject: Re: ada-mode and GNAT project files (was: GVD) Date: 20 Sep 2005 03:47:30 -0700 Organization: http://groups.google.com Message-ID: <1127213250.732870.169600@g47g2000cwa.googlegroups.com> References: <87ek7k1fno.fsf@ludovic-brenta.org> NNTP-Posting-Host: 212.190.145.10 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1127213256 1207 127.0.0.1 (20 Sep 2005 10:47:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 20 Sep 2005 10:47:36 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; SunOS sun4u; fr-FR; rv:1.6) Gecko/20040116,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 SEVPXS01 Complaints-To: groups-abuse@google.com Injection-Info: g47g2000cwa.googlegroups.com; posting-host=212.190.145.10; posting-account=ZjNXewwAAADyBPkwI57_UcX8yKfXWOss Xref: g2news1.google.com comp.lang.ada:4946 Date: 2005-09-20T03:47:30-07:00 List-Id: Tapio Kelloniemi a =E9crit : > What actually this upstream is for ada-mode (Emacs/FSF or > ada-mode/AdaCore)? If I have understood correctly, the mode has been > completely integrated into Emacs and they are responsible for > maintaining and developing it. Now what does the (there is already > this functionality) mean? I have thought that ada-mode has support > for cross-referencing in emacs 21.3 (don't know the ada-mode > version), but I don't know what is wrong with it or what is better > in the Ludovic version (I have never used cross-refs). I emailed my early patches to Emmanuel Briot at AdaCore. One can get an older ada-mode as part of emacs (21.4 is current), and a more recent version from AdaCore's libre site and in Debian package ada-mode (3.6-2 is current). ada-mode works with ada-mode project files (*.adp) and has a UI to edit them from within emacs. I have a patch that: * enhances the Ada major mode to edit GNAT Project files (understands the "project" keyword, indents, etc.) * replaces the machinery that reads .adp files with a new one that reads .gpr files instead * finds the .ali files in the object directory specified by the .gpr file, which makes cross-references work. Emmanuel rejected the patch on the grounds that GNAT can generate an .adp file from a .gpr file, but I'd rather ditch .adp files altogether. (my memory is fuzzy on the details on how one is supposed to generate .adp files from .gpr files). With my patch, the UI to edit and save .adp files is still there but useless and it should be removed. Also, my patch does not support "includes" or "extends" in GNAT project files (i.e. will not pick up the source or object directories from them). > >Therefore we will fork ada-mode. Any suggestion for another name? > > We seemingly will be forking the whole ada toolchain from GNAT to > ada-mode, what about forking Ada itself. No, this is not needed at present. I am only contemplating a fork of ada-mode. > However, Ludovics ada-mode supports GNAT projects so what about > gnat-mode or gnuada-mode. If the fork ever supports Ada2005, it > could be ada05-mode or something similar. If it will not support > Ada2005, it could be better to just supply patches for Emacs (I > suppose that no huge changes have been made). Emacs is downstream from Emmanuel, so unfortunately a fork is inevitable if I am to distribute my patched ada-mode. gnat-mode and gnuada-mode seem fine, but I'd rather not use such an official name as GNAT or GNU, as I'm a member of neither project. If the format of .ali file changes with the new GNAT for Debian, someone will have to update all ada-modes to cope with them for cross-references to work. I haven't looked into this yet. If Emmanuel does that, it should not be too difficult to merge into whatever-it-is-called-mode. --=20 Ludovic Brenta.