From: storm@cua.dk (Kim F. Storm)
Cc: miles@lsi.nec.co.jp, emacs-devel@gnu.org, miles@gnu.org
Subject: Re: doc problems with defcustom
Date: 08 Jun 2004 09:59:13 +0200 [thread overview]
Message-ID: <m3brjuscoe.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <20040608.085847.173397309.wl@gnu.org>
Werner LEMBERG <wl@gnu.org> writes:
> > > Neither in emacs.info nor elisp.info it is described how to
> > > customize a variable defined with defcustom in a non-interactive
> > > way, this is, how to configure it the `.emacs' file instead of
> > > using the `customize' feature
> >
> > Perhaps that's because it's the same as it has always been -- just
> > use setq, or add-to-list, or whatever you like.
>
> I think it would be a good idea to mention this somewhere...
It should mention that it is not always safe to do this.
There are some defcustom variables which have no (or incorrect) effect
if you set them with setq -- such variables typically have a :set
action which must be called for the setting to take effect.
For example pc-selection-mode and global-reveal-mode.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
next prev parent reply other threads:[~2004-06-08 7:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-08 5:30 doc problems with defcustom Werner LEMBERG
2004-06-08 6:52 ` Miles Bader
2004-06-08 6:58 ` Werner LEMBERG
2004-06-08 7:59 ` Kim F. Storm [this message]
2004-06-08 8:25 ` Juanma Barranquero
2004-06-08 9:23 ` Miles Bader
2004-06-08 9:33 ` David Kastrup
2004-06-08 9:35 ` Per Abrahamsen
2004-06-08 11:02 ` Kenichi Handa
2004-06-08 10:20 ` Kenichi Handa
2004-06-08 10:49 ` Stephan Stahl
2004-06-09 1:15 ` Miles Bader
2004-06-08 23:31 ` Richard Stallman
2004-06-08 23:31 ` Richard Stallman
2004-06-09 5:18 ` Werner LEMBERG
2004-06-10 6:55 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3brjuscoe.fsf@kfs-l.imdomain.dk \
--to=storm@cua.dk \
--cc=emacs-devel@gnu.org \
--cc=miles@gnu.org \
--cc=miles@lsi.nec.co.jp \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.