[ESS] problems with emacclient

Martin Maechler maechler at stat.math.ethz.ch
Wed Nov 2 22:17:08 CET 2005


>>>>> "Brendan" == Brendan Halpin <brendan.halpin at ul.ie>
>>>>>     on 28 Oct 2005 11:45:39 +0100 writes:

    Brendan> Before running emacsclient you need to have a
    Brendan> running emacs which has received the server-start
    Brendan> command, either interactively (M-x server-start, as
    Brendan> Stephen suggested) or by including "(server-start)"
    Brendan> in your .emacs

the latter could be conditionalized such that it would only
happen when ESS is started, 
by adding something like the following

(add-hook
  'inferior-ess-mode-hook
  '(lambda()
    (if (not xemacs-p)
	(server-start nil))))

[which is simplified version of what we have been doing here
 locally, for quite some time.]

Martin

    Brendan> The error message you are getting is saying that
    Brendan> the socket to which emacsclient must talk does not
    Brendan> exist.




More information about the ESS-help mailing list