bugGNU nano - Bugs: bug #54301, <Esc> <Esc> M-P enters...

 
 

bug #54301: <Esc> <Esc> M-P enters "p" into the buffer instead of toggling whitespace display

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Fri 13 Jul 2018 06:45:06 AM UTC  
 
Severity:  2 - Minor Status:  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.

 

Fri 13 Jul 2018 07:32:57 AM UTC, comment #1:

Fixed in git, commit ecc9211a.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Fri 13 Jul 2018 06:45:06 AM UTC, original submission:

To reproduce, run:

nano --ignore +11 README

and type: M-P M-P. This toggles the displaying of whitespace, as it should.

Now type: <Esc> <Esc> M-P. Instead of toggling whitespace, this enters the letter "p" into the buffer. That is surely not what the user intended.

Now type: <Esc> M-P. The cursor moves up one line, as if ^P was pressed (or the equivalent <Esc> <Esc> P). Also this is unlikely to be what the user intended.

Expected behavior: whenever M-P is pressed, no matter after how many escapes, the function bound to M-P should be executed.

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 Files:
   
   
Comment:
   

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-10 bens Open/ClosedOpen => Closed
    2018-07-13 bens Severity3 - Normal => 2 - Minor
        StatusIn Progress => Fixed

    Back to the top


    Powered by Savane 3.3