Enter your bug report in this message, including as much detail as you possibly can about the problem, what you did to cause it and what the local and remote machines are. If you can give a simple set of instructions to make this bug happen reliably, please include those. Thank you for helping kill bugs in TRAMP. --bug report follows this line-- When doing find-file tab-expansions of file names, tramp fails to expand correctly when there is only one possible non-dot-dir completion. Example: Say you have the following path in your homedir: ~/tmp/test/ with nothing else in the ~/tmp dir aside from . and .. `C-x f ~/tmp/ TAB' properly produces the expanded filename `~/tmp/test/' However, `C-x f /r@su:mah@localhost:~/tmp/ TAB' prompts you for a choice of `.', `..', and `test/'. Emacs : GNU Emacs 20.7.2 (i386-debian-linux-gnu, X toolkit) of Tue Jun 20 2000 on raven Package: tramp ($Id: tramp.el,v 2.0.2.1 2001/02/28 18:10:31 grossjoh Exp $) current state: ============== (setq tramp-ls-command nil tramp-test-groks-nt nil tramp-file-exists-command nil tramp-current-method nil tramp-current-user nil tramp-current-host nil tramp-auto-save-directory nil tramp-default-method "sm" tramp-rsh-end-of-line "\n" tramp-remote-path '("/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin" "/usr/ccs/bin" "/local/bin" "/local/freeware/bin" "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin") tramp-login-prompt-regexp ".*ogin: *$" tramp-password-prompt-regexp "^.*\\([pP]assword\\|passphrase.*\\): ? *$" tramp-wrong-passwd-regexp "^.*\\(Permission denied.\\|Login [Ii]ncorrect\\|Received signal [0-9]+\\|Connection \\(refused\\|closed\\)\\|Sorry, try again.\\|Name or service not known\\).*$" tramp-temp-name-prefix "tramp." tramp-file-name-structure '("\\`/r\\(@\\([a-z0-9]+\\)\\)?:\\(\\([-a-z0-9_#]+\\)@\\)?\\([-a-z0-9.]+\\):\\(.*\\)\\'" 2 4 5 6) tramp-file-name-regexp "\\`/r[@:]" tramp-make-tramp-file-format "/r@%m:%u@%h:%p" tramp-end-of-output "/////" shell-prompt-pattern "^[^#$%>\n]*[#$%>] +" backup-by-copying nil backup-by-copying-when-linked nil backup-by-copying-when-mismatch nil )