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

Regression in stacktrace font-locking #1486

Closed
jeffvalk opened this issue Dec 27, 2015 · 6 comments
Closed

Regression in stacktrace font-locking #1486

jeffvalk opened this issue Dec 27, 2015 · 6 comments
Assignees

Comments

@jeffvalk
Copy link
Contributor

401e819 changed uses of face to font-lock-face, including here. This may have fixed a larger font-lock compatibility issue, but it disabled font-locking of stack frame detail: the face set here overrides those uses of font-lock-face.

@jeffvalk jeffvalk self-assigned this Dec 27, 2015
@bbatsov
Copy link
Member

bbatsov commented Dec 27, 2015

It's amazing no one noticed this for over one year.

@bbatsov
Copy link
Member

bbatsov commented Dec 27, 2015

You might want to mention the fix in the changelog as well.

jeffvalk added a commit that referenced this issue Dec 27, 2015
Update stack frame buttons to use `font-lock-face`.
Create a button type that respects `font-lock-face`. By default, buttons use `'face`.
@jeffvalk
Copy link
Contributor Author

That's what I thought too. Maybe everyone is just conditioned to ugly errors. For all Clojure's awesomeness, errors are still not sane.

On the other hand, the updates to CIDER in the last year are really fantastic. Seriously great stuff!

cap10morgan pushed a commit to cap10morgan/cider that referenced this issue Dec 27, 2015
…cking.

Update stack frame buttons to use `font-lock-face`.
Create a button type that respects `font-lock-face`. By default, buttons use `'face`.
@cap10morgan
Copy link
Contributor

I'm trying to test that this is fixed in the v0.10 branch, but I'm not 100% sure how to reproduce it. Can someone post some simple reproduction steps? Thanks!

@jeffvalk
Copy link
Contributor Author

jeffvalk commented Jan 4, 2016

If the file, line number, namespace/class, and function/method for stacktrace frames all appear with the same face, you're seeing this issue. If the function name is in bold and the ns is fontified as a comment, you're seeing the fix.

@cap10morgan
Copy link
Contributor

@jeffvalk Thanks, looks good in that case.

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

3 participants