GNU bug report logs -
#36278
26.1; ada-mode 6.0.0 auto-casing no longer honors the casing of the declaration
Previous Next
Reported by: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
Date: Tue, 18 Jun 2019 12:00:02 UTC
Severity: minor
Found in version 26.1
Done: Stephen Leake <stephen_leake <at> stephe-leake.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 36278 <at> debbugs.gnu.org (full text, mbox):
Can you post a working example showing ada-mode 5.2 respecting the
casing of the declaration? As far as I know, that has never been
supported by ada-mode.
The GNAT compiler casing check does enforce that.
The ada-mode parser does not do name resolution, so it cannot
associate a variable use with a variable declaration, so it is not
possible to implement this.
We could automate declaring the exceptions; the parser can find all
variable declarations in a file, and check to see if they need a casing
exception.
If there are a lot of exceptions that are single-file only, we could
support per-file exceptions, by declaring them in the Emacs Local
Variables.
--
-- Stephe
This bug report was last modified 5 years and 282 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.