unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33742: 26.1; ada-mode 6.0.0 inserts white space into empty lines
@ 2018-12-14 15:28 Ludovic Brenta
  2018-12-15 22:38 ` bug#33742: [Ada-mode-users] " Simon Wright
  2019-03-23 17:42 ` bug#33742: close Emacs ada-mode bug 33742 Stephen Leake
  0 siblings, 2 replies; 4+ messages in thread
From: Ludovic Brenta @ 2018-12-14 15:28 UTC (permalink / raw)
  To: 33742; +Cc: ada-mode-users

Package: emacs, ada-mode
X-Debbugs-CC: ada-mode-users@nongnu.org

Hello,

While testing ada-mode 6.0.0 I notice that indent-region inserts
spaces into empty lines, making them non-empty.  I have found no
variable to disable this behavior; it is certainly a change
relative to ada-mode 5.2.2 that can disrupt large code bases with
unwanted diffs visible in version control and especially merges.
So, please have ada-mode keep empty lines empty.

-- 
Ludovic Brenta.





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

* bug#33742: [Ada-mode-users] bug#33742: 26.1; ada-mode 6.0.0 inserts white space into empty lines
  2018-12-14 15:28 bug#33742: 26.1; ada-mode 6.0.0 inserts white space into empty lines Ludovic Brenta
@ 2018-12-15 22:38 ` Simon Wright
  2018-12-17 15:37   ` Ludovic Brenta
  2019-03-23 17:42 ` bug#33742: close Emacs ada-mode bug 33742 Stephen Leake
  1 sibling, 1 reply; 4+ messages in thread
From: Simon Wright @ 2018-12-15 22:38 UTC (permalink / raw)
  To: Ludovic Brenta; +Cc: 33742, ada-mode-users

On 14 Dec 2018, at 15:28, Ludovic Brenta <ludovic@ludovic-brenta.org> wrote:
> 
> Package: emacs, ada-mode
> X-Debbugs-CC: ada-mode-users@nongnu.org
> 
> Hello,
> 
> While testing ada-mode 6.0.0 I notice that indent-region inserts
> spaces into empty lines, making them non-empty.  I have found no
> variable to disable this behavior; it is certainly a change
> relative to ada-mode 5.2.2 that can disrupt large code bases with
> unwanted diffs visible in version control and especially merges.
> So, please have ada-mode keep empty lines empty.

I hadn't noticed this because I have delete-trailing-whitespace set in before-save-hook.






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

* bug#33742: [Ada-mode-users] bug#33742: 26.1; ada-mode 6.0.0 inserts white space into empty lines
  2018-12-15 22:38 ` bug#33742: [Ada-mode-users] " Simon Wright
@ 2018-12-17 15:37   ` Ludovic Brenta
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Brenta @ 2018-12-17 15:37 UTC (permalink / raw)
  To: Simon Wright; +Cc: 33742, ada-mode-users

So do we but additionally we have show-trailing-whitespace set to t,
so the trailing whitespace is visible to us before we save.

-- 
Ludovic Brenta.





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

* bug#33742: close Emacs ada-mode bug 33742
  2018-12-14 15:28 bug#33742: 26.1; ada-mode 6.0.0 inserts white space into empty lines Ludovic Brenta
  2018-12-15 22:38 ` bug#33742: [Ada-mode-users] " Simon Wright
@ 2019-03-23 17:42 ` Stephen Leake
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Leake @ 2019-03-23 17:42 UTC (permalink / raw)
  To: 33742-close


-- 
-- Stephe





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

end of thread, other threads:[~2019-03-23 17:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-14 15:28 bug#33742: 26.1; ada-mode 6.0.0 inserts white space into empty lines Ludovic Brenta
2018-12-15 22:38 ` bug#33742: [Ada-mode-users] " Simon Wright
2018-12-17 15:37   ` Ludovic Brenta
2019-03-23 17:42 ` bug#33742: close Emacs ada-mode bug 33742 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).