From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.help Subject: Re: Variable that can be set only through customize Date: Fri, 30 Aug 2013 17:37:38 +0200 Message-ID: <87txi7yyt9.fsf@free.fr> References: <87ob8gcujn.fsf@free.fr> <1e406524-3776-4e86-b759-075eda0dea9e@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1377877088 9372 80.91.229.3 (30 Aug 2013 15:38:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Aug 2013 15:38:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 30 17:38:09 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VFQlz-0001Aw-LF for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Aug 2013 17:38:07 +0200 Original-Received: from localhost ([::1]:51221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFQly-0003VY-QS for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Aug 2013 11:38:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFQlk-0003UW-RT for help-gnu-emacs@gnu.org; Fri, 30 Aug 2013 11:37:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFQle-0003MG-T5 for help-gnu-emacs@gnu.org; Fri, 30 Aug 2013 11:37:52 -0400 Original-Received: from smtp1-g21.free.fr ([2a01:e0c:1:1599::10]:42254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFQle-0003LO-9p for help-gnu-emacs@gnu.org; Fri, 30 Aug 2013 11:37:46 -0400 Original-Received: from lago (unknown [82.244.252.119]) by smtp1-g21.free.fr (Postfix) with ESMTP id 94BCD940213; Fri, 30 Aug 2013 17:37:39 +0200 (CEST) In-Reply-To: <1e406524-3776-4e86-b759-075eda0dea9e@default> (Drew Adams's message of "Thu, 29 Aug 2013 10:04:08 -0700 (PDT)") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:e0c:1:1599::10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93177 Archived-At: Drew Adams 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=C2=A0? Is there a way to >> circumvent it=C2=A0? > 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.