bugGNU nano - Bugs: bug #49530, behavior of M-/ has changed in...

 
 

bug #49530: behavior of M-/ has changed in 2.7.1

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Thu 03 Nov 2016 07:00:41 PM 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 12 Nov 2016 05:05:18 PM UTC, comment #2:

Aaah... It happens because now the refresh is done after 'focusing' has been set to TRUE. It should happen before.

Fixed in git, a4132e2.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sat 12 Nov 2016 04:24:01 PM UTC, comment #1:

The offending commit is 2789bb0. Eeeww... What the framboise is wrong there?

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 03 Nov 2016 07:00:41 PM UTC, original submission:

Since version 2.4.1, the keystroke M-/ would not just bring the cursor to the last line of the file but would also put this line on the bottom line of the screen (if the file is longer than the screen) instead of centering it. Version 2.7.1 has regressed to centering the line again. Which is inconsistent, because when you have --positionlog activated, closing the file with the cursor on the last line of the file (and in the center of the screen, or whereever), will open the file with this last line at the bottom of the screen.

It's one of the changes for softwrap that caused this regression, but I don't have time now to figure it out.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

(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 (Submitted 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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 13 Dec 2016 11:47:00 AM UTCbensOpen/ClosedOpen=>Closed
    Sat 12 Nov 2016 05:05:18 PM UTCbensStatusNone=>Fixed
    Sat 12 Nov 2016 04:24:01 PM UTCbensAssigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1