Madhu writes: Hi Madhu, >> I've checked the problem in ffap.el. It looks like we could use a much >> simpler solution: implement unhandled-file-name-directory in >> ffap--url-file-handler. Something like > > In a quick test with the "M-! echo foo" (in a recursive minibuffer at > the ffap prompt), call-shell-region still fails "Setting current > directory" error, Indeed. The following patch seems to work better, could you pls test?