On 29 Dec 2013, at 18:54, [email protected] wrote: > Simon Wright <[email protected]> writes:
>> I haven’t used ELPA before. I had trouble with ada-imenu and gpr-mode; >> got going by following the advice at >> http://www.emacswiki.org/emacs/ELPA to put >> (setq package-enable-at-startup nil) >> (package-initialize) >> at/near the start of ~/.emacs, > > What version of Emacs are you running? GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-13 on bob.porkrind.org > This is only required for Emacs < 24.3 Here, the load-path at the start of .emacs doesn’t include ~/.emacs.d/elpa/ada-mode-5.0 > Which means other things may not work. > >> and then adding >> (require ‘ada-imenu) >> (which calls in imenu & ada-mode) so (require ‘ada-mode), if it works at all, is going to find the wrong ada-mode? > Yes; ada-imenu is not enabled by default. > > This should work near the bottom of ada-mode.el, where other files are > required: > > (when (featurep 'imenu) > (require 'ada-imenu)) This should work fine (if people want it? I find it very useful) _______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
