bugGNU nano - Bugs: bug #58904, "<Esc> <Esc>...

 
 

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

bug #58904: "<Esc> <Esc> <letter>" does not work in a macro

Submitter:  Benno Schulenberg <bens>
Submitted:  Wed 05 Aug 2020 09:02:12 AM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Fri 04 Dec 2020 03:53:52 PM UTC, comment #2: 

Fixed in git, commit d96f296b, by demanding that the first escape must be solitary before a second escape will be understood as the leader byte of a Meta keystroke.

Benno Schulenberg <bens>
Group administrator
Fri 04 Dec 2020 03:47:41 PM UTC, comment #1: 

The offending commit was ecc9211a.

Benno Schulenberg <bens>
Group administrator
Wed 05 Aug 2020 09:02:12 AM UTC, original submission:  

To reproduce, run 'src/nano --ignore THANKS', and record a macro:
<Shift+Alt+:> <Esc> <Esc> m <Shift+Alt+:>

See that the this acted as if <Ctrl+M> was typed.
Now execute the macro with: <Alt+;>
Nano says "Mouse support enabled".  It acts as if M-M was typed.

Bug exists since version 3.0.  Versions 2.9.0 to 2.9.8 did the right thing.

This will be hard to fix.  And fixing it would mean that the user may not accidentally type <Esc> while recording a macro...

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

    Date Changed by Updated Field Previous Value => Replaced by
    2021-01-15 bens Open/ClosedOpen Closed
    2020-12-04 bens Summary&quot;&lt;Esc&gt; &lt;Esc&gt; letter&quot; does not work in a macro "<Esc> <Esc> <letter>" does not work in a macro
    2020-12-04 bens StatusIn Progress Fixed
    2020-12-04 bens StatusNone In Progress
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code