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

emacs: raw strings containing " break syntax highlighting #18950

Closed
tomjakubowski opened this issue Nov 14, 2014 · 3 comments
Closed

emacs: raw strings containing " break syntax highlighting #18950

tomjakubowski opened this issue Nov 14, 2014 · 3 comments

Comments

@tomjakubowski
Copy link
Contributor

A raw string like this breaks highlighting as well as indentation (upon indenting an error about unbalanced parentheses appears):

2014-11-14-020440_827x1005_scrot

In the lower split I worked around it for the following lines by ending the line with // ";

@subhashb
Copy link

@tomjakubowski What version of emacs are using using?
I am using GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.0.0, NS appkit-1343.14 Version 10.10 (Build 14A389)) of 2014-10-23 and it indents fine for me.
Can you also provide a screenshot of the error on unbalanced parantheses?

@huonw
Copy link
Member

huonw commented Nov 15, 2014

#10190 is related.

I'm using GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.3) of 2014-10-26 on trouble, modified by Debian and the following is stable under reindentation and causes emacs to emit up-list: Scan error: "Unbalanced parentheses", 35, 1:

fn main() {
    let r#" " "#;
foo()
}

cc #8793

@steveklabnik
Copy link
Member

Moved to rust-lang/rust-mode#12

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

4 participants