bugGNU nano - Bugs: bug #49897, "Esc Esc 010" and...

 
 

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

bug #49897: "Esc Esc 010" and "M-V 00000a" do not do the same thing

Submitter:  Benno Schulenberg <bens>
Submitted:  Tue 20 Dec 2016 08:39:25 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Tue 27 Dec 2016 07:04:30 PM UTC, comment #1: 

We can't change what the "Esc Esc ddd" sequences do, because that is how Pico behaves.  But for the "M-V xxxxxx" we can freely choose what to do.  Almost all codes should be accepted, except "M-V 00000A" when typing text, and "M-V 000000" when typing filenames.  Those codes should be ignored, discarded, rejected.

Fixed in git, 908663e8.

Benno Schulenberg <bens>
Group administrator
Tue 20 Dec 2016 08:39:25 PM UTC, original submission:  

When the user types the sequence <Esc> <Esc> 0 1 0, nao behaves as if the user typed ^J: it justifies the current paragraph.  When instead M-V 00000a is typed (which should result in the very same code), nano behaves as if <Enter> was typed.

I think both codes should do nothing at all -- except beep.  If the user wanted to create a newline, she would type <Enter>; if she want to justify a pargraph, she would type ^J.  But no, she is attempting to enter a special code into the file, but a verbatim ^J /cannot/ be entered, so nano should somehow let the user know this.

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-30 bens Open/ClosedOpen Closed
    2016-12-27 bens StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code