GNU nano - Bugs: bug #56997, an 'extendsyntax' command with...
You are not allowed to post comments on this tracker with your current authentication level.
bug #56997: an 'extendsyntax' command with 'header' or 'magic' reports an error
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sat 05 Oct 2019 11:16:59 AM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Tue 08 Oct 2019 10:30:18 AM UTC, comment #4: |
Benno Schulenberg <bens> |
Tue 08 Oct 2019 06:53:19 AM UTC, comment #3: extendsyntax c header ...
|
Brand Huntsman <brand> |
Mon 07 Oct 2019 07:45:53 AM UTC, comment #2: Here's a better patch. (This fix should in fact have been part of the fix for bug #56478.)
|
Benno Schulenberg <bens> |
Sun 06 Oct 2019 05:07:00 PM UTC, comment #1: Attached is a proposed solution (without whitespace adjustment). |
Benno Schulenberg <bens> |
Sat 05 Oct 2019 11:16:59 AM UTC, original submission:
To reproduce, put at the end of your ~/.nanorc (which does an include of the standard c.nanorc syntax file) these two lines:
|
Benno Schulenberg <bens> |
Depends on the following items: None found
Items that depend on this one: None found
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 8 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-11-30 | bens | Open/Closed | Open | Closed | |
2019-10-08 | bens | Status | In Progress | Fixed | |
2019-10-08 | brand | Attached File | - | Added 3.patch, #47628 | |
2019-10-07 | bens | Attached File | - | Added 0001-rcfile-process-extensions-to-file-matching-commands-.patch, #47625 | |
2019-10-06 | bens | Attached File | - | Added process-filematch-extensions-rightaway.patch, #47624 | |
Status | None | In Progress | |||
Summary | an 'extendsyntax'command with'header' or 'magic' does not work | an 'extendsyntax' command with 'header' or 'magic' reports an error | |||
Carbon-Copy | - | Added brand |
Powered by Savane 3.13-caa5.
Corresponding source code
Thanks for the improvements. Applied and pushed to master, commit 265d3245.
(I had hoped to check each command after an 'extendsyntax' for validity, but... the nanorc syntax already colors those red, and most typos are likely to happen in the command argument, and those are not parsed anyway until the syntax is used. So, this will do.)