bugGNU nano - Bugs: bug #54441, a wrong command in an included...

 
 

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

bug #54441: a wrong command in an included file produces a poor error message

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 03 Aug 2018 06:32:16 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sat 04 Aug 2018 05:38:47 AM UTC, comment #1: 

Fixed in git, commit 157c7b1b.

Benno Schulenberg <bens>
Group administrator
Fri 03 Aug 2018 06:32:16 PM UTC, original submission:  

To reproduce, put something like "crap hoopla" in an included syntax file, for example c.nanorc.  Then run nano, see the notification on the status bar, exit from nano, and see what it reports:

  Error in [...]: Command "crap" not allowed in included file

This gives the impression as if "crap" in itself is a valid command, just not in an included file.  :|

Expected behavior: nano should of course say that "crap" is an unknown command, no matter whether in an included file or in a main nanorc file.

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
    2018-09-10 bens Open/ClosedOpen Closed
    2018-08-04 bens Severity3 - Normal 2 - Minor
        StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code