bugGNU nano - Bugs: bug #56595, [Request] allow comment and linter...

 
 

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

bug #56595: [Request] allow comment and linter commands to qualify as a non-empty syntax

Submitter:  Brand Huntsman <brand>
Submitted:  Mon 08 Jul 2019 09:30:00 PM UTC
   
 
Severity:  1 - Wish Status:  Wont Fix
Assigned to:  None Open/Closed:  Closed

Fri 15 May 2020 03:25:00 PM UTC, comment #1: 

Wanting to use a 'comment' command without wanting to color such comments seems rather unlikely to me.

Anyway, the basic purpose of syntaxes is to color things.  The 'linter' and 'comment' and other such commands are extras that can be hooked onto a syntax.  It's not worth the trouble to allow them to be used by themselves.

Benno Schulenberg <bens>
Group administrator
Mon 08 Jul 2019 09:30:00 PM UTC, original submission:  

Creating a syntax without any color commands throws an error. But there are cases where one may only want to declare a comment or linter for the syntax. That currently requires adding a dummy color command to the syntax.

Attached patch fixes that, but the seen_color_command variable should probably be renamed if accepted.

Brand Huntsman <brand>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by brand (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-05-15 bens Severity3 - Normal 1 - Wish
        StatusNone Wont Fix
        Open/ClosedOpen Closed
    2019-07-08 brand Attached File- Added rcfile-allow-comment-and-linter-commands-to-qualify-as-a-non-empty-syntax.patch, #47172

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code