From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: doc problems with defcustom Date: Tue, 08 Jun 2004 07:30:02 +0200 (CEST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040608.073002.238272728.wl@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1086677003 11695 80.91.224.253 (8 Jun 2004 06:43:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Jun 2004 06:43:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jun 08 08:43:16 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BXaKK-0005bq-00 for ; Tue, 08 Jun 2004 08:43:16 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BXaKK-0000Yk-00 for ; Tue, 08 Jun 2004 08:43:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BXaKt-00059y-O7 for emacs-devel@quimby.gnus.org; Tue, 08 Jun 2004 02:43:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BXaKn-00057t-Fb for emacs-devel@gnu.org; Tue, 08 Jun 2004 02:43:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BXaKk-00052g-82 for emacs-devel@gnu.org; Tue, 08 Jun 2004 02:43:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BXaKk-00052V-3b for emacs-devel@gnu.org; Tue, 08 Jun 2004 02:43:42 -0400 Original-Received: from [212.227.126.173] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BXaJa-0007Pr-P8 for emacs-devel@gnu.org; Tue, 08 Jun 2004 02:42:31 -0400 Original-Received: from [212.227.126.208] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BXaJa-0005VJ-00 for emacs-devel@gnu.org; Tue, 08 Jun 2004 08:42:30 +0200 Original-Received: from [80.129.69.250] (helo=orion.univie.ac.at) by mrelayng.kundenserver.de with asmtp (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1BXaJa-0001vw-00 for emacs-devel@gnu.org; Tue, 08 Jun 2004 08:42:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by orion.univie.ac.at (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id i585U2400304 for ; Tue, 8 Jun 2004 07:30:02 +0200 Original-To: emacs-devel@gnu.org X-Mailer: Mew version 4.0.65 on Emacs 21.3.50.1 / Mule 5.0 (SAKAKI) X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:2dc398bc694a1e60948148ba0a42c0da X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24693 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24693 [CVS 2004-05-30] 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 -- at least there isn't a link from the defcustom description to such a place if it exists. For example, I would like to make my users add `CJKinclude' to reftex-include-file-commands, defined in reftex-vars.el. For me, the easiest way is to write (add-to-list 'reftex-include-file-commands "CJKinclude") in `.emacs' (and this is what I recommend my users). If such a solution is deprecated or should be avoided, please say so in the documentation. Werner