With a little side of applesauce...

Tuesday, October 9, 2007

Ubuntu - tramp/emacs22 - void-variable tramp-default-user-alist

I have tried to set the tramp-default-user-alist in .emacs with both emacs21/emacs22 on Ubuntu, but kept getting the following error:

void-variable tramp-default-user-alist

Finally, I started grep'ing out tramp-default-user-alist in the tramp*.el files, but couldn't find it defined (tramp-version == 2.0.55). Next, I downloaded the newest tramp from Savannah, and found that tramp-default-user-alist was indeed defined, (tramp-version == 2.1.10). My fix was to compile version 2.1.10 which now loads into emacs22, and now my void-variable error is a thing of the past... :)

4 comments:

speeves said...

BTW, you need to install texinfo to get the makeinfo binary:

sudo apt-get install texinfo

This is not readily apparent, because apt-cache search makeinfo returns texi2html, which does _not_ include makeinfo.

makeinfo is needed to compile tramp.

speeves said...

So, the Ubuntu tramp package, (which targets emacs <= 21), is version 2.0.54. The tramp included in emacs22 == 2.0.55.

speeves said...

Here is verification of the version of tramp in emacs22:

trampver.el:(defconst tramp-version "2.0.55"

speeves said...

This issue still exists in Ubuntu Gutsy...