Thanks to Stephen and Ivo.  With Ivo's fix, it works OK for me, but
still seems to execute a ess-create-object-name-db the first time I hit
<TAB> in *R*.  I look forward to the permanent fix.  Thanks for all your
help guys - and wow so quick!!
 
Alun
 
---------------------
Dr Alun Pope
 
Group Credit
St.George Bank
Level 9
182 George St
Sydney NSW 2000
 
(T): 02 9236 1442
(F): 02 9236 1570

>>> Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> 23/12/2004 10:02:46 pm
>>>

Offenthaler Ivo writes:
> Dear Alun,
> 
> following Stephen Egles's hint, I searched for the expression:
> (if (or (equal window-system 'w32) (equal window-system 'win32)) in
file
> ess-inf.el
> and commented out all subsequent (sleep-for n) instructions.
> 
> For instance:
>           (if (or (equal window-system 'w32) (equal window-system
> 'win32))
>           (sleep-for 0.5))
> became:
>           (if (or (equal window-system 'w32) (equal window-system
> 'win32))
>           ;(sleep-for 0.5))
> 
> Work's fine for me.
> 
> cheers, Ivo

Yes, for all those working on Emacs (not XEmacs) on windows machine,
the completion code is so slow because of multiple sleep-for
commands.  The worst is one with (sleep-for 4) - which is in a
function called many times.  For now, the temporary fix would be to
add 

;; TEMPORARY FIX !!! Do not keep in .emacs when new ESS is released.
(setq window-system 'mswindows)

in which case a couple of people (including Ivo) have confirmed the
completion is no longer slow.  We plan to release a new version soon
that has this fix.

Stephen



**********************************************************************
*****   IMPORTANT INFORMATION    *****
This document should be read only by those persons to whom it is 
addressed and its content is not intended for use by any other 
persons.  If you have received this message in error, please notify 
us immediately.  Please also destroy and delete the message from 
your computer.  Any unauthorised form of reproduction of this message 
is strictly prohibited.

St George Bank Limited AFSL 240997 or its subsidiaries ASSIRT Pty Ltd 
AFSL 240979, Advance Asset Management Limited AFSL 240902, PACT 
Accountants Investment Group Pty Limited AFSL 240693, St George Life 
Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 
and Securitor Financial Group Limited AFSL 240687 is not liable for 
the proper and complete transmission of the information contained in 
this communication, nor for any delay in its receipt.
**********************************************************************


	[[alternative HTML version deleted]]


