Am 30.03.2014 um 17:55 schrieb Stephen Leake <[email protected]>:
>
> I don't get this, with Ada mode 5.1.2w (my working version).
>
> Can you give a complete reproducer, starting from Emacs -Q?
1.
I first ran
$ /Applications/Emacs.app/Contents/MacOS/Emacs-10.7 -Q
which makes it use ada-mode-version 4.00. (Emacs-10.7 is
the binary for architecture x86_64, GNU Emacs 24.3.50.1.)
Then, loaded a.ads (which is Ludovic's unit, the sole entity in the
current directory)
M-x ff-find-other-file.
I get a new buffer a.adb, its contents being like the spec,
not saved, and an error, which is the last one of the following
from *Messages*:
Working...
Finding buffer a.adb...
Finding ./a.adb...
Finding /a.adb...
Finding /usr/adainclude/a.adb...
Finding /usr/local/adainclude/a.adb...
Finding /opt/gnu/adainclude/a.adb...
(New file)
ada-make-body: No package
Repeating, but first compiling the spec before invoking
M-x ff-find-other-file fixes that.
(No files need saving)
Compilation exited abnormally with code 4
Working...
Finding buffer a.adb...
Finding /Users/bauhaus/News/bug/a.adb... [2 times]
Finding ./a.adb...
Finding
/opt/GNAT2013/lib/gcc/x86_64-apple-darwin12.2.0/4.7.4/adainclude/a.adb...
Finding ./a.adb...
Finding /a.adb...
Finding /usr/adainclude/a.adb...
Finding /usr/local/adainclude/a.adb...
Finding /opt/gnu/adainclude/a.adb...
(New file)
(No files need saving)
You can run the command `ff-find-other-file' with C-c C-q o
2.
Then, in order to work with the new Ada mode, I chose
branch org.emacs.ada-mode,
c03678c5ba5a86f2da796136f8e8b1f452e932d7
[email protected] 2014-03-14T22:55:00
so as to have the latest ada-mode-version I could find (5.1.1).
I ran
$ /Applications/Emacs.app/Contents/MacOS/Emacs-10.7 -Q \
-L ~/src/pure/org.emacs.ada-mode
Repeating the above steps, I get the following *Messages*
before the command error reported last time is also present
this time:
Loading
/Applications/Emacs.app/Contents/Resources/lisp/cedet/semantic/wisent/comp.el.gz...
uncompressing comp.el.gz...done
Loading
/Applications/Emacs.app/Contents/Resources/lisp/cedet/semantic/wisent/comp.el.gz...done
Working...
ff-list-replace-env-vars: Wrong type argument: stringp, nil
Typing C-c C-c (compiling the spec) and repeating
M-x ff-find-other-file mostly fixes this part like before,
and lets me reread a body file containing the generated stub.
Compilation exited abnormally with code 4
Working...
Finding buffer a.adb...
Finding ./a.adb...
(New file)
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org