GNU bug report logs -
#38566
26.1; ada-mode 6.2.1 incorrect indentation with partial parsing
Previous Next
Reported by: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
Date: Wed, 11 Dec 2019 14:42: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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38566 in the body.
You can then email your comments to 38566 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
ada-mode-users <at> nongnu.org, bug-gnu-emacs <at> gnu.org, stephen_leake <at> stephe-leake.org
:
bug#38566
; Package
emacs, ada-mode
.
(Wed, 11 Dec 2019 14:42:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ludovic Brenta <ludovic <at> ludovic-brenta.org>
:
New bug report received and forwarded. Copy sent to
ada-mode-users <at> nongnu.org, bug-gnu-emacs <at> gnu.org, stephen_leake <at> stephe-leake.org
.
(Wed, 11 Dec 2019 14:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
X-Debbugs-CC: ada-mode-users <at> nongnu.org
Package: emacs, ada-mode
Version: 26.1
Severity: minor
When we visit one of our larger source files which compiles and
is not yet modified, move point to after a "begin" keyword and hit
RET, ada-mode incorrectly re-indents the "begin" keyword and the
next (new and empty) line.
Expected:
declare
procedure Action (Airspace : Env_Volume.T; Info :
Curtain.Profile.Index.T) is
[elided]
end Action;
procedure Action_Airspaces is new
Curtain.Profile.Index.Visit_Unskipped_Airspaces_G;
begin* -- point is here initially; hit RET
* -- point should come here after RET
Airspace_Entry_Times_Set.Empty (Airspace_First_Entry_Times,
Profile_Query);
-- The query causes the set to be initialised or resized if
necessary.
Action_Airspaces (Profile.Curtain, Profile_Query);
end;
Actual:
declare
procedure Action (Airspace : Env_Volume.T; Info :
Curtain.Profile.Index.T) is
[elided]
end Action;
procedure Action_Airspaces is new
Curtain.Profile.Index.Visit_Unskipped_Airspaces_G;
begin -- incorrectly changed indentation after RET
* -- point is here after RET
Airspace_Entry_Times_Set.Empty (Airspace_First_Entry_Times,
Profile_Query);
-- The query causes the set to be initialised or resized if
necessary.
Action_Airspaces (Profile.Curtain, Profile_Query);
end;
If I forcibly disable partial parsing in this file, the bug disappears.
--
Ludovic Brenta.
Added tag(s) pending.
Request was from
Ludovic Brenta <ludovic <at> ludovic-brenta.org>
to
control <at> debbugs.gnu.org
.
(Fri, 13 Dec 2019 13:29:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org, stephen_leake <at> stephe-leake.org
:
bug#38566
; Package
emacs, ada-mode
.
(Fri, 31 Jan 2020 14:09:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 38566 <at> debbugs.gnu.org (full text, mbox):
fixed in 7.0.1
--
-- Stephe
Reply sent
to
Stephen Leake <stephen_leake <at> stephe-leake.org>
:
You have taken responsibility.
(Fri, 31 Jan 2020 14:10:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ludovic Brenta <ludovic <at> ludovic-brenta.org>
:
bug acknowledged by developer.
(Fri, 31 Jan 2020 14:10:03 GMT)
Full text and
rfc822 format available.
Message #15 received at 38566-close <at> debbugs.gnu.org (full text, mbox):
--
-- Stephe
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 29 Feb 2020 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 29 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.