bugGNU nano - Bugs: bug #52198, [Request] add live trimming of...

 
 

bug #52198: [Request] add live trimming of trailing whitespace when hard-wrapping

Submitted by:  None
Submitted on:  Mon 09 Oct 2017 04:21:54 PM UTC  
 
Severity: 1 - WishStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 03 Jan 2018 02:27:12 PM UTC, comment #4:

Released in 2.9.2. How about the --trimblanks option? No need for that?

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 06 Dec 2017 07:43:19 PM UTC, comment #3:

Thanks for the feedback.

The patch has been pushed to master, c30d3d80. Plus a subsequent patch that renames "justifytrim" to "trimblanks".

How about adding also a command-line option? -M / --trimblanks?

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 05 Dec 2017 10:39:03 AM UTC, comment #2:

I've tried the patch with 2.9.1 and it works great for me to.
Thanks!

Anonymous
Sat 02 Dec 2017 01:02:01 PM UTC, comment #1:

Attached is a patch that works for me. Please test.

(file #42551)

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 09 Oct 2017 04:21:54 PM UTC, original submission:

With (hard)wordwrap enabled it would be nice if nano didn't leave trailing whitespace, sort of like the justifytrim option does for justify which i use as a workaround.

Thank you! :)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bens (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 03 Jan 2018 02:27:12 PM UTCbensOpen/ClosedOpen=>Closed
    Wed 06 Dec 2017 07:43:19 PM UTCbensStatusIn Progress=>Fixed
    Sat 02 Dec 2017 01:02:01 PM UTCbensAttached File-=>Added 0001-wrapping-delete-trailing-blanks-upon-hardwrapping-wh.patch, #42551
      StatusNone=>In Progress
      Assigned toNone=>bens
    Sat 14 Oct 2017 07:06:42 PM UTCbensSeverity3 - Normal=>1 - Wish
      Summaryrequest to add trailing whitespace trimming in wordwrap mode=>[Request] add live trimming of trailing whitespace when hard-wrapping

    Back to the top


    Powered by Savane 3.1-cleanup1