From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: doc problems with defcustom Date: Tue, 8 Jun 2004 20:02:09 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200406081102.UAA08715@etlken.m17n.org> References: <20040608.085847.173397309.wl@gnu.org> <20040608101857.9673.JMBARRANQUERO@wke.es> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1086692561 19191 80.91.224.253 (8 Jun 2004 11:02:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Jun 2004 11:02:41 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Jun 08 13:02:34 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 1BXeNG-0004il-00 for ; Tue, 08 Jun 2004 13:02:34 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BXeNF-0003bD-00 for ; Tue, 08 Jun 2004 13:02:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BXeNq-0006eD-3B for emacs-devel@quimby.gnus.org; Tue, 08 Jun 2004 07:03:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BXeNi-0006du-L8 for emacs-devel@gnu.org; Tue, 08 Jun 2004 07:03:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BXeNh-0006dh-RZ for emacs-devel@gnu.org; Tue, 08 Jun 2004 07:03:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BXeNh-0006de-Ir for emacs-devel@gnu.org; Tue, 08 Jun 2004 07:03:01 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BXeN3-0007lL-Tt for emacs-devel@gnu.org; Tue, 08 Jun 2004 07:02:22 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/8.11.6) with ESMTP id i58B2AQ01525; Tue, 8 Jun 2004 20:02:10 +0900 (JST) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6p2/8.11.6) with ESMTP id i58B29W22292; Tue, 8 Jun 2004 20:02:09 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id UAA08715; Tue, 8 Jun 2004 20:02:09 +0900 (JST) Original-To: jmbarranquero@wke.es In-reply-to: <20040608101857.9673.JMBARRANQUERO@wke.es> (message from Juanma Barranquero on Tue, 08 Jun 2004 10:25:38 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) 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:24719 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24719 In article <20040608101857.9673.JMBARRANQUERO@wke.es>, Juanma Barranquero writes: > Which is the right way to set such a variable in .emacs (for those of us > who don't want to use customize)? > (customize-set-variable 'pc-selection-mode t) Oops, I didn't know about this function. By the way, the docstring contains this sentence: value is a Lisp object. but I think it's not necessary because we can't have anything other than Lisp object. Miles Bader writes: > No, just use the associated function, e.g., (pc-selection-mode t) > The issue is really independent of customize; some modes need setup to > be done, and the way you do it these days is by calling the mode function. For minor-mode variables, what's the difference between customize-set-variable and the associated function? --- Ken'ichi HANDA handa@m17n.org