开发者

is there a way to get the colour theme from the R GUI into Emacs?

开发者 https://www.devze.com 2023-01-06 06:04 出处:网络
I find it 开发者_运维问答hard to sort through all the messages in the R frame(?) in emacs, and I was wondering if it\'ll be easy to change the colours so that it looks more like the R GUI.

I find it 开发者_运维问答hard to sort through all the messages in the R frame(?) in emacs, and I was wondering if it'll be easy to change the colours so that it looks more like the R GUI.

Thanks


Sure, I use

(set-background-color "gray10")
(set-foreground-color "wheat")
(set-cursor-color "wheat")
(set-mouse-color "wheat")
(set-face-background 'default "black")
(set-frame-font "Bitstream Vera Sans Mono-10")   ;; you may not have that font

in ~/.emacs (or rather a file source from it). These colors work well for numerous programming languages, and in particularly R, C/C++, SQL, shell scripts, ... You can probably adapt these at will to suit your preference (here the R GUI).

See the Emacs Wiki for countless alternatives.

0

精彩评论

暂无评论...
验证码 换一张
取 消