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

Jeff Mincy jeff at delphioutpost.com
Tue Jan 8 22:31:52 CET 2002


On 08 Jan 2002, rossini at blindglobe.net wrote:

>>>>>> "JM" == Jeff Mincy <jeff at delphioutpost.com> writes:

>     JM> And splus pops up a xemacs window editing 'fix' in a
>     JM> temporary file named fix$$.  Unfortunately, the fix function
>     JM> doesn't do anything to tell xemacs that S-mode should be
>     JM> used for the function.
> 
> This is what needs to be solved -- it might be as simple as having
> fix stick a mode-type header, i.e.
> 
> # -*- mode: S -*-
> 
> on the first line if needed...

Yes, a mode line would work. Alternatively you can change the default
temporary file used by FIX to include a Splus type suffix.

Eg:

> options(editor="gnuclient")
> fix(fix, file=paste(tempfile("fix"), ".s", sep=""))

-jeff
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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