1 Jun 2006 10:38
Re: Emacs 22 (CVS) and ada-find-**-references
Jérôme <j.haguet <at> cadwin.com>
2006-06-01 08:38:28 GMT
2006-06-01 08:38:28 GMT
Hello
I found a workaround : I added a change-directory to build_dir before
to start gnat find. I will try to go deeper inside compilation-mode
later.
See diff file below.
As there were quite few answers, it would be interesting to know what
IDE is the one you prefer to work with gnat/gcc on Windows (GPS ?,
Emacs/ada-mode ?, ...)
Please feel free to give your opinion.
*** c:/emacs-22/lisp/progmodes/ada-xref.el.orig Mon May 01 13:44:02
2006
--- c:/emacs-22/lisp/progmodes/ada-xref.el Wed May 31 14:19:53 2006
***************
*** 895,901 ****
(concat "'\"" (substring entity 1 -1) "\"'"))
entity))
(switches (ada-xref-get-project-field 'gnatfind_opt))
! (command (concat "gnat find " switches " "
quote-entity
(if file (concat ":"
(file-name-nondirectory file)))
(if line (concat ":" line))
--- 895,903 ----
(concat "'\"" (substring entity 1 -1) "\"'"))
entity))
(switches (ada-xref-get-project-field 'gnatfind_opt))
(Continue reading)
RSS Feed