[ESS] file name completion again

Martin Maechler maechler at stat.math.ethz.ch
Wed Aug 31 16:30:50 CEST 2005


Hi Jean,

>>>>> "Jean" == Jean Eid <jeaneid at chass.utoronto.ca>
>>>>>     on Wed, 31 Aug 2005 09:11:39 -0400 writes:

    Jean> I asked this question a while back and no solution was
    Jean> given. I installed the new ess package and it is still
    Jean> not working.

"new" and then you say it's version 5.2.6 ???

    Jean> The question deals with file-name completion and
    Jean> tracking the setwd() to sync the current directory in ESS.

tracking setwd() is still on our todo list, unfortunately.
It's not hard, but not trivially easy and somehow we have been
busy with other stuff.

    Jean> esc-tab generates an error "wrong type argument: stringp, nil"

this is a bug I think we've fixed for 5.2.8 :

     http://ESS.r-project.org/Manual/readme.html#New-Features
has
   >    Changes/New Features in 5.2.8:
   >    * iESS: [Tab] completes *file* names "inside string" as in earlier
   >      (<= 5.2.3) ESS versions.


    Jean> The only way around this is I have included the
    Jean> following key definition

    Jean> (global-set-key [(shift tab)]  'comint-dynamic-complete-filename)

    Jean> now shift-tab does the work but I need to resync the
    Jean> current working directory. Is there a way I can
    Jean> directly get xemacs to do so.

    Jean> I am using xemacs 21.4 (patch 17) on a debian machine.
    Jean> ess version 5.2.6

5.2.6 is outdated; please get 5.2.9 

Note however that unless you can *replace* the xemacs version
of ESS, you may need to carefully remove it; since -- at least
when I tried a while ago -- the Xemacs version is loaded before
the user has any chance to tell differently in his ~/.xemacs/init.el
initialization file.

Martin




More information about the ESS-help mailing list