[ESS] Re: Filename completion becomes object completion

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Thu May 5 12:27:21 CEST 2005


David,
thanks for the email - looks like my change to add-hooks caused this
reordering of functions.  I can update the lisp file to revert the
old order:

try filename 
try object
try history 


Stephen


Brahm, David writes:
 > I believe I found the cause of my filename completion problem, also
 > reported by
 > Giovanni d'Ario on 3/17/05.  Prior to ESS version 5.2.4, ess-inf.el
 > contained:
 > 
 >   (setq comint-dynamic-complete-functions
 > 	'(ess-complete-filename
 > 	  ess-complete-object-name
 > 	  comint-replace-by-expanded-history))
 > 
 > Note the trial order was: 1) filename, 2) object, 3) history.
 > 
 > In 5.2.4, this was replaced by a hook.  The ChangeLog comment is:
 > 
 >   2004-11-09  Stephen Eglen  <stephen at gnu.org>
 > 	* ess-inf.el (inferior-ess-mode): Add elements to
 > 	comint-dynamic-complete-functions using `add-hook' rather than
 > 	`setq', on advice from Emacs developers.




More information about the ESS-help mailing list