[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in tramp?

From: Thomas Holst
Subject: Re: bug in tramp?
Date: Mon, 3 Jul 2017 21:42:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

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

Am 03.07.2017 um 20:23 schrieb Michael Albinus:
Thomas Holst <address@hidden> writes:

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

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

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

Thank you for tramp and thanks for looking into this.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]