GNU nano - Bugs: bug #54889, [Request] re-add a per-syntax...
You are not allowed to post comments on this tracker with your current authentication level.
bug #54889: [Request] re-add a per-syntax filtering command
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Tue 23 Oct 2018 07:00:12 PM UTC | ||
Severity: | 1 - Wish | Status: | None |
Assigned to: | None | Open/Closed: | Closed |
Jump to the original submission
Wed 02 Jan 2019 06:47:30 PM UTC, comment #7: |
Benno Schulenberg <bens> |
Wed 02 Jan 2019 05:54:22 PM UTC, comment #6: I'd like to provide a user experience report as it relates to the idea that `^R^X|<command>^M` is a suitable replacement for the functionality of `formatter`.
|
Patrick Bogen <pdbogen> |
Thu 08 Nov 2018 10:47:51 PM UTC, comment #5: FYI, the bind command can't be reused for syntax binds, doing so would require all nanorc binds to be placed before syntax definitions declared inside nanorc. |
Brand Huntsman <brand> |
Mon 29 Oct 2018 03:10:06 PM UTC, comment #4: About the 'sbind' command... First off, I hated the name. Second, it should not be necessary to introduce a new command. Looking over the code, it looks entirely feasible to reuse the 'bind' command and allow it to be used inside a syntax. It would make the patch considerably smaller too.
|
Benno Schulenberg <bens> |
Thu 25 Oct 2018 04:15:06 PM UTC, comment #3: For the name, I'd agree that "fixer" works much better than "frobber". |
David Lawrence Ramsey <dolorous> |
Wed 24 Oct 2018 10:47:16 AM UTC, comment #2: Why not that "sbind" command so syntaxes can have multiple keys? The formatter commands could be added back to syntaxes using sbind, and reserve M-F as a comment in the code so it doesn't get used. |
Brand Huntsman <brand> |
Wed 24 Oct 2018 09:08:40 AM UTC, comment #1: Better name for the command: 'fixer'. Beautifully short, most people will now what it means, and it can encompass the meanings of formatting and spell checking and sorting. |
Benno Schulenberg <bens> |
Tue 23 Oct 2018 07:00:12 PM UTC, original submission:
When removing the 'formatter' command, I thought of later allowing the 'speller' command to be per-syntax (that then could be "abused" to do filtering or whatever instead of spell checking). But after thinking a little more, this is no good, because it would mean that ^T would be "hijacked" by the syntax and it would no longer be possible to invoke the basic spell checker.
|
Benno Schulenberg <bens> |
No files currently attached
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.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-01-02 | bens | Open/Closed | Open | Closed |
Powered by Savane 3.13-d3ae.
Corresponding source code
Please stop spamming me with irrelevant stuff.