bugGNU nano - Bugs: bug #56185, automatic hard-wrap sometimes adds...

 
 

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

bug #56185: automatic hard-wrap sometimes adds a superfluous trailing space

Submitter:  Benno Schulenberg <bens>
Submitted:  Sun 21 Apr 2019 07:52:48 AM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 21 Apr 2019 10:06:35 AM UTC, comment #1: 

Fixed in git, commit e8f69e40.

Benno Schulenberg <bens>
Group administrator
Sun 21 Apr 2019 07:52:48 AM UTC, original submission:  

To reproduce, first do:

  echo -e "one one\ntwo two\n" >alfa

Then run:

  src/nano --ignore --break --fill=9 --trim  +1,4 alfa

And type: M-P <Space> word <Ctrl+Left> some

Notice that before typing "some", there was no space after "word".  But as soon as "so" has been typed, "soword" gets pushed to the next line, and there now is a space after "soword".  The space is unneeded, unexpected, and unwanted.

(Bug was found through code inspection.  And while trying to find a recipe for this bug, bug #56180 was found.)

Benno Schulenberg <bens>
Group administrator

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Submitted 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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-25 bens Open/ClosedOpen Closed
    2019-04-21 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code