Re: [ESS] Trailing slash deleted from find-file prompt

2021-03-08 Thread Brendan.Halpin via ESS-help
I can fix this by changing ess-synchronize-dirs in ess-inf.el: (defun ess-synchronize-dirs () "Set Emacs' current directory to be the same as the subprocess directory. To be used in `ess-idle-timer-functions'." (when (and ess-can-eval-in-background ess-getwd-command

Re: [ESS] Trailing slash deleted from find-file prompt

2021-03-05 Thread Brendan.Halpin via ESS-help
To demonstrate: Starting an R session with M-x R. The comments "# default-directory" are evaluated with C-u C-x C-e. Sourcing a small file doesn't change default-directory, but running it from the buffer with C-c C-r strips the final slash. ess-version: 18.10.3snapshot [elpa: 20210227.2101]

Re: [ESS] Trailing slash deleted from find-file prompt

2021-03-05 Thread Brendan.Halpin via ESS-help
Thanks for the hint. They have the values nil (use current) and t (ask) respectively, for the moment. Brendan -- Brendan Halpin, Department of Sociology, University of Limerick, Ireland Tel: w +353-61-213147 Room F1-007 x 3147 http://teaching.sociology.ul.ie/bhalpin/wordpress

[ESS] Trailing slash deleted from find-file prompt

2021-03-04 Thread Brendan.Halpin via ESS-help
There is an intermittent problem that I have been observing for a year or two, using ESS: After some time, or some action, in ESS, and I think only in R-mode, the find-file prompt loses its trailing slash, and if you want to complete you need to insert it by hand. I suspect this is due to a