[Emacs-ada-mode] Finding spec/body in same directory

Manuel Gomez mgrojo at gmail.com
Wed Jun 25 13:08:58 PDT 2008


Stephen Leake wrote:
>> Maybe you could systematically add "." in front of the search path,
>> probably in the hook executed when the ada-mode has been loaded.
> 
> Or modify ada-xref-get-src-dir-field. Currently, that is:
> 

> I'm not clear why it adds build-dir to the front of the path;
> apparently that was a good optimization for someone. You could replace
> that with "add '.' to front of path":
> 

This has worked for me. Either changing the ada-xref-get-src-dir-field 
function or better, adding build_dir=. to my .adp, since I'm not using 
this variable.

I tried to add src_dir=. to the adp some time before, but it was 
expanded to the full path and it didn't fill my needs. It doesn't happen 
the same for build_dir.

Thanks

--
Manuel



More information about the Emacs-ada-mode mailing list