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

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

[debbugs-tracker] bug#34029: closed (26.1; ada-mode 6.0.0 and multi-line


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#34029: closed (26.1; ada-mode 6.0.0 and multi-line trailing comments)
Date: Sun, 18 Aug 2019 16:50:03 +0000

Your message dated Sun, 18 Aug 2019 09:49:34 -0700
with message-id <address@hidden>
and subject line close
has caused the debbugs.gnu.org bug report #34029,
regarding 26.1; ada-mode 6.0.0 and multi-line trailing comments
to be marked as done.

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


-- 
34029: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34029
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 26.1; ada-mode 6.0.0 and multi-line trailing comments Date: Thu, 10 Jan 2019 14:19:11 +0100
Package: Emacs
Version: 26.1
X-Debbugs-CC: address@hidden
Severity: minor

Hello,

When reindenting the code below, ada-mode indents the line marked
[WRONG], aligning its comment delimiter is aligned under that of the
preceding line.  It is my understanding that possibly "this is a
feature, not a bug" and that inserting a blank line after the
"warning" line corrects the probkel but we'd like to have an option
to disable this behavior; we have a very large code base and mass-
reindentation can break some carefully-formatted comments without
the developer noticing.

As an additional bad side-effect, comments like [WRONG] below can
easily exceed the line length limit in our coding standard.

Thanks for considering.

procedure Foo is
begin
  Call_This_Other_Procedure (Bar, Baz); -- warning: finalizes Baz
-- [WRONG] The reason why we need to call this procedure as the first step is because...
  Now_Do_The_Real_Processing;
end Foo;

--
Ludovic Brenta.



--- End Message ---
--- Begin Message --- Subject: close Date: Sun, 18 Aug 2019 09:49:34 -0700 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt)
-- 
-- Stephe


--- End Message ---

reply via email to

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