Stéphane Senesi <[email protected]> writes: > I investigated further. The problem only appears when the path close > to the point is either an absolute path or a path with a tilde ~ : > - using 'emacs -Q', ffap erroneously (?) tries to find the file on > the local machine, and hence, for the case of an absolute path, > proposes to truncate the file path to the longest one which matches > the local file system
What happens, if you apply (require 'tramp) before? > - using my settings, I get the behaviour described above > > When discarding from my settings the "(require 'ange-ftp)" that was > intended to allow for : > (setq ange-ftp-skip-msgs (concat ange-ftp-skip-msgs "\\|^500 This > security scheme is not implemented")) > I am back to the 'emacs -Q' behaviour That makes it clear. ange-ftp.el adds its own file name handler, which does not know of the method in the file name syntax. That's why it interprets "rsh" as host. > So, I have only one question left : could/should tramp+ffap interpret > absolute and tilde path found at the point of a remote file as remote > paths ? Yes. But maybe, you need to require Tramp first ... > Anyway, thanks for the hint on the method. > > Stéphane Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
