GNU bug report logs - #34029
26.1; ada-mode 6.0.0 and multi-line trailing comments

Previous Next

Package: emacs;

Reported by: Ludovic Brenta <ludovic <at> ludovic-brenta.org>

Date: Thu, 10 Jan 2019 13:20:01 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 34029 in the body.
You can then email your comments to 34029 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to ada-mode-users <at> nongnu.org, bug-gnu-emacs <at> gnu.org:
bug#34029; Package emacs. (Thu, 10 Jan 2019 13:20:01 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. (Thu, 10 Jan 2019 13:20:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
To: bug-gnu-emacs <at> gnu.org
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: ada-mode-users <at> nongnu.org
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#34029; Package emacs. (Sun, 18 Aug 2019 16:50:02 GMT) Full text and rfc822 format available.

Message #8 received at 34029 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 34029 <at> debbugs.gnu.org
Subject: Fixed in ada-mode 6.1.0
Date: Sun, 18 Aug 2019 09:49:02 -0700
Fixed in ada-mode 6.1.0; see new user option
ada-indent-after-trailing-comment.

-- 
-- Stephe




Reply sent to Stephen Leake <stephen_leake <at> stephe-leake.org>:
You have taken responsibility. (Sun, 18 Aug 2019 16:50:03 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Brenta <ludovic <at> ludovic-brenta.org>:
bug acknowledged by developer. (Sun, 18 Aug 2019 16:50:04 GMT) Full text and rfc822 format available.

Message #13 received at 34029-close <at> debbugs.gnu.org (full text, mbox):

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 34029-close <at> debbugs.gnu.org
Subject: close
Date: Sun, 18 Aug 2019 09:49:34 -0700
-- 
-- Stephe




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 16 Sep 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.