Ludovic Brenta <[email protected]> writes:

> It occurred to me that ada-mode 5 replaces ada-mode.el but not
> ada-xref.el, so that the function ada-find-file, defined in
> ada-xref.el from ada-mode 4, is still visible, but obviously doesn't
> work because the ada-mode 4 project file is missing.

Actually, the problem is the auto-loads in the installed emacs, not the
presence of the file in load-path.

You are the first to notice this; exactly why is it a problem?

Do you invoke ada-find-file directly for some reason? or load/require ada-xref?

Perhaps you have keybindings that you used with 4.01; you'll have to
review those and change them to the appropriate functions from 5.1.6.
Perhaps you could keep a log, and we could add that to a "transitioning"
chapter in the user guide.

> This leads to the wider question of how to replace ada-mode 4 with
> ada-mode 5?  Apparently ELPA is not a good answer.  

It works for everyone else.

I'll see if it helps to add a file that overrides all the 4.01 auto-loads and
declares them obsolete.

> Are there any plans to remove ada-mode 4 from a future release of
> emacs? 

Yes.

> In the mean time, is there a clean way to hide ada-mode 4 and all its
> files completely?

Not that I know of, short of actually deleting them, and editing the
autoloads file to delete those as well.

-- 
-- Stephe

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to