emacs-devel
[Top][All Lists]
Advanced

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

Custom question: different default values for different environments?


From: Kai Großjohann
Subject: Custom question: different default values for different environments?
Date: Sun, 27 Apr 2003 15:05:03 +0200
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux)

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)





reply via email to

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