Fredrik Salomonsson <[email protected]> writes: > Hi,
Hi Fredrik, > Not sure this is the right mailing list or not. I use tramp quite > extensively for doing remote work. It works great but there is one > minor annoyance with it. Using `find-file', the completion on remote > hosts include "../" and "./". Which is quite annoying when navigation > directories that only contains one directory. These are not included > when navigating locally. This behaviour is not documented, but it is implemented in file_name_completion() of dired.c. If there is only one hit besides "./" and "../", they are filtered out. > Is there a way to filter out "../" and "./" in the completion list? Or > a setting for it in tramp? I checked the manual for tramp but that > only mentioned completion for host and users. Or at least that what I > could find. Only thing I found was `completion-regexp-list' in emacs' > elisp manual, but that seems include all completion so that seems too > low level for my need. For consistency, I've implemented it as well in Tramp. I agree with you this is more convcenient. It is committed to the Tramp and Emacs repoositories. Tramp 2.4.3, scheduled for the end of this year, will contain this change. It will be available vie GNU ELPA. > Thanks Best regards, Michael.
