From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Why does `ansi-color-names-vector' appear in my .emacs? Date: Wed, 15 May 2013 10:01:21 +0300 Message-ID: <834ne47mm6.fsf@gnu.org> References: <83a9ny836w.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1368601303 26376 80.91.229.3 (15 May 2013 07:01:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 May 2013 07:01:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 15 09:01:42 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 1UcViX-0007z0-T5 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 May 2013 09:01:42 +0200 Original-Received: from localhost ([::1]:58686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcViX-00005S-Iu for geh-help-gnu-emacs@m.gmane.org; Wed, 15 May 2013 03:01:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcViL-00005G-SK for help-gnu-emacs@gnu.org; Wed, 15 May 2013 03:01:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcViK-00059q-5h for help-gnu-emacs@gnu.org; Wed, 15 May 2013 03:01:29 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:63256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcViJ-00059Z-Tw for help-gnu-emacs@gnu.org; Wed, 15 May 2013 03:01:28 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MMT00K00V8DDF00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Wed, 15 May 2013 10:01:26 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MMT00KJTVIEC480@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Wed, 15 May 2013 10:01:26 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:90794 Archived-At: > Date: Wed, 15 May 2013 06:49:36 +0800 > From: Xue Fuqiao > > 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. > > > > In general, anything inside custom-set-variables is generated by > > "M-x customize-variable RET". > > Thanks for your attention. But I haven't set this variable manually, > the only customization regarding color I customized is this expression: > > '(custom-enabled-themes (quote (tsdh-dark))) > > After I changed the Emacs theme, the a-c-n-v variable is automatically > modified. Why? How would I know? Perhaps the theme invokes Customize behind the scenes. Look at the code.