I use ido-find-file in emacs (through the "emacs starter kit"). There is one drawback I've found, namely that it uses the location in the file I'm currently editing as an extra hint. In some cases, this is handy, like when my point is somewhere on an actual filename:
open('README.txt').readlines() ^ point is here
If I press
ctrl-x ctrl-f, it'll suggest
README.txt for opening.
The problem occurs for instance when editing html:
</tbody> </table> ^ point is here
It'll think that
/table means a directory name and the "find file" minibuffer is ready for all my data entry pleasure and suggests
tmp/ | Applications/ | ... and so on: directories in my root.
This means that when opening a file from within an html file, I have to make sure I'm outside a closing tag as otherwise the completion trips me up.
Is there a setting to switch off this behaviour?