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

Submitted by:  Brand Huntsman <brand>
Submitted on:  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>
Project 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>

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.5