emacs-ess / ESS

Emacs Speaks Statistics: ESS
https://ess.r-project.org/
GNU General Public License v3.0
617 stars 160 forks source link

Hyphens get fontified as minus signs #691

Open jabranham opened 5 years ago

jabranham commented 5 years ago

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- commented 5 years ago

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.

vspinu commented 5 years ago

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

lionel- commented 5 years ago

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

jabranham commented 5 years ago

I admire your determination, @lionel- :1st_place_medal: