Re: Text in R shell (inferior buffer) becomes greyed-out after printing a tibble

"Garbade, Sven via ESS-help" <[email protected]>
Newsgroups gmane.emacs.ess.general
Message-ID <[email protected]>
I have the same problem here with ess from melpa and some dark emacs themes. I think this problem is  not related to ess, but to some emacs dark themes. I haven't seen this problem when using a "light" or "white" theme so far.


Regards, Sven


________________________________
Von: ESS-help <[email protected]> im Auftrag von Dirk Eddelbuettel via ESS-help <[email protected]>
Gesendet: Mittwoch, 29. Juni 2022 16:04
An: Amit Ramon
Cc: [email protected]
Betreff: Re: [ESS] Text in R shell (inferior buffer) becomes greyed-out after printing a tibble


On 29 June 2022 at 16:30, Amit Ramon via ESS-help wrote:
| library(tidyverse)
| tt <- tibble(a = 1:2, c = 2:3)
|
| If I now print the content of tt, either using 'print(tt)' or by typing
| 'tt' and Enter, the text in the R shell buffer becomes grey from this point
| and forward. Subsequent prints to the buffer will be in grey. All
| syntax-highlighting is gone, and the only way to restore it is to restart R.
|
| This doesn't happen when printing variables of other types. The tibble
| above prints as
|
| > tt
| # A tibble: 2 × 2
|       a     c
|   <int> <int>
| 1     1     2
| 2     2     3
|
| I've noticed that the first character in a tibble print is '#', and thought
| that this might be related to the issue, but simply printing text with
| 'cat', say, with '#" as the first character, doesn't reproduce this issue.
|
| I tried disabling as much of my Emacs initialization code but this issue
| still persists.
|
| My ESS version is 18.10.3 and Emacs 28.1.
|
| Has anyone here run into a similar issue? Any idea how to fix that?

Can't reproduce here.  The '# A tibble ...' is gray, rest is white as usual.

Ubuntu 22.04, ESS still frozen at 18.10.2, other packages as a mix of
Ubuntu's elpa-* and directly from Melpa. I use the Nord theme.

Dirk

--
dirk.eddelbuettel.com | @eddelbuettel | [email protected]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

	[[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.