Subject: bug#35143: closed (close)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 18 Aug 2019 16:55:02 +0000

Your bug report

#35143: 26.1; ada-mode 6.1.0 moves point twice after begin RET

which was filed against the emacs, ada-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
35143: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35143
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: close
From: Stephen Leake <[email-masked]>
To: [email-masked]
Date: Sun, 18 Aug 2019 09:54:04 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

-- 
-- Stephe

Subject: 26.1; ada-mode 6.1.0 moves point twice after begin RET
From: Ludovic Brenta <[email-masked]>
To: [email-masked]
Date: Thu, 04 Apr 2019 17:08:29 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

X-Debbugs-CC: [email-masked]
Package: emacs, ada-mode
Version: 26.1
Severity: minor

Visit a file foo.adb consisting of:

procedure Foo is
begin
end Foo;

Now place point after "begin" and type RET.

ada-mode inserts a newline but also moves point an
additional line, on the "e" of "end".  A variant of
this bug is even more severe: go up one line (into the
empty line) and type:

declare RET
I : Integer; RET
begin RET

Now, point is not only moved one line down but also the
"end Foo;" is indented to the right.

-- 
Ludovic Brenta.