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

Hyphens get fontified as minus signs #691

Open
jabranham opened this issue Sep 22, 2018 · 4 comments
Open

Hyphens get fontified as minus signs #691

jabranham opened this issue Sep 22, 2018 · 4 comments

Comments

@jabranham
Copy link
Contributor

In the inferior buffer, R starts up as:

R version 3.5.1 (2018-07-02) -- "Feather Spray"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

but all of the hyphens (in the date, platform, and architecture) get font locked as ess-operator-face.

That said, I'm not sure this is something we can/want to tackle.

@lionel-
Copy link
Member

lionel- commented Sep 22, 2018

I think ideally R would optionally communicate when it's printing R code with some kind of escapes, and we'd only fontify such output.

@jabranham jabranham changed the title Hyphens get font locked as minus signs Hyphens get fontified as minus signs Sep 22, 2018
@vspinu
Copy link
Member

vspinu commented Sep 22, 2018

I don't think there is a reliable solution so I would say we don't bother with such tiny issues.

@lionel-
Copy link
Member

lionel- commented Sep 22, 2018

I will keep it as a goal to fix all these issues once and for all.

@jabranham
Copy link
Contributor Author

I admire your determination, @lionel- 🥇

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

No branches or pull requests

3 participants