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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,72bd3676155508c5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-13 06:49:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Format of .adp files? Date: 13 Nov 2002 09:45:55 -0500 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <3dcfc6ce$0$308$bed64819@news.gradwell.net> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1037199410 28351 128.183.235.92 (13 Nov 2002 14:56:50 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 13 Nov 2002 14:56:50 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:30804 Date: 2002-11-13T14:56:50+00:00 List-Id: Preben Randhol writes: > David C. Hoos, Sr. wrote: > > Using .adp files is much more flexible than using the ada-mode > > customization options in emacs. > > I want to support .adp in Vim too. Have never had need for it, but I can > see that it is useful. Any tips to make it better than the Emacs > version? Impossible :) Well, I have some suggestions; I've implemented them in my copy of the Emacs version. Allow environment variables and relative paths in the variables in the project file. That adds much more flexibility. The relative paths should be relative to the directory the project file is in. Allow setting the casing exceptions file in the project file (you'll also have to implement the ada-mode casing support :). GNAT 3.15 has a totally new project file syntax; it looks like Ada (no surprise there :). You might want to wait until that becomes public. Although the Emacs support uses an Ada program to translate the 3.15 project file into an Emacs project file, and GNAT 3.14 ada-mode lisp code to read that; you could take the same approach. -- -- Stephe