Skip to content

How to use the "MULTI-EXPR" with meow-thing-register ? #319

Answered by eshrh
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

In a PAIR EXPR, each pair takes TOKENS, which are lists that can have multiple elements , like this:

(meow-thing-register 'brackets
                     '(pair ("(" "[") (")" "]"))
                     '(pair ("(" "[") (")" "]")))

As far as i know, you can probably achieve the same thing by using a REGEXP-EXPR and using a bunch of conditionals. You might also be able to do it by using the syntax-table descriptions for opening delimiter and closing delimiter, which should be sanely defined per-mode.

However, this functionality is typically achieved by meow-blockand meow-block-expand, is something missing from those commands that you'd like to see?

My issue with meow-block a while ago was t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant