From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: Custom question: different default values for different environments?
Date: Tue, 29 Apr 2003 17:40:25 +0200 [thread overview]
Message-ID: <84znm98g7q.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: <E19AICi-0005QH-00@fencepost.gnu.org> (Richard Stallman's message of "Mon, 28 Apr 2003 19:38:36 -0400")
Richard Stallman <rms@gnu.org> 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)
next prev parent reply other threads:[~2003-04-29 15:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-27 13:05 Custom question: different default values for different environments? Kai Großjohann
2003-04-28 23:38 ` Richard Stallman
2003-04-29 15:40 ` Kai Großjohann [this message]
2003-04-30 5:43 ` Richard Stallman
2003-04-30 8:19 ` Kai Großjohann
2003-05-01 3:20 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84znm98g7q.fsf@lucy.is.informatik.uni-duisburg.de \
--to=kai.grossjohann@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.