gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU ELPA] Ada-Mode version 7.3.1


From: ELPA update
Subject: [GNU ELPA] Ada-Mode version 7.3.1
Date: Wed, 02 Nov 2022 14:09:58 -0400

Version 7.3.1 of package Ada-Mode has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.

Ada-Mode describes itself as:
  major-mode for editing Ada sources

More at https://elpa.gnu.org/packages/ada-mode.html

Recent NEWS:

GNU Emacs Ada mode NEWS -- history of user-visible changes.

Copyright (C) 2014 - 2020 Free Software Foundation, Inc.

Please send ada-mode bug reports to bug-gnu-emacs@gnu.org, with
'ada-mode' in the subject. If possible, use M-x report-emacs-bug.


* Ada Mode 8.0.2

** Support building ada-mode parser with Alire.

** Support using Emacs ada-mode with Emacs eglot; uses an LSP parser
   instead of the wisi parser. Many features of ada-mode are not
   supported by eglot; See the info manual.

** gpr-query, gnat-compiler, gpr-mode each split out to a separate
   Emacs package and Alire crate.

** ada-xref-tool renamed to ada-xref-backend; now supports choice eglot.

** New user configuration variables; ada-indent-backend, ada-face-backend.

** Declared user configuration variable ada-language-version obsolete;
   it is no longer used (Ada 2022 is assumed).

** The default header comment is no longer inserted in new files by
   default; you must enable auto-insert-mode to enable that. This
   makes it easier to turn off.

** ada-mode no longer sets comment-padding; to restore previous
  behavior, add this to your ada-mode init:
  (setq-local comment-padding " ")

** ada-mode no longer sets require-final-newline; to restore previous
  behavior, add this to your ada-mode init:
  (setq-local require-final-newline t)

** ada-build-prompt-select-prj-file now takes a filename argument; it
   can be used to specify a project file on the Emacs command line:
   emacs --eval "(ada-build-prompt-select-prj-file \"hello.gpr\")" hello.adb

** In wisi project files, import_env_var=<name> can be used to inherit
   an environment variable from the Emacs process.

** Minor bug fixes.

* Ada Mode 7.3.beta
9 Jul 2022 beta testing

** Support incremental parse. Set wisi-incremental-parse-enable t to
   experiment with this; default is nil, because the parser often gets
   confused.

   When the parser gets confused (which is fairly often), use M-x
   wisi-reset-parser to recover.

   When using incremental parse, it is best to keep the number of
   errors in the file small; the parse time is proportial to the
   number of errors, and error recover is often noticeably slow .

** The Ada grammar is updated to the proposed Ada 2022 standard, and
   is now in the file ada_annex_p.wy.

** ada-end-name-optional now defaults to 't', to match the
   expectations of new Ada users. Experienced users that follow a
   style guide requiring matching end names should set this to 'nil',
   since that gives better error correction.

** New indent option add ada-indent-subprogram-is; indentation of 'is'
   in expression functions and similar subprogram declarations.
   Previously, this was ada-indent-broken; now you can set it
   separately (ie to 0).

** Indentation of 'is' and 'with' in null and abstract subprogram
   specification is now consistent with non-abstract subprogram
   specification and expression function.

** Indentation of comment in subprogram body after param_list before
   'is' matches subprogram spec;

   procedure Foo
     (A : in Integer)
   --  Computes stuff
   is ...

** ada-make-subprogram-body now inserts "null;"; this eliminates a
   syntax error, improving incremental parse. Similarly, the skeleton
   commands insert dummy names where needed to avoid syntax errors.

** New key binding prefix C-c r for the various ada-refactor commands.

** New command ada-parse-require-process starts the external parser,
   without waiting for it to respond.

** build.sh now runs wisitoken-bnf-generate to create the Ada LR1
   parse table file; it is too big to keep in ELPA. This can take a
   couple of minutes.

** New custom variable gpr-query-no-symbols allows disabling reading
   the symbol completion table from the gpr_query process. When nil,
   symbols are read in the background, but there can enough
   interference with foreground processing to be annoying. When
   non-nil, symbols are not read, and completing symbols in xref is
   disabled. Default is nil.
...
...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]