setting background color
Pierre Kleiber
pkleiber at honlab.nmfs.hawaii.edu
Sun May 7 22:16:48 CEST 2000
I would like to set the background color for frames in which I am
running R to something diffent than the my usual emacs background.
I have the following in my .emacs file:
;; enable ESS
(load "/usr/local/lib/emacs/site-lisp/ess/lisp/ess-site")
(add-hook 'ess-mode-load-hook
(setq ess-loop-timeout 1000000)
)
(add-hook 'ess-mode-hook
(set-background-color "aquamarine1")
)
(setq ess-source-directory
(lambda () (concat ess-directory ""))
)
The problem is that all emacs frames are set to aquamarine1 whether
I have done "M-x R" or not, and it matters not which of the ess hooks
I use. The background seems to be set at the time the hook is defined,
not when it is invoked (or when I think it should be invoked). Am I
misunderstanding something?... and is there a better approach to try?
Other possibly relevant data: ess-5.1.8; GNU Emacs 20.4.1
(i386-redhat-linux-gnu, X toolkit) of Sat Sep 25 1999 on
porky.devel.redhat.com
Thanks, Pierre
--
-----------------------------------------------------------------
Pierre Kleiber Email: pkleiber at honlab.nmfs.hawaii.edu
Fishery Biologist Tel: 808 983-5399/737-7544
NOAA FISHERIES - Honolulu Laboratory Fax: 808 983-2902
2570 Dole St., Honolulu, HI 96822-2396
-----------------------------------------------------------------
"God could have told Moses about galaxies and mitochondria and
all. But behold... It was good enough for government work."
-----------------------------------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe or unsubscribe
(in the "body", not the subject !) To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the ESS-help
mailing list