I would like to call a function (
find-file) interactively and then set the initial content of the mini buffer to my server's home folder. I got as far as using
call-interactively, but after that I'm lost. Any suggestions?
find-file uses the buffer-local
default-directory value as the default filename (see also
find-file-read-args), so all you need to do is bind that value for the scope of the call to
(let ((default-directory "/home/")) (call-interactively 'find-file))