From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hongxu Chen Newsgroups: gmane.emacs.help Subject: Re: Why does `ansi-color-names-vector' appear in my .emacs? Date: Tue, 14 May 2013 17:46:25 +0800 Message-ID: References: <83a9ny836w.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1368524808 30990 80.91.229.3 (14 May 2013 09:46:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 May 2013 09:46:48 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 14 11:46:47 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 1UcBok-0005B5-Ik for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2013 11:46:46 +0200 Original-Received: from localhost ([::1]:55078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcBok-0001DG-0B for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2013 05:46:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcBoW-0001D7-CD for help-gnu-emacs@gnu.org; Tue, 14 May 2013 05:46:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcBoT-0003dH-9X for help-gnu-emacs@gnu.org; Tue, 14 May 2013 05:46:32 -0400 Original-Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]:48027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcBoQ-0003cS-03; Tue, 14 May 2013 05:46:26 -0400 Original-Received: by mail-wg0-f48.google.com with SMTP id f11so274694wgh.27 for ; Tue, 14 May 2013 02:46:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=yFUk2CtdZf3rAyCiulgfiC0hZTWLOEC833ajLVQLWH0=; b=QKWpnIdVkXPQUumfdGpQbJjbp9GvnzTSecqW2F2HAs9sWSyclsMNb7M6XuTksU5mWB 044YYdX3UPocogloYULb3PC2OIOZvjz7Kw5anW3wwmUIALap7nXpC4t9U1QKQv6qPbdI owP9bIKKaWoa7FCD5vQ1zG+/ZnY3PXsu+0zX5E9NhDEhs26zzqOF4rhSN6pT5GFVQwWs ie1GrpfIfcIY4RaMLSagFKs+4hg0Wpl0ElSNkJSRCVXMSO5Y4NcDmuLufymUsROJ6UDp jT29oJcKrNRd+lYHfvJfgxYG9o3MpI9b4a289oZLPVqTnvNRrbb6rB20Negwf82lZzww ir/g== X-Received: by 10.180.187.234 with SMTP id fv10mr4713717wic.29.1368524785107; Tue, 14 May 2013 02:46:25 -0700 (PDT) Original-Received: by 10.195.18.2 with HTTP; Tue, 14 May 2013 02:46:25 -0700 (PDT) In-Reply-To: <83a9ny836w.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::230 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:90745 Archived-At: I have a question: can the Emacs's customize interface ensure the variables only be evaluated once? I guess that the answer is probably not, but is there any way to achieve that goal while keep the original `defcustom' expression unchanged? Thanks. Hongxu Chen On Tue, May 14, 2013 at 2:51 PM, Eli Zaretskii wrote: > > Date: Tue, 14 May 2013 13:16:32 +0800 > > From: Xue Fuqiao > > > > I found this expression in my .emacs: > > > > (custom-set-variables > > [...] > > '(ansi-color-names-vector > > ["#2d3743" "#ff4242" "#74af68" "#dbdb95" "#34cae2" "#008b8b" > > "#00ede1" "#e1e1e0"]) > > [...]) > > > > I don't know why this expression appears in my .emacs, I'm sure I have > > never customized this variable directly. I have searched it in the > > manuals and web, but I still don't know what these colors are for and > > how this expression was generated. Can anyone point me in the right > > direction? > > In general, anything inside custom-set-variables is generated by > "M-x customize-variable RET". > >