[ESS] problems with emacclient

Kasper Daniel Hansen khansen at stat.Berkeley.EDU
Thu Nov 3 23:31:39 CET 2005

On Nov 3, 2005, at 2:03 PM, Rodney Sparapani wrote:

> Kasper Daniel Hansen wrote:
>> Copy/pasting this thing I get "symbol's value as variable is  
>> void:  xemacs-p
>> This is using GNU Emacs (for Mac) based on a "recent" cvs version  
>> of  v22.0.50 and ess 5.2.10.
>> I guess xemacs-p is some locally defined variable?
>> Kasper
> Hi Kasper:
> There is alot of code that depends on whether you are running GNU  
> Emacs
> or XEmacs.  So, most people have a site defined way of doing that  
> like:
> (setq xemacs-p nil) ; for GNU Emacs
> (setq xemacs-p t)   ; for XEmacs
> So actually, the code is incomplete.  It needs to be something like:
>> (add-hook
>>   'inferior-ess-mode-hook
>>   '(lambda()
>>     (if (xemacs-p) (gnuserv-start)
>> 	(server-start nil))))

Ok, but now I get symbol's function definition is void (xemacs-p do  
exists as a variable, at least C-h v describes the current value (=nil))

I guess I should learn some elisp.


More information about the ESS-help mailing list