unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Custom question: different default values for different environments?
Date: Sun, 27 Apr 2003 15:05:03 +0200	[thread overview]
Message-ID: <843ck4jdkw.fsf@lucy.is.informatik.uni-duisburg.de> (raw)

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	other threads:[~2003-04-27 13:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-27 13:05 Kai Großjohann [this message]
2003-04-28 23:38 ` Custom question: different default values for different environments? Richard Stallman
2003-04-29 15:40   ` Kai Großjohann
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=843ck4jdkw.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).