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 whitespace-mode breaks rust-mode highlighting #3994

Closed
andersk opened this issue Nov 17, 2012 · 4 comments · Fixed by #12663
Closed

Emacs whitespace-mode breaks rust-mode highlighting #3994

andersk opened this issue Nov 17, 2012 · 4 comments · Fixed by #12663
Labels
P-low Low priority

Comments

@andersk
Copy link
Contributor

andersk commented Nov 17, 2012

To reproduce, run M-x global-whitespace-mode and M-x rust-mode, then type some Rust code. Most of the syntax highlighting will go away shortly after you type, and generally acts really glitchy. As a concrete example, you can get the highlighting back by pressing SPC DEL at the beginning of the buffer, but it goes away immediately if you save or move the cursor.

I’m using Emacs 24.1+1-2ubuntu3 on Ubuntu 12.10.

@pnkfelix
Copy link
Member

pnkfelix commented Jun 4, 2013

Ah, I've been wondering why rust-mode has been generally glitchy for me; I bet this is why.

@evmar
Copy link

evmar commented Jul 22, 2013

I ran into this too. Maybe it'd helpful to at least mention the issue in the README, if it can't be fixed easily.

@pnkfelix
Copy link
Member

part of #8793

@pnkfelix
Copy link
Member

Assigning P-low.

bors added a commit that referenced this issue Mar 3, 2014
… r=brson

The incompatibility of rust-mode with global-whitespace-mode warned
about in the README was actually fixed by commit 581b3db.  Remove the
warning from the README and close #3994.
@bors bors closed this as completed in d92fdb2 Mar 3, 2014
RalfJung pushed a commit to RalfJung/rust that referenced this issue Oct 27, 2024
automatic PR: explain how to trigger CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-low Low priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants