Re: [ESS] How can one tell rlang not to mess up R session in ESS ?

2023-11-15 Thread Dirk Eddelbuettel via ESS-help
For completeness, and without any time yet to dig into Lionel's nord modification, and as a friend who saw thread asked: what I ended up doing was following the hint about cli and NO_COLOR and now (conditionally) set ## No color from cli inside emacs ##

Re: [ESS] How can one tell rlang not to mess up R session in ESS ?

2023-11-14 Thread Dirk Eddelbuettel via ESS-help
On 14 November 2023 at 12:03, Deepayan Sarkar wrote: | Are you suggesting that we should not be getting that by default? I As I wrote in my message starting the thread: Casual searching at the rlang repo doesn't reveal anything so pardon me for asking here but what is a simple way to

Re: [ESS] How can one tell rlang not to mess up R session in ESS ?

2023-11-14 Thread Deepayan Sarkar via ESS-help
On Tue, 14 Nov 2023 at 11:46, Dirk Eddelbuettel via ESS-help wrote: > > > On 14 November 2023 at 17:22, Lionel Henry wrote: > | Worth noting I'm using `xterm-color` instead of `ansi-color` in my > | comint buffers. IIRC the latter (which is builtin) didn't support some > | features. Not sure if

Re: [ESS] How can one tell rlang not to mess up R session in ESS ?

2023-11-14 Thread Dirk Eddelbuettel via ESS-help
On 14 November 2023 at 17:22, Lionel Henry wrote: | Worth noting I'm using `xterm-color` instead of `ansi-color` in my | comint buffers. IIRC the latter (which is builtin) didn't support some | features. Not sure if that could explain the bad behaviour you've | observed. I was also thinking cli

Re: [ESS] How can one tell rlang not to mess up R session in ESS ?

2023-11-14 Thread Dirk Eddelbuettel via ESS-help
On 13 November 2023 at 18:54, Lionel Henry wrote: | > Do you use this instead of the nord theme, or on top of the nord | > theme? Can you (briefly) describe what it does / what you like about | > this addition? | | I use it on top. This snippet comes in between loading and activation: | | ```

Re: [ESS] How can one tell rlang not to mess up R session in ESS ?

2023-11-14 Thread Lionel Henry via ESS-help
Worth noting I'm using `xterm-color` instead of `ansi-color` in my comint buffers. IIRC the latter (which is builtin) didn't support some features. Not sure if that could explain the bad behaviour you've observed. Best, Lionel On 11/14/23, Martin Maechler via ESS-help wrote: >> Dirk

Re: [ESS] How can one tell rlang not to mess up R session in ESS ?

2023-11-14 Thread Martin Maechler via ESS-help
> Dirk Eddelbuettel via ESS-help > on Mon, 13 Nov 2023 10:00:26 -0600 writes: > Casual searching at the rlang repo doesn't reveal anything so pardon me for > asking here but what is a simple way to tell rlang to NOT do fancy pants > color error backtraces? At least

Re: [ESS] How can one tell rlang not to mess up R session in ESS ?

2023-11-13 Thread Lionel Henry via ESS-help
> Do you use this instead of the nord theme, or on top of the nord > theme? Can you (briefly) describe what it does / what you like about > this addition? I use it on top. This snippet comes in between loading and activation: ``` (require 'nord-theme) (load-theme 'nord) *snippet*

Re: [ESS] How can one tell rlang not to mess up R session in ESS ?

2023-11-13 Thread Dirk Eddelbuettel via ESS-help
Thanks Lionel. I was pretty sure I could count on a non-empty intersection between ESS and rlang... On 13 November 2023 at 17:20, Lionel Henry wrote: | See the cli website for disabling colours: | https://cli.r-lib.org/reference/faq.html#how-do-i-turn-off-ansi-colors-and-styles- Drats. I

Re: [ESS] How can one tell rlang not to mess up R session in ESS ?

2023-11-13 Thread Lionel Henry via ESS-help
See the cli website for disabling colours: https://cli.r-lib.org/reference/faq.html#how-do-i-turn-off-ansi-colors-and-styles- I use nord-theme too and I see I have this in my config, in case that helps (I trimmed down this snippet manually, there might be a typo): ```lisp (let ((class '((class

[ESS] How can one tell rlang not to mess up R session in ESS ?

2023-11-13 Thread Dirk Eddelbuettel via ESS-help
Casual searching at the rlang repo doesn't reveal anything so pardon me for asking here but what is a simple way to tell rlang to NOT do fancy pants color error backtraces? At least under the theme I use ("nord", for Emacs) it basically nixes readability by leaving a 'dark on dark' default.