IMHO expand-file-name should remove ".."'s *before* calling fileLars Hansen <larsh@math.ku.dk> writes:One more problem: The syntax to invoke the Tramp file handler is "\`/[^/:]+:". So the handler is not invoked in the call (expand-file-name "/emacs/../larsh@galois.math.ku.dk:."). The call returns "/larsh@galois.math.ku.dk:." but it should return "/larsh@galois.math.ku.dk:/home/l/larsh".So maybe expand-file-name should re-invoke itself until it reaches a fixpoint?-- A preposition is not a good thing to end a sentence with.