bugGNU nano - Bugs: bug #46503, nano should complain when -Y...

 
 

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

bug #46503: nano should complain when -Y specifies a nonexistent syntax

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 23 Nov 2015 05:00:18 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Tue 24 Nov 2015 11:47:17 AM UTC, comment #1: 

Fixed in SVN, r5436.

The warning is given on the statusbar because that was easy to do.  But also because specifying a nonexistent speller program will be reported on the statusbar (but only when the user actually tries to spellcheck).

In fact it would be nicer if nano would not even start up when things specified on the command line are not correct, but this would require duplicating some code into main, and I don't want to do that now.

Benno Schulenberg <bens>
Group administrator
Mon 23 Nov 2015 05:00:18 PM UTC, original submission:  

Currently, when you specify for example '--syntax=make' or 'Yzorro', nano starts without giving a peep, and simply uses the default syntax.

Instead, it should print a warning, either on the console or on the statusbar, when the specified name is not the name of an existing syntax.

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

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-07 bens Open/ClosedOpen Closed
    2015-11-24 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code