all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#36278: 26.1; ada-mode 6.0.0 auto-casing no longer honors the casing of the declaration
@ 2019-06-18 11:59 Ludovic Brenta
  2019-06-22 19:22 ` bug#36278: update Stephen Leake
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ludovic Brenta @ 2019-06-18 11:59 UTC (permalink / raw)
  To: 36278; +Cc: ada-mode-users

Package: emacs, ada-mode
X-Debbugs-CC: ada-mode-users@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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-08-18 16:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-18 11:59 bug#36278: 26.1; ada-mode 6.0.0 auto-casing no longer honors the casing of the declaration Ludovic Brenta
2019-06-22 19:22 ` bug#36278: update Stephen Leake
2019-06-23 17:19 ` Stephen Leake
2019-07-13 21:29 ` Stephen Leake
2019-08-18 16:58 ` bug#36278: Fixed in ada-mode 6.1.1 Stephen Leake
2019-08-18 16:58 ` bug#36278: close Stephen Leake

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.