emacs-devel
[Top][All Lists]
Advanced

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

Re: Custom question: different default values for different environments


From: Kai Großjohann
Subject: Re: Custom question: different default values for different environments?
Date: Tue, 29 Apr 2003 17:40:25 +0200
User-agent: Gnus/5.09002 (Oort Gnus v0.20) Emacs/21.3.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     There is a defcustom tramp-methods which is a long (nested) list.  Its
>     default value contains "rsh" on most systems, but "remsh" on some
>     systems.
>
> The default value could be nil meaning "Use the proper default shell",
> and that default could be stored in another variable which is initialized
> based on the system type and not user-customizable.
>
> I think that solves all the problems you mentioned.

I'm afraid I didn't tell the whole story.  (I didn't think it would
be relevant.)

Actually, nil already has a meaning, and the string can assume other
values besides "rsh"/"remsh": "ssh", "ssh1", "ssh2".  (Those occur in
the default value.)

After some discussion among the Tramp developers, it turns out that
it is probably best to just have two entries everywhere: one entry
mentioning rsh and another entry mentioning remsh.  This means that
users have to know whether their system uses rsh or remsh, but at
least Emacs does what they say.

-- 
file-error; Data: (Opening input file no such file or directory ~/.signature)





reply via email to

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