GNU nano - Bugs: bug #46361, Ctrl+J keeps the trailing space(s)
You are not allowed to post comments on this tracker with your current authentication level.
bug #46361: Ctrl+J keeps the trailing space(s)
Submitter: | Federico Bruni <fedelibre> | ||
Submitted: | Mon 02 Nov 2015 07:32:31 AM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | astyanax | Open/Closed: | Closed |
Fri 26 Feb 2016 09:14:47 AM UTC, comment #3: |
Benno Schulenberg <bens> |
Thu 25 Feb 2016 09:58:00 PM UTC, comment #2: Not to step on Benno's very correct statement here (as we'd never make nano become incompatible with Pico by default), but I have been bitten by this particular circumstance editing repeatedly in the last couple months. I implemented this as an option for .nanorc only, called justifytrim. It went in with nano 2.5.3. |
Chris Allegretta <astyanax> |
Mon 02 Nov 2015 08:35:38 AM UTC, comment #1: Thanks for reporting. Yes, I agree that this looks ugly when trailing whitespace is highlighted. But...
|
Benno Schulenberg <bens> |
Mon 02 Nov 2015 07:32:31 AM UTC, original submission:
I hit Ctrl+J to reflow the text (actual breaks, not wraps), but the space(s) before the word which goes to the next line is not deleted. I noticed this clearly thanks to 'git diff'.
|
Federico Bruni <fedelibre> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-02-27 | bens | Open/Closed | Open | Closed | |
2016-02-25 | astyanax | Status | Wont Fix | Fixed | |
Assigned to | None | astyanax | |||
2015-11-02 | bens | Status | None | Wont Fix |
Powered by Savane 3.13-4448.
Corresponding source code
There's no stepping done. :)
I will probably start using 'justifytrim' myself. Losing a double space now and then when rejustifying things, I can probably live with -- having those glaring red things (in my default syntax) at the end of lines gone will have more weight.