From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Custom question: different default values for different environments? Date: Mon, 28 Apr 2003 19:38:36 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <843ck4jdkw.fsf@lucy.is.informatik.uni-duisburg.de> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1051573527 21047 80.91.224.249 (28 Apr 2003 23:45:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2003 23:45:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 29 01:45:23 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19AIJH-0005T3-00 for ; Tue, 29 Apr 2003 01:45:23 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19AIRf-0001rs-00 for ; Tue, 29 Apr 2003 01:54:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19AIJ0-00052d-01 for emacs-devel@quimby.gnus.org; Mon, 28 Apr 2003 19:45:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19AIDS-0003Ef-00 for emacs-devel@gnu.org; Mon, 28 Apr 2003 19:39:22 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19AICx-0002td-00 for emacs-devel@gnu.org; Mon, 28 Apr 2003 19:38:52 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19AICi-0002lf-00 for emacs-devel@gnu.org; Mon, 28 Apr 2003 19:38:36 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 19AICi-0005QH-00; Mon, 28 Apr 2003 19:38:36 -0400 Original-To: kai.grossjohann@gmx.net (Kai =?iso-8859-1?q?Gro=DFjohann?=) In-reply-to: <843ck4jdkw.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@gmx.net) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13526 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13526 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.