]> git.eshelyaron.com Git - emacs.git/commit
Fix remote-host directory tracking for shells in `term' buffers
authorPhil Sainty <psainty@orcon.net.nz>
Thu, 3 May 2018 13:29:42 +0000 (01:29 +1200)
committerPhil Sainty <psainty@orcon.net.nz>
Sun, 3 Jun 2018 23:10:21 +0000 (11:10 +1200)
commit03697e648c080f6b007b6ef8443fd4448bc52364
treeba7d9eae1d5d21fa13d2ba9103289b0d0d6c10e3
parent16e8541b743a6beb1926fef53cf1bfaed9c346db
Fix remote-host directory tracking for shells in `term' buffers

* lisp/term.el (term-handle-ansi-terminal-messages): Use an explicit
tramp method when constructing the tramp path for a non-local host,
as this is now mandatory.  "-" is a pseudo-method for the user's
`tramp-default-method'.  (Bug#31355)

Specify the remote username explicitly in all cases, as
`tramp-default-user' and `tramp-default-user-alist' could cause the
previous logic to fail.

Minor related improvements to the commentary.
lisp/term.el