Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

All power corrupts, but we need electricity.


devel / comp.lang.ada / Gnu Emacs Ada mode 8.0.4 released.

SubjectAuthor
o Gnu Emacs Ada mode 8.0.4 released.Stephen Leake

1
Gnu Emacs Ada mode 8.0.4 released.

<dbe160a1-ea2f-4fbe-86e5-aec162bb118bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=9286&group=comp.lang.ada#9286

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:2c0d:b0:535:1c20:920f with SMTP id lc13-20020a0562142c0d00b005351c20920fmr1427216qvb.7.1674653278033;
Wed, 25 Jan 2023 05:27:58 -0800 (PST)
X-Received: by 2002:a05:6808:df7:b0:35a:9331:8cbb with SMTP id
g55-20020a0568080df700b0035a93318cbbmr2149230oic.201.1674653277729; Wed, 25
Jan 2023 05:27:57 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 25 Jan 2023 05:27:57 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=135.180.197.170; posting-account=W2gdXQoAAADxIuhBWhPFjUps3wUp4RhQ
NNTP-Posting-Host: 135.180.197.170
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dbe160a1-ea2f-4fbe-86e5-aec162bb118bn@googlegroups.com>
Subject: Gnu Emacs Ada mode 8.0.4 released.
From: stephen.leake84@gmail.com (Stephen Leake)
Injection-Date: Wed, 25 Jan 2023 13:27:58 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 58
 by: Stephen Leake - Wed, 25 Jan 2023 13:27 UTC

Gnu Emacs Ada mode 8.0.4 is now available in GNU ELPA.

All Ada mode executables can now be built with Alire
(https://alire.ada.dev/); this greatly simplifies that process.

gpr-query and gpr-mode are split out into separate GNU ELPA packages.
You must install them separately (Emacs install-package doesn't
support "recommended packages" like Debian does).

Ada mode can now be used with Eglot; this is controlled by new variables:

ada-diagnostics-backend - one of wisi, eglot, none

ada-face-backend - one of wisi, eglot, none

ada-indent-backend - one of wisi, eglot, none

ada-statement-backend - one of wisi, eglot, none

ada-xref-backend - one of gnat, gpr_query, eglot, none

The diagnostic, face, indent, and statement backends default to wisi
if the wisi parser is found in PATH, to eglot if the Ada LSP server is
found, and none otherwise. The xref backend defaults to gpr_query if
the gpr_query executable in PATH, to gnat otherwise.

ada-diagnostics-backend controls the source of compilation error
messages while editing.

ada-statement-backend controls statement motion; forward-sexp,
wisi-goto-statement-end, etc. ada-xref-backend controls
wisi-goto-spec/body and Emacs xref commands.

In addition, name completion is provided by eglot if any of the other
backends are using eglot; eglot completion is always better than wisi.

The current AdaCore language server (version 23) supports face but not
indent. The current version of eglot (1.10) does not support face. The
Language Server Protocol does not support statment motion. So for now,
eglot + ada_language_server only provides xref and completion.

The AdaCore language server ada_language_server 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.

I have not tested ada-mode with lsp-mode. You can set ada-*-backend to
'other to expermiment with that, or tree-sitter, or some other
backend. tree-sitter will be fully supported in the next ada-mode
release.

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

If you have Alire installed, these scripts use it.


devel / comp.lang.ada / Gnu Emacs Ada mode 8.0.4 released.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor