From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Custom question: different default values for different environments? Date: Sun, 27 Apr 2003 15:05:03 +0200 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <843ck4jdkw.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051448852 3355 80.91.224.249 (27 Apr 2003 13:07:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 27 Apr 2003 13:07:32 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Apr 27 15:07:31 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 199lsR-0000ry-00 for ; Sun, 27 Apr 2003 15:07:31 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 199m03-0006Y8-00 for ; Sun, 27 Apr 2003 15:15:28 +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 199lsr-0001fk-08 for emacs-devel@quimby.gnus.org; Sun, 27 Apr 2003 09:07:57 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 199lsW-0001cN-00 for emacs-devel@gnu.org; Sun, 27 Apr 2003 09:07:36 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 199lsU-0001bB-00 for emacs-devel@gnu.org; Sun, 27 Apr 2003 09:07:35 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 199lsU-0001a3-00 for emacs-devel@gnu.org; Sun, 27 Apr 2003 09:07:34 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 199lrQ-0000pY-00 for ; Sun, 27 Apr 2003 15:06:28 +0200 Mail-Followup-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 199lrO-0000pN-00 for ; Sun, 27 Apr 2003 15:06:26 +0200 Original-Lines: 22 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:K97Cm4jFzACA/bzdp4aIx5rjGis= 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:13491 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13491 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. Now if people use Customize to change the variable, then ~/.emacs will contain rsh or remsh. Now if these people use the same ~/.emacs on another system, the variable might contain the wrong entry for that system. How to deal with this situation? I'm guessing that the right strategy is not to deal with it at all, because other variables in Emacs have the same problem, and adding workarounds for such things just doesn't make sense. (For example, load-path contains the Emacs version, so after upgrading Emacs the value saved by Custom will be bad.) Opinions? -- file-error; Data: (Opening input file no such file or directory ~/.signature)