unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34029: 26.1; ada-mode 6.0.0 and multi-line trailing comments
@ 2019-01-10 13:19 Ludovic Brenta
  2019-08-18 16:49 ` bug#34029: Fixed in ada-mode 6.1.0 Stephen Leake
  2019-08-18 16:49 ` bug#34029: close Stephen Leake
  0 siblings, 2 replies; 3+ messages in thread
From: Ludovic Brenta @ 2019-01-10 13:19 UTC (permalink / raw)
  To: 34029; +Cc: ada-mode-users

Package: Emacs
Version: 26.1
X-Debbugs-CC: ada-mode-users@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#34029: Fixed in ada-mode 6.1.0
  2019-01-10 13:19 bug#34029: 26.1; ada-mode 6.0.0 and multi-line trailing comments Ludovic Brenta
@ 2019-08-18 16:49 ` Stephen Leake
  2019-08-18 16:49 ` bug#34029: close Stephen Leake
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Leake @ 2019-08-18 16:49 UTC (permalink / raw)
  To: 34029

Fixed in ada-mode 6.1.0; see new user option
ada-indent-after-trailing-comment.

-- 
-- Stephe





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#34029: close
  2019-01-10 13:19 bug#34029: 26.1; ada-mode 6.0.0 and multi-line trailing comments Ludovic Brenta
  2019-08-18 16:49 ` bug#34029: Fixed in ada-mode 6.1.0 Stephen Leake
@ 2019-08-18 16:49 ` Stephen Leake
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Leake @ 2019-08-18 16:49 UTC (permalink / raw)
  To: 34029-close


-- 
-- Stephe





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-18 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-10 13:19 bug#34029: 26.1; ada-mode 6.0.0 and multi-line trailing comments Ludovic Brenta
2019-08-18 16:49 ` bug#34029: Fixed in ada-mode 6.1.0 Stephen Leake
2019-08-18 16:49 ` bug#34029: close Stephen Leake

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).