Tom Roche <[email protected]> writes:

> The latter seems preferable. I currently have in my init.el
>
>> ; ------------------------------------------------------------------
>> ; tramp
>> ; ------------------------------------------------------------------
>> 
>> (require 'tramp) ; if not already
>> ;;; from 
>> http://www.saltycrane.com/blog/2008/11/creating-remote-server-nicknames-sshconfig/
>> (tramp-set-completion-function "ssh"
>>   '((tramp-parse-sconfig "/etc/ssh_config")
>>     (tramp-parse-sconfig "~/.ssh/config")))
>
> I appended
>
> (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
>
> to the above, byte-compile-file init.el, and restarted emacs. But
> restart abended with
>
> *Backtrace*
>> Debugger entered--Lisp error: (void-variable tramp-remote-path)
>>   add-to-list(tramp-remote-path tramp-own-remote-path)

My bad. With Tramp 2.2, `tramp-remote-path' has been moved to
tramp-sh.el. I forgot to mark it for autoload.

As workaround, you could do

(require 'tramp)
(require 'tramp-sh)

> * M-x tramp-version
>> 2.2.3-24.1

I will fix it in Tramp 2.2.4 (and in Emacs 24.1, 'cause it doesn't hurt).

> Your assistance is appreciated! Tom Roche <[email protected]>

Best regards, Michael.

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to