comp.lang.ada
 help / color / mirror / Atom feed
From: "David W. Glessner" <dwglessn@collins.rockwell.com>
Subject: Re: need editor
Date: 1999/09/13
Date: 1999-09-13T00:00:00+00:00	[thread overview]
Message-ID: <37DD36DB.8EEE5FD5@collins.rockwell.com> (raw)
In-Reply-To: 7rilqp$dmf$1@nnrp1.deja.com

Emmanuel Briot wrote:
> 
>   "David W. Glessner" <dwglessn@collins.rockwell.com> wrote:
> 
> > Rational's Apex provides an emacs/ada-mode combination with
> > similar functionality.  It looks like they modified emacs 19.30
> > and an older ada-mode to work somewhat seemlessly with the rest
> > of the Apex tools.  There are a few quirks, but I find it much,
> > much nicer than the standard Apex editor.  I especially like
> > the "Show Usage" function.
> 
> Could you explain a bit more what the "show usage" function is about ?
> It would be interesting to see if we can put it in the official ada-mode
> distribution, if it is not already there.
> What the FSF ada-mode currently has is a "goto references" function,
> to show where an identifier/variable/subprogram is referenced and used
> all other your project. Is the "Show usage" function the same kind
> of things, or does it show how the function should be used ??

It sounds like Apex's "show usage" is similar to your ada-mode's
"goto references", assuming that an identifier comprises at least
type names, package names, record components, and enumeration
literals.  It also handles renaming.  For example, in the
following snippet, "show usage" for package xyzzy highlights
three items:

with Xyzzy;  -- Xyzzy
package Aaa is
    package X renames Xyzzy; -- Xyzzy
    A : X.Some_Type; -- X
end Aaa;


Based on the ada-mode web page, I was under the impression that
ada-mode only allowed jumping to the declaration or body of an
entity, which is quite limited when compared with a full "goto
references".  Perhaps the web page needs to be updated?

I'll give the latest ada-mode a try.

--
David




  reply	other threads:[~1999-09-13  0:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-03  0:00 need editor Elmo
1999-09-04  0:00 ` Fernand0
1999-09-04  0:00 ` David C. Hoos, Sr.
1999-09-10  0:00   ` Shawn Barber
1999-09-10  0:00     ` David Botton
1999-09-10  0:00       ` Pat Rogers
1999-09-07  0:00 ` John J Cupak Jr
1999-09-08  0:00   ` Simon Wright
1999-09-08  0:00   ` David C. Hoos, Sr.
1999-09-09  0:00     ` Robert Dewar
1999-09-10  0:00       ` David W. Glessner
1999-09-10  0:00         ` David C. Hoos, Sr.
1999-09-14  0:00           ` ada-mode (was Re: need editor) David Kristola
1999-09-14  0:00             ` Robert Dewar
1999-09-15  0:00               ` David Kristola
     [not found]             ` <37ddf8d6.814751@news.geccs.gecm.com>
1999-09-14  0:00               ` John McCabe
1999-09-14  0:00             ` Robert Dewar
1999-09-11  0:00         ` need editor Robert Dewar
1999-09-13  0:00           ` Emmanuel Briot
1999-09-13  0:00             ` Fraser Wilson
1999-09-13  0:00         ` Emmanuel Briot
1999-09-13  0:00           ` David W. Glessner [this message]
1999-09-14  0:00             ` John McCabe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox