Hello Michael,

you were right. With

# emacs -Q -L ~/git-emacs/tramp/lisp

error does not happen. So here is a question on how to setup tramp git repo so it gets loaded correctly.

(add-to-list 'load-path "~/git-emacs/tramp/lisp")
(add-to-list 'Info-directory-list "~/git-emacs/tramp/info")
(require 'tramp)

stopped working at some point. And I haven't got a clue what happened or how to fix it. I tried to set load-path before packages get loaded. But that didn't do the trick.

So here is my question: how can I adjust my setup so tramp (or another git repo) gets loaded instead of built in packages or packages loades with package manager?

The setup above worked but stopped to work at some point. A few weeks / months ago.

As stated below I use emacs 25.1.1 and I use packages loded with package manager.

If you don't know how to do this, maybe you can point me a direction how I can proceed.

Thanks again
  Thomas


Am 03.07.2017 um 20:23 schrieb Michael Albinus:
Thomas Holst <[email protected]> writes:

Hello,
Hi Thomas,

I use tramp from git and have tramp set up as follows:

(add-to-list 'load-path "~/git-emacs/tramp/lisp")
(add-to-list 'Info-directory-list "~/git-emacs/tramp/info")
(require 'tramp)

When I try to open a file on a remote server via scp I get an error
saying:

Error running timer: (void-function copy-tramp-file-name)

I use emacs 25.1.1 on Linux Mint.

I searched for "copy-tramp-file-name" inside git repo. The ony
occurance is in tramp-cache.el. But there is no defun. So what to do?
`copy-tramp-file-name' has been defined implicitely by the defstruct
`tramp-file-name'. I suspect that there might be some mismatches of
different Tramp files being loaded. Does the error still happen when you
call

# emacs -Q -L ~/git-emacs/tramp/lisp

Thank you for tramp and thanks for looking into this.

   Thomas
Best regards, Michael.

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

Reply via email to