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

 
 

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

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

Submitter:  Benno Schulenberg <bens>
Submitted:  Thu 03 Nov 2016 07:00:41 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

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>
Group administrator
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>
Group administrator
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>
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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-13 bens Open/ClosedOpen Closed
    2016-11-12 bens StatusNone Fixed
    2016-11-12 bens Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code