bugGNU nano - Bugs: bug #58818, <Esc><Esc> byte...

 
 

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

bug #58818: <Esc><Esc> byte sequence does not work when in a macro

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 24 Jul 2020 12:46:26 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Fri 24 Jul 2020 03:02:51 PM UTC, comment #1: 

Fixed in git, commit 36ab5d91.

Benno Schulenberg <bens>
Group administrator
Fri 24 Jul 2020 12:46:26 PM UTC, original submission:  

To reproduce, run 'src/nano --ignore'.
First type: <Esc> <Esc> 1 1 1
See that the letter "o" is entered into the buffer.

Now define it as a macro:  M-: <Esc> <Esc> 1 1 1 M-:
Then execute the macro:  M-;
Result: nano says "Unknown sequence" and "1" is entered into the buffer.

(It's not very important that this doesn't work, but I don't understand how it can say "Unknown sequence" -- it should never even try to interpret it as an escape sequence, because any escape sequence starts with either "O" or "[", never with anything else.)

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
    2020-07-30 bens Open/ClosedOpen Closed
    2020-07-24 bens StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code