unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Question about set-variable in .emacs
@ 2006-02-17 17:14 Drew Adams
  2006-02-18 15:47 ` Luc Teirlinck
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2006-02-17 17:14 UTC (permalink / raw)


I just had a user who put (setq foo t) in his .emacs. Option foo is defined
with a defcustom that limits its possible values to a :choice that does not
include t.

I wonder what we recommend people to put in their .emacs in such
situations - that is, people who choose not to use Customize (at least for
that option).

setq obviously won't respect the variable-interactive or defcustom typing.
Should we recommend that people code (custom-set-variables ...) by hand? (I
would expect not.)

Should we recommend that they use (set-variable ...)? My guess is that it
might generally be better for people to use (set-variable ...) in .emacs
than (setq ...).

Is there already a recommendation for this? If not, WDOT?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-19 22:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-17 17:14 Question about set-variable in .emacs Drew Adams
2006-02-18 15:47 ` Luc Teirlinck
2006-02-18 16:16   ` Drew Adams
2006-02-19 22:46   ` Richard M. Stallman

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).