tramp-devel
[Top][All Lists]
Advanced

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

Re: why default variables are set to nil in emacs24


From: Michael Albinus
Subject: Re: why default variables are set to nil in emacs24
Date: Thu, 30 Dec 2010 10:15:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Thierry Volpiatto <address@hidden> writes:

> Hi Michael,

Hi Thierry,

> i wonder why between others,
> tramp-default-user-alist, and tramp-default-method-alist are set to nil
> in emacs24.

There was a reorganization in Tramp 2.2. Method depending packages, like
tramp-sh.el or tramp-smb.el, are loaded only when the corresponding
method is used the first time.

> That break my anything-find-files when i want to use
> /hostname:
> When i set these variables like in emacs-23 branch, all work fine.
> (or if i use emacs23)
> So i guess these variables are set in some way in find-file or somewhere
> because in emacs -Q, C-x C-f /hostname: work as expected.
> It would be nice for third party packages that a default value is given
> like in emacs23.

I've added the tramp-autoload cookie to the initialisation code of
`tramp-default-user-alist' and `tramp-default-method-alist' in those
Tramp packages. By this, both variables shall be initialized as before
after loading tramp.el.

Best regards, Michael.



reply via email to

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