unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
To: 35143@debbugs.gnu.org
Cc: ada-mode-users@nongnu.org
Subject: bug#35143: 26.1; ada-mode 6.1.0 moves point twice after begin RET
Date: Thu, 04 Apr 2019 17:08:29 +0200	[thread overview]
Message-ID: <f240ec6ab70193b11e61819b9e2effc6@ludovic-brenta.org> (raw)

X-Debbugs-CC: ada-mode-users@nongnu.org
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.





             reply	other threads:[~2019-04-04 15:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-04 15:08 Ludovic Brenta [this message]
     [not found] ` <handler.35143.B.15543905268566.ack@debbugs.gnu.org>
2019-04-04 15:11   ` bug#35143: 26.1; ada-mode 6.1.0 moves point twice after begin RET Ludovic Brenta
2019-05-24 16:52 ` Stephen Leake
2019-05-24 16:56 ` Stephen Leake
2019-08-18 16:53 ` bug#35143: Fixed in ada-mode 6.1.0 Stephen Leake
2019-08-18 16:54 ` bug#35143: close Stephen Leake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f240ec6ab70193b11e61819b9e2effc6@ludovic-brenta.org \
    --to=ludovic@ludovic-brenta.org \
    --cc=35143@debbugs.gnu.org \
    --cc=ada-mode-users@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).