GNU nano - Bugs: bug #57404, justification falters when tabs...
You are not allowed to post comments on this tracker with your current authentication level.
bug #57404: justification falters when tabs and spaces are mixed
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Fri 13 Dec 2019 11:24:40 AM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Tue 24 Dec 2019 09:13:58 AM UTC, comment #5: |
Benno Schulenberg <bens> |
Tue 17 Dec 2019 04:11:05 PM UTC, comment #4: Refixed in git, commit b00c1d61. Now a ^J in the original recipe rewraps all four lines into a single paragraph, because it considers any mix of tabs and spaces that results in the same displacement of the succeeding text as effectively the same. |
Benno Schulenberg <bens> |
Tue 17 Dec 2019 03:00:05 PM UTC, comment #3: On second thought: the fix is wrong. Take, for example, the following piece of text, where the first line is indented with one tab and all the subsequent lines with two spaces each:
|
Benno Schulenberg <bens> |
Tue 17 Dec 2019 11:33:29 AM UTC, comment #2: Fixed in git, commit 594ef222. It restores the pre-2.9.8 behavior: lines indented with spaces are not merged with lines that are indented with tabs.
|
Benno Schulenberg <bens> |
Fri 13 Dec 2019 01:19:57 PM UTC, comment #1: Proposed patch is attached. |
Benno Schulenberg <bens> |
Fri 13 Dec 2019 11:24:40 AM UTC, original submission:
To reproduce, first create a file 'mixed' with the following content:
|
Benno Schulenberg <bens> |
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 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-12-24 | bens | Open/Closed | Open | Closed | |
2019-12-17 | bens | Status | In Progress | Fixed | |
2019-12-17 | bens | Status | Fixed | In Progress | |
2019-12-17 | bens | Status | In Progress | Fixed | |
2019-12-13 | bens | Attached File | - | Added 0001-justify-distinguish-between-tabs-and-spaces-when-com.patch, #48049 | |
Status | None | In Progress | |||
Assigned to | None | bens |
Powered by Savane 3.13-d3ae.
Corresponding source code
Released in 4.7.