Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unmatched \[ ... ] #4

Open
johngarg opened this issue May 13, 2015 · 0 comments
Open

Unmatched \[ ... ] #4

johngarg opened this issue May 13, 2015 · 0 comments

Comments

@johngarg
Copy link

johngarg commented May 13, 2015

Wolfram-mode seems not to recognize \[...] as a matched pair of delimiters since the opening bracket is (as Emacs sees it) escaped. This should be fixed in the syntax-table as described in Fanael/rainbow-delimiters#14.

Additionally, the unmatched delimiter causes Emacs not to indent properly. In particular, the following code

M$Foo = {
    S[20] == {
        Name -> \[kappa],
        Mass -> 5,
    }
}

will get indented to

M$Foo = {
    S[20] == {
        Name -> \[kappa],
    Mass -> 5,
}
}

which is not exactly desirable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant