GNU nano - Bugs: bug #49959, [Request] do softwrap at word...
You are not allowed to post comments on this tracker with your current authentication level.
bug #49959: [Request] do softwrap at word boundaries instead of at screen's edge
Submitter: | Nicholas Boel <accession> | ||
Submitted: | Fri 30 Dec 2016 09:45:30 PM UTC | ||
Votes: | 7 | ||
Severity: | 1 - Wish | Status: | Fixed |
Assigned to: | dolorous | Open/Closed: | Closed |
Jump to the original submission
Sat 22 Jul 2017 07:08:28 PM UTC, comment #15: |
Benno Schulenberg <bens> |
Tue 11 Jul 2017 01:45:13 PM UTC, comment #14: Fixed in git, commit bb4d0d54. Feature will appear in 2.8.6 in about a week. |
Benno Schulenberg <bens> |
Wed 21 Jun 2017 09:15:47 AM UTC, comment #13: No need to vote. Giving positive feedback here or on the devel list is good enough. :) |
Benno Schulenberg <bens> |
Tue 20 Jun 2017 07:28:30 PM UTC, comment #12: FYI, tested more extensively after work today, utilizing the patched nano-2.8.4 as an external editor for an offline message reader and a newsgroup reader as well.
|
Nicholas Boel <accession> |
Tue 20 Jun 2017 04:42:44 PM UTC, comment #11: Rishabh,
|
David Lawrence Ramsey <dolorous> |
Tue 20 Jun 2017 04:27:41 PM UTC, comment #10: Posting the mail that Benno is talking about in comment #3. It is return by me as a reply to comment #3, with slight changes which is now irrelevant changes. Primarily, I came across an issue in the patch written by David.
|
Rishabh Dave <prongs> |
Tue 20 Jun 2017 02:52:02 PM UTC, comment #9: Yes. Hard wrapping and softwrapping are two different things: hard wrapping actually changes the text, while softwrap only appears to change the text. They do interact, as you've seen, but if you want to enter a line long enough to be softwrapped without its being hard wrapped first, you'll generally have to shut hard wrapping off.
|
David Lawrence Ramsey <dolorous> |
Tue 20 Jun 2017 10:35:44 AM UTC, comment #8: So hard wrapping is enabled by default even when softwrap is set?
|
Nicholas Boel <accession> |
Tue 20 Jun 2017 03:10:50 AM UTC, comment #7: Okay. It's good that things are clearer. If I understand your problem under the 160x48 terminal properly, I think it's another effect of hard wrapping. Hard wrapping is enabled by default, and the fill option is set to -8 by default, so nano will wrap 8 characters from the screen edge by default. If you don't want that, you should either toggle hard wrapping off via Meta-L, or add "set nowrap" to your nanorc.
|
David Lawrence Ramsey <dolorous> |
Tue 20 Jun 2017 01:30:59 AM UTC, comment #6: That was exactly the same problem as the one I was describing. I took your advice and removed "set fill -1" from my nanorc after re-checking this. On an 80x24 screen it will wrap the last word (screen) to the next line, as I would expect.
|
Nicholas Boel <accession> |
Tue 20 Jun 2017 01:02:50 AM UTC, comment #5: Nicholas,
|
David Lawrence Ramsey <dolorous> |
Mon 19 Jun 2017 10:35:55 PM UTC, comment #4: I have tried the patch set by David (softwrap-variable-width-2.zip) and have only seemed to find one issue so far.
|
Nicholas Boel <accession> |
Mon 19 Jun 2017 06:07:48 PM UTC, comment #3: Nicholas, Rishabh,
|
Benno Schulenberg <bens> |
Sat 17 Jun 2017 09:44:10 AM UTC, comment #2: Hello Nicholas and Rishabh,
|
Benno Schulenberg <bens> |
Wed 14 Jun 2017 06:22:25 PM UTC, comment #1: Hello Nicholas,
|
Rishabh Dave <prongs> |
Fri 30 Dec 2016 09:45:30 PM UTC, original submission:
I was wondering if when using softwrap (-$) if in the future it could wrap at word boundaries rather than breaking the words up between two lines. Similar to the "set lbr" option that's usable in vimrc.
|
Nicholas Boel <accession> |
Depends on the following items: None found
Items that depend on this one: None found
There are 7 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 10 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-07-22 | bens | Open/Closed | Open | Closed | |
2017-07-11 | bens | Status | In Progress | Fixed | |
2017-06-20 | prongs | Attached File | - | Added just-rectify-the-if-condition.patch, #40958 | |
2017-06-20 | dolorous | Attached File | - | Added nicholasbug.txt, #40943 | |
2017-06-19 | bens | Status | None | In Progress | |
Assigned to | None | dolorous | |||
2017-04-05 | accession | Carbon-Copy | - | Added accession | |
2017-02-15 | pepa65 | Carbon-Copy | - | Added pepa65 | |
2016-12-31 | bens | Severity | 3 - Normal | 1 - Wish | |
Summary | [Request] Softwrap at word boundaries | [Request] do softwrap at word boundaries instead of at screen's edge |
Powered by Savane 3.13-f8d8.
Corresponding source code
The feature has been release in nano-2.8.6.