TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Date: Sat, 16 Jan 1999 16:45:06 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
Organization: CelsiusTech
From: Daniel Wengelin <[log in to unmask]>
Parts/Attachments: text/plain (17 lines)
I have downloaded Emacs 20.2.1 and emacs-ada-mode 2.23.

I am having problems with the Xref function. When I try to Goto Declaration of
something, I often get the message "file C doesn't exist". It appears as if it
only runs into trouble when the file the declaration is in has been prefixed
with a full path by gnatf. I even get the feeling that the C in the above statement
is the disk, as in C: (I edited the .xrb file and found that I could set it to W or anything)

It appears as if the failing function is ada-xref-get-filename in the ada-xref.el lisp file.
M. Laurent Guerby has inserted a cryptic comment in the code where the bug
should be, but I fail to interpret it and with my total lack of LISP knowledge
I cannot get any further.

Please help.

                        Cheers, Dan