FW: [R] ESS with Xemacs? [vs. Emacs, slightly off topic]

Warnes, Gregory R gregory_r_warnes at groton.pfizer.com
Wed Jan 9 02:09:37 CET 2002



 >  -----Original Message-----
 >  From: Rich Heiberger [mailto:rmh at surfer.sbm.temple.edu]
 >  Sent: Tuesday, January 08, 2002 6:50 PM
 >  To: Warnes, Gregory R; rossini at u.washington.edu
 >  Cc: ESS HelpRUS
 >  Subject: Re: FW: [R] ESS with Xemacs? [vs. Emacs, slightly 
 >  off topic]
 >  
 >  
 >  ra
 >  I think this query is about R and emacs and gnuclient.
 >  
 >  We automatically change the editor and pager in S-Plus to
 >  gnuclient and gnuclientw respectively for S-Plus 4 and 6 
 >  under Windows.
 >  
 >  I can make the change to do the same for R under Windows.
 >  
 >  I wouldn't force gnuclient on Unix users.  They might be 
 >  using emacsclient.

Why not on Unix?  Just provide a configuration option (with a reasonable
default) and let the user select whichever they prefer.   They will almost
always want one or the other since the system default pager and editors are
more or less (pun!) useless within an emacs buffer.

Actually, as a default you could point to a small shell script containing:

	#!/bin/sh
	gnuclient $* || emacsclient $*  ## or vice versa

which will try one and fail-over to the other.  

If you do include such a shell script, add the code from my other message to
add an appropriate mode-line to the file...

-Greg

 >  ESS should not start (gnuserv-start) as that belongs in the 
 >  users .emacs.
 >  ESS (that is R and S-Plus) are not the only potential users 
 >  of gnuserv.
 >  All potential clients should have access.
 >  
 >  Rich
 >  


LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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