Gnu Emacs Ada mode 7.3.beta released.

35 views
Skip to first unread message

Stephen Leake

unread,
Jul 12, 2022, 10:31:23 AMJul 12
to
Gnu Emacs Ada mode 7.3.beta is now available in GNU ELPA devel for
beta testing.

ada-mode and wisi are now compatible with recent gnat versions. The
grammar is updated to the proposed Ada 2022 version.

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).

Incremental parse often gets confused; to recover, use M-x
wisi-reset-parser. That does a full parse of the entire buffer, which
can be noticeably slow in large buffers.

To access the beta version via Gnu ELPA, add the devel archive to
package-archives:

(add-to-list 'package-archives (cons "gnu-devel" "https://elpa.gnu.org/devel/"))

Then M-x list-packages; the beta release shows as ada-mode version
7.3beta1.0.20220711.185004, wisi version 4.0beta1.0.20220711.185552.

See the NEWS files in ~/.emacs.d/elpa/ada-mode-7.3beta* and
wisi-4.0beta*, or at https://elpa.gnu.org/packages/ada-mode.html, for
more details.

Please report success and issues to the Emacs ada-mode mailing list
https://lists.nongnu.org/mailman/listinfo/ada-mode-users.


The required Ada code requires a manual compile step, after the normal
list-packages installation:

cd ~/.emacs.d/elpa/ada-mode-7.3beta*
./build.sh
./install.sh

There's a bug in install.sh; it looks for WISI_DIR with the old
version. Copy the equivalent code from build.sh to fix it.

This requires AdaCore gnatcoll packages which you may not have
installed; see ada-mode.info Installation for help in installing them.

build.sh will take longer than in previous releases, up to several
minutes; the ada-mode LR1 parse table is now too big to store in ELPA,
so build.sh generates it.

--
-- Stephe
Reply all
Reply to author
Forward
0 new messages