cd ~/.emacs.d/elpa/ada-mode-i.j.k ./build.sh ./install.sh
Access git repository, etc.
To clone the git repository, use "git clone -b org.emacs.ada-mode"; otherwise git uses the non-existent branch "master". After cloning that branch, run git_checkout.sh to checkout wisitoken, sal, etc.
To retrieve the beta test version from Gnu ELPA, add the devel repository to package-archives:
(add-to-list 'package-archives (cons "gnu-devel" "https://elpa.gnu.org/devel/"))
All of the associated Ada code compiles via Alire; crate emacs_ada_mode. build.sh and install.sh use Alire if you have it in PATH.
Using the AdaCore ada_language_server (als) via eglot is supported, for cross reference (als does not yet support all the other features we'd like to have). als is installed with GNATStudio (which ada-mode will find by default), or can be built with Alire. If you build it with Alire, either put it in PATH, or set gnat-lsp-server-exec. To try it:
(setq-default ada-face-backend none) (setq-default ada-indent-backend none) (setq-default ada-xref-backend eglot)
Not tested with lsp-mode. You can set ada-*-backend to 'other to expermiment with that, or tree-sitter, or some other backend.
Incremental parse is provided. It still has some bugs, so it is not enabled by default. To try it:
(setq-default wisi-incremental-parse-enable t)
Please report success or issues to the ada-mode mailing list
Ada mode uses a parser for the indentation, fontification, and navigation engine. The tools used to produce the Ada parser are included in the ada-mode and wisi ELPA packages; the upstream development version is available from the git repository in the Emacs ada-mode savannah project.
Subscribe to the Emacs ada-mode-users mailing list, for developer and user discussions of Ada mode. WisiToken is discussed either on the Ada mode mailing list, or the newsgroup comp.lang.ada.
mailing list archive
Please report bugs both to the mailing list and to the Emacs bug list or Emacs debbugs. Put Package: emacs, ada-mode as the first line of the bug message.
my home page Author : Stephen Leake Valid HTML 5 Last modified: Tue Nov 1 14:18:07 Pacific Daylight Time 2022