GNU bug report logs - #36278
26.1; ada-mode 6.0.0 auto-casing no longer honors the casing of the declaration

Previous Next

Packages: ada-mode, emacs;

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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stephen Leake <stephen_leake <at> stephe-leake.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#36278: closed (26.1; ada-mode 6.0.0 auto-casing no longer
 honors the casing of the declaration)
Date: Sun, 18 Aug 2019 16:59:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 18 Aug 2019 09:58:37 -0700
with message-id <86a7c6tnpe.fsf <at> stephe-leake.org>
and subject line close
has caused the debbugs.gnu.org bug report #36278,
regarding 26.1; ada-mode 6.0.0 auto-casing no longer honors the casing of the declaration
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
36278: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36278
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; ada-mode 6.0.0 auto-casing no longer honors the casing of the
 declaration
Date: Tue, 18 Jun 2019 13:59:11 +0200
Package: emacs, ada-mode
X-Debbugs-CC: ada-mode-users <at> nongnu.org
Severity: minor

Hello,

In ada-mode 5.2, auto-casing honors the casing of the declaration of an
entity but ada-mode 6.2 does not; instead it forces the user to create
a casing exception on every declaration that uses "non-standard" casing.
In our large code base this causes frustration as programmers often
introduce local upper-case acronyms to shorten some names, e.g.

procedure A (The_Flight : in Flight.T) is
   FTFX : Flight.Fixed_Info.T renames The_Flight.Fixed_Info;
begin
   FTFX.Foo := True;
end A;

Supposing a procedure A that is hundreds of lines long with dozens of
uses of FTFX, ada-mode 6.0 is unhelpful when forcing the casing down
to Ftfx.  Adding casing exceptions for such local uses is not really
appealing.

Would it be difficult to use casing-as-declaration by default with the
new parser in 6.x?

-- 
Ludovic Brenta.


[Message part 3 (message/rfc822, inline)]
From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 36278-close <at> debbugs.gnu.org
Subject: close
Date: Sun, 18 Aug 2019 09:58:37 -0700
-- 
-- 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.