GNU bug report logs - #33742
26.1; ada-mode 6.0.0 inserts white space into empty lines

Previous Next

Packages: ada-mode, emacs;

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

Date: Fri, 14 Dec 2018 15:29:02 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 33742 in the body.
You can then email your comments to 33742 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#33742; Package emacs, ada-mode. (Fri, 14 Dec 2018 15:29:02 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. (Fri, 14 Dec 2018 15:29:03 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 inserts white space into empty lines
Date: Fri, 14 Dec 2018 16:28:40 +0100
Package: emacs, ada-mode
X-Debbugs-CC: ada-mode-users <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#33742; Package emacs, ada-mode. (Sat, 15 Dec 2018 22:39:01 GMT) Full text and rfc822 format available.

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

From: Simon Wright <simon.j.wright <at> mac.com>
To: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
Cc: 33742 <at> debbugs.gnu.org, ada-mode-users <at> nongnu.org
Subject: Re: [Ada-mode-users] bug#33742: 26.1; ada-mode 6.0.0 inserts white
 space into empty lines
Date: Sat, 15 Dec 2018 22:38:18 +0000
On 14 Dec 2018, at 15:28, Ludovic Brenta <ludovic <at> ludovic-brenta.org> wrote:
> 
> Package: emacs, ada-mode
> X-Debbugs-CC: ada-mode-users <at> 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.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#33742; Package emacs, ada-mode. (Mon, 17 Dec 2018 15:38:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
To: Simon Wright <simon.j.wright <at> mac.com>
Cc: 33742 <at> debbugs.gnu.org, ada-mode-users <at> nongnu.org
Subject: Re: [Ada-mode-users] bug#33742: 26.1; ada-mode 6.0.0 inserts white
 space into empty lines
Date: Mon, 17 Dec 2018 16:37:45 +0100
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.




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

Notification sent to Ludovic Brenta <ludovic <at> ludovic-brenta.org>:
bug acknowledged by developer. (Sat, 23 Mar 2019 18:02:03 GMT) Full text and rfc822 format available.

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

From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 33742-close <at> debbugs.gnu.org
Subject: close Emacs ada-mode bug 33742
Date: Sat, 23 Mar 2019 09:42:49 -0800
-- 
-- Stephe




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

This bug report was last modified 5 years and 7 days ago.

Previous Next


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