tramp-devel
[Top][All Lists]
Advanced

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

Re: Tramp 2.1.9


From: Michael Albinus
Subject: Re: Tramp 2.1.9
Date: Mon, 23 Apr 2007 23:18:19 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

Pete Forman <address@hidden> writes:

>>`add-to-list' inserts by default at the beginning of the list; your
>>own settings have priority over Tramp's settings. So there is no need
>>to nukenize `tramp-default-user-alist'.
>
> It's just that when I come to Customize tramp-default-user-alist I'm
> presented with a mismatch and raw lisp for a value.  It is my
> understanding that a variable declared with defcustom is a User Option
> and should not be modified by the code.  add-to-list is called in
> several places. One way to handle that is to have a new ordinary
> variable that gets its initial value from tramp-default-user-alist
> and then is added to.  No doubt there are more elegant alternatives.

You're right, Tramp is too sloppy with defcustom variables. Shall be
fixed.

>>In fact `tramp-default-user' is kept for backwards compatibility
>>reasons only.
>
> I see.  Maybe you could tweak its doc to emphasize that.

I've added two or three sentences to the doc. All other changes you've
proposed are now listed in the Todo list of tramp.el. I'm a little bit
reluctant to apply basic changes shortly before I'll be offline for 3
weeks :-)

Thanks for all your suggestions, and best regards, Michael.




reply via email to

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