[ESS-bugs] Re: [ESS] Solved - no gnuclient in linux

Martin Maechler maechler at stat.math.ethz.ch
Wed Mar 30 10:57:07 CEST 2005


This seems two bugs that we should fix:

1) The documentation mentions "gnuclient" only for windows,
   but AFAICS it is also needed (and used) for Xemacs on
   non-windows.

2) Can we find out if the "-q" switch can safely be dropped,
   or is it needed when using  gnuclient on windows
   (for GNU emacs and / or Xemacs, there) ?

It would be great if this could be resolved soon.
I definitely would like to release ESS 5.2.7  before mid of April!
   
(OTOH, semester and teaching has started, and I am pretty busy.)

Martin

>>>>> "Fredrik" == Fredrik Lundgren <fredrik.bg.lundgren at bredband.net>
>>>>>     on Tue, 29 Mar 2005 23:15:36 +0200 writes:

    Fredrik> Finally, I found a way to make fix() and edit()
    Fredrik> work with gnuclient in
    Fredrik> ESS-5.2.6/R-2.0.1/Xemacs-21.4.15-r3 on
    Fredrik> gentoo-linux.

    Fredrik> When invoking R/ESS the following is induced by ESS
    >> options(STERM='iESS', editor='gnuclient -q')

    Fredrik> It appears as if the problem is with 'gnuclient -q'
    Fredrik> (whatever does -q signify??)  and when i changed a
    Fredrik> row in ess-5.2.6/lisp/gnu-cust.el things worked in
    Fredrik> the expected way.  Change row

    Fredrik> if (featurep 'xemacs) "gnuclient -q"
    Fredrik> "emacsclient"))) ;; unix

    Fredrik> to

    Fredrik> if (featurep 'xemacs) "gnuclient" "emacsclient")))
    Fredrik> ;; unix

    Fredrik> and all things work OK.

    Fredrik> The only thing needed in init.el for gnuclient to
    Fredrik> work in this setup is

    Fredrik> (gnuserv-start)

    Fredrik> and possibly

    Fredrik> (setq gnuserv-frame (selected-frame))

    Fredrik> if you whant the gnuclient frame to open within
    Fredrik> Xemacs

    Fredrik> and no fuss with PATH


    Fredrik> Many thanks to Richard M. Heiberger for all help!

    Fredrik> Fredrik

    Fredrik> PS A peculiar thing though - In the latest manual
    Fredrik> for ESS it's said: 4.9 Using emacsclient

    Fredrik> When starting R or S under Unix, ESS sets
    Fredrik> options(editor="emacsclient").  (Under

    Fredrik> Microsoft Windows, it will use gnuclient.exe rather
    Fredrik> than emacsclient, but the same principle

    Fredrik> applies.)

    Fredrik> but I got options(editor="gnuclient -q")

    Fredrik> now changed to options(editor="gnuclient ")

    Fredrik> DS



    Fredrik> ----- Original Message ----- From: "Richard
    Fredrik> M. Heiberger" <rmh at temple.edu> To: "Fredrik
    Fredrik> Lundgren" <fredrik.bg.lundgren at bredband.net> Cc:
    Fredrik> "ess-help-request at stat.math.ethz.ch"
    Fredrik> <ess-help at stat.math.ethz.ch> Sent: Monday, March
    Fredrik> 28, 2005 5:07 PM Subject: Re: [ESS] no gnuclient


    >> I am out of my range with linux.  An Xemacs-on-linux user
    >> will have to make further comments on the linux side.
    >> 
    >> 
    >> On windows, I think you do not yet have the right
    >> load-path specified.  I have gnuserv in the following
    >> directory c:/emacs/gnuserv/ and I have in it executables
    >> gnuclient.exe ## use this one for edit, as it locks R and
    >> ## waits for the edit to complete.  gnuclientw.exe ## use
    >> this one for paging, as it doesn't lock R gnuserv.exe ##
    >> background process
    >> 
    >> My emacs exec-path includes "c:/emacs/gnuserv" My emacs
    >> load-path includes "c:/emacs/gnuserv"
    >> 
    >> My site-start.el includes the lines (require 'gnuserv) ##
    >> this loads c:/emacs/gnuserv/gnuserv.el into emacs
    >> (gnuserv-start) ## this executes
    >> c:/emacs/gnuserv/gnuserv.exe as ## a background process
    >> (setq gnuserv-frame (selected-frame)) ## this makes files
    >> stay in the same frame
    >> 
    >> 
    >> Rich
    >> 

    Fredrik> ______________________________________________
    Fredrik> ESS-help at stat.math.ethz.ch mailing list
    Fredrik> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-bugs mailing list