1 GNU Emacs Ada mode NEWS -- history of user-visible changes.
3 Copyright (C) 2014 Free Software Foundation, Inc.
4 See the end of the file for license conditions.
6 Please send Emacs Ada mode bug reports to bug-gnu-emacs@gnu.org, with
7 'ada-mode' in the subject. If possible, use M-x report-emacs-bug.
13 ** New option ada-indent-comment-gnat matches the GNAT style check for
14 comments in all cases (previously, there were some cases where the
15 comment indent algorithm did not match the GNAT check).
17 ** New menu command "Show source file search path"; displays
18 compilation-search-path in a buffer.
20 ** Adding missing grammar statements to allow removing parens around
21 conditional and quantified expressions.
23 ** Key binding for ada-case-create-partial-exception in ada-mode
24 changed to C-c C-M-y; this is easier to type, and matches the key
27 ** ada-case-keyword changed to accept the symbols 'lower-case,
28 'upper-case instead of the functions downcase-word, upcase-word.
30 ** ada-case-identifier changed to accept the symbols 'mixed-case,
31 'lower-case, 'upper-case instead of the functions 'ada-mixed-case,
32 'ada-lower-case, 'ada-upper-case.
34 ** ada-fix-add-context-clause now sorts "limited with" and "private
35 with" clauses after other clauses.
37 ** ada-align now aligns '=>' in case expressions.
39 ** ada-align-paramlist now handles access function parameters:
43 Preference : access function (A, B : Integer) return Boolean);
45 ** ada-next-statement-keyword now moves to matching close paren if on
46 open paren, ada-prev-statement-keyword moves from close paren to
49 ** New hook ada-prj-parse-hook, run from ada-parse-prj-file.
51 ** GPR mode now does case adjust similar to Ada mode.
53 ** gpr parser handles nested case statements without blowing up.
55 ** gpr parser handles package renames
62 ** requires OpenToken 6.0
64 ** ada-align handle identifiers that start with Ada keywords
66 ** functions for ada-case-identifier now take three args: start, end,
69 ** parsing is not required by find-other-file if the current buffer is
70 larger than wisi-size-threshold
77 ** add ada-find-file that prompts for a file from the current project,
80 ** fix bug that prevented
81 Y : Boolean := Boolean'(if True then False);
83 ** add ada-create-select-default-prj, to simplify working with small
86 ** Handle deleting whitespace between words, inserting whitespace in
87 the middle of a word properly.
89 ** Change ada-case-adjust to capitalize words in comments and strings
90 by default; C-u adjusts case as if code.
92 ** allow 'raise' in expressions for GNAT GPL 2014 aspects
94 ** move all except keyword face highighting to grammar; much more
95 accurate, easier to maintain, simpler, faster.
97 ** delete gnatinspect support; gpr_query is better
104 ** improve syntax highlighting of names after 'of', 'new', 'renames'
106 ** fix ada-format-paramlist to handle 'aliased' keyword (new in Ada
107 2012), and 'not null' without 'access'.
109 ** fix ada-find-other-file in separate bodies; now navigates to the
112 ** restore ada-indent-newline-indent for [return]
117 ** add C-c <, C-c >; goto-declaration-start, -end
119 ** improve parsing speed significantly
124 ** support expression functions
126 ** beginning-of-defun-function, end-of-defun-function are now set. A
127 "defun" is a generic, package, protected, subprogram, or task spec
130 ** C-c C-s is now bound to ada-goto-previous-pos, which goes to the
131 first position in ada-goto-pos-ring. Most navigation functions set
132 ada-goto-pos-ring. This allows easy navigation back to the start of
133 a cross-reference chain.
135 ** xref tool error handlers no longer show the xref tool buffer; the
136 new Ada menu item 'show xref tool buffer' can be used instead.
138 ** The parser supports more deeply nested case statements.
143 ** more GNAT error message auto-fixes
145 ** support aspects on subprogram declarations; format same as SPARK examples.
147 ** fix bug in ada-syntax-propertize that caused query-replace to screw up
149 ** inhibit reparse due to case adjust; case adjust entire buffer is
152 ** Non-ASCII characters supported in Ada mode buffers, including GNAT
158 ** fix another packaging bug; forgot to add files to ELPA git!
163 ** require wisi-1.0.2, to fix packaging bug
165 ** gnat-find now called with -a to include read-only .ali files in the results.
170 ** Emacs 24.2 supported, via cl-lib in Gnu ELPA
172 ** Better handling of aspects.
174 ** 'record' is aligned with 'type' in derived types
176 ** Several minor indentation bugs have been fixed.
178 ** Added "2.2 Upgrading from previous versions" to the user guide.
180 ** ada-align now properly handles subprograms with the opening paren
181 on the same line as the preceding code and code on the same line as
184 function Foo (Param_1 : Integer;
185 Param_2 : Integer) return Integer;
187 ** When no project file is selected, the default variables are
188 consistently used instead. Previously, the default variables were
189 only used when parsing a project file.
191 ** info files are properly visible in main info menu
193 ** 'C-c ;' used to run `comment-dim', which is bound to 'M-;' in the
194 global keymap. 'C-c ;' now gives an error with a message saying
200 First public release, via ELPA
205 ** first release in ELPA
207 ** Previous version was 4.00, in Emacs core. 5.0.1 is a complete
208 rewrite, using a generalized LALR parser that caches syntactic
209 information in text properties.