bugGNU nano - Bugs: bug #48062, undoing/redoing comments causes...

 
 

bug #48062: undoing/redoing comments causes incorrect file size

Submitted by:  Mike Scalora <mscalora>
Submitted on:  Tue 31 May 2016 03:51:11 AM UTC  
 
Severity: 3 - NormalStatus: 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.

 

Sat 04 Jun 2016 09:47:28 AM UTC, comment #3:

Closing, as it's an unreleased bug.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 31 May 2016 07:46:58 PM UTC, comment #2:

Fixed in git, 115aeda, by Mike's own patch.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 31 May 2016 09:57:55 AM UTC, comment #1:

As posted on the mailing list, the problem is wider. Run 'src/nano' and type for example:

sss M-3 M-3 M-U ^C

Notice the "char 4/3 (133%)".

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 31 May 2016 03:51:11 AM UTC, original submission:

Reproduce:

1. On any non-empty line
2. Type
M-3M-3M-UM-UM-E^C
3. Note impossible file size

Working on a patch

Mike Scalora <mscalora>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bens (Posted a comment)
  • -unavailable- added by mscalora (Submitted the item)
  • -unavailable- added by mscalora
  •  

    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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 04 Jun 2016 09:47:28 AM UTCbensOpen/ClosedOpen=>Closed
    Tue 31 May 2016 07:46:58 PM UTCbensStatusNone=>Fixed
      Assigned toNone=>bens
    Tue 31 May 2016 09:57:55 AM UTCbensSummaryUncomment redo causes bad file size=>undoing/redoing comments causes incorrect file size
    Tue 31 May 2016 03:51:11 AM UTCmscaloraCarbon-Copy-=>Added mscalora

    Back to the top


    Powered by Savane 3.1-cleanup1