GNU 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: |
Benno Schulenberg <bens> |
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.
|
Benno Schulenberg <bens> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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/Closed | Open | Closed | |
2015-11-24 | bens | Status | None | Fixed |
Powered by Savane 3.13-4448.
Corresponding source code
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.