From: Julien Cubizolles <j.cubizolles@free.fr>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Variable that can be set only through customize
Date: Fri, 30 Aug 2013 17:37:38 +0200 [thread overview]
Message-ID: <87txi7yyt9.fsf@free.fr> (raw)
In-Reply-To: <1e406524-3776-4e86-b759-075eda0dea9e@default> (Drew Adams's message of "Thu, 29 Aug 2013 10:04:08 -0700 (PDT)")
Drew Adams <drew.adams@oracle.com> writes:
>> While configuring AUCTex, I came upon this variable
>> LaTeX-math-abbrev-prefix that can only be set through customize. That's
>> what the docstring says, and indeed I can't change its value using
>> setq. What's the purpose of this limitation ? Is there a way to
>> circumvent it ?
> To set an option value programmatically, you will want to first check the
> option definition - its `defcustom'. Once you understand that you will be
> in a better position to know what you might need to do when setting the
> value.
Thanks for this very thorough answer.
> If you intend to set option values using Lisp, you will want to become
> familiar with (at least) these Customize functions: `customize-set-value',
> `customize-set-variable'.
That's what I had settled on.
Julien.
prev parent reply other threads:[~2013-08-30 15:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-29 16:48 Variable that can be set only through customize Julien Cubizolles
2013-08-29 17:04 ` Drew Adams
2013-08-30 15:37 ` Julien Cubizolles [this message]
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=87txi7yyt9.fsf@free.fr \
--to=j.cubizolles@free.fr \
--cc=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
/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.
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).