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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitter:  None
Submitted:  Mon 09 Oct 2017 04:21:54 PM UTC
   
 
Severity:  1 - Wish Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

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>
Group administrator
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>
Group administrator
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>
Group administrator
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.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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
    2018-01-03 bens Open/ClosedOpen Closed
    2017-12-06 bens StatusIn Progress Fixed
    2017-12-02 bens Attached File- Added 0001-wrapping-delete-trailing-blanks-upon-hardwrapping-wh.patch, #42551
        StatusNone In Progress
        Assigned toNone bens
    2017-10-14 bens Severity3 - 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.13-3230.
    Corresponding source code