[macemacsjp-english 588] Re: graphical windows using ESS and R

Back to archive index

Peter Dyballa Peter_Dybal****@Web*****
Wed Jun 14 06:36:44 JST 2006


Am 13.06.2006 um 16:53 schrieb Nick Reich:

> Are there other modifications I need to make for the X11 server to be
> recognized by CarbonEmacs?

It seems DISPLAY must be set in the process environment of Carbon  
Emacs. So it would be needed set in ~/.MacOSX/environment.plist ...


You can modify ~/.xinitrc to write DISPLAY into ~/.MacOSX/ 
environment.plist when X11 is launched, and delete it when X11 quits:

	defaults write ${HOME}/.MacOSX/environment "DISPLAY" $DISPLAY		#  
near the beginning
	...
	( quartz-wm ; defaults delete ${HOME}/.MacOSX/environment  
"DISPLAY" )	# last line best

You would need to launch Carbon Emacs after X11 was launched. In case  
you're the only user on the Mac you can invoke the line

	defaults write ${HOME}/.MacOSX/environment "DISPLAY" :0

once and for the time following DISPLAY will be set in all Quartz  
applications launched afterwards.

--
Greetings

   Pete

»¿ʇı̣ əsnqɐ ʇ,uɐɔ noʎ ɟı̣
ɓuı̣ɥʇʎuɐ sı̣ pooɓ ʇɐɥʍ«





More information about the macemacsjp-english mailing list
Back to archive index