emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#33743: closed (26.1; ada-mode 6.0.0 indentation of


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#33743: closed (26.1; ada-mode 6.0.0 indentation of comments before "then")
Date: Mon, 25 Mar 2019 16:42:01 +0000

Your message dated Mon, 25 Mar 2019 08:40:58 -0800
with message-id <address@hidden>
and subject line update
has caused the debbugs.gnu.org bug report #33743,
regarding 26.1; ada-mode 6.0.0 indentation of comments before "then"
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
33743: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33743
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 26.1; ada-mode 6.0.0 indentation of comments before "then" Date: Fri, 14 Dec 2018 16:39:09 +0100
Package: emacs, ada-mode
X-Debbugs-CC: address@hidden

Hello,

With ada-mode 6.0.0, comments appearing on a line of their on before "then" are indented like "then"; we think they should be indented one more level:

procedure Comment_Indentation is
begin
  if A
    -- This comment is indented correctly
    and then B
  -- This comment is indented incorrectly, should be as above
  then
    -- This comment is indented correctly
    null;
  elsif C
    -- This comment is indented correctly
    and then D
  -- This comment is indented incorrectly, should be as above
  then
    null;
  end if;
end Comment_Indentation;

This "incorrect" indentation is a change from ada-mode 5.2.1 which can
affect many lines in our large code base.  In 5.2.1, all comments are
indented in the same way.

I have browsed the ada-mode customization variables but did not see
which one, if any, allows us to customize this behavior.  (note: we
set ada-indent to 2).

--
Ludovic Brenta.



--- End Message ---
--- Begin Message --- Subject: update Date: Mon, 25 Mar 2019 08:40:58 -0800 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt)
-- 
-- Stephe


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]