all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why does `ansi-color-names-vector' appear in my .emacs?
@ 2013-05-14  5:16 Xue Fuqiao
  2013-05-14  6:51 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Xue Fuqiao @ 2013-05-14  5:16 UTC (permalink / raw)
  To: help-gnu-emacs

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?

--
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Why does `ansi-color-names-vector' appear in my .emacs?
  2013-05-14  5:16 Why does `ansi-color-names-vector' appear in my .emacs? Xue Fuqiao
@ 2013-05-14  6:51 ` Eli Zaretskii
  2013-05-14  9:46   ` Hongxu Chen
  2013-05-14 22:49   ` Xue Fuqiao
  0 siblings, 2 replies; 5+ messages in thread
From: Eli Zaretskii @ 2013-05-14  6:51 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Tue, 14 May 2013 13:16:32 +0800
> From: Xue Fuqiao <xfq.free@gmail.com>
> 
> 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".



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Why does `ansi-color-names-vector' appear in my .emacs?
  2013-05-14  6:51 ` Eli Zaretskii
@ 2013-05-14  9:46   ` Hongxu Chen
  2013-05-14 22:49   ` Xue Fuqiao
  1 sibling, 0 replies; 5+ messages in thread
From: Hongxu Chen @ 2013-05-14  9:46 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: help-gnu-emacs

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 <eliz@gnu.org> wrote:

> > Date: Tue, 14 May 2013 13:16:32 +0800
> > From: Xue Fuqiao <xfq.free@gmail.com>
> >
> > 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".
>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Why does `ansi-color-names-vector' appear in my .emacs?
  2013-05-14  6:51 ` Eli Zaretskii
  2013-05-14  9:46   ` Hongxu Chen
@ 2013-05-14 22:49   ` Xue Fuqiao
  2013-05-15  7:01     ` Eli Zaretskii
  1 sibling, 1 reply; 5+ messages in thread
From: Xue Fuqiao @ 2013-05-14 22:49 UTC (permalink / raw)
  To: help-gnu-emacs

On Tue, May 14, 2013 at 2:51 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Tue, 14 May 2013 13:16:32 +0800
>> From: Xue Fuqiao <xfq.free@gmail.com>
>>
>> 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?

--
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Why does `ansi-color-names-vector' appear in my .emacs?
  2013-05-14 22:49   ` Xue Fuqiao
@ 2013-05-15  7:01     ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2013-05-15  7:01 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Wed, 15 May 2013 06:49:36 +0800
> From: Xue Fuqiao <xfq.free@gmail.com>
> 
> On Tue, May 14, 2013 at 2:51 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> >> Date: Tue, 14 May 2013 13:16:32 +0800
> >> From: Xue Fuqiao <xfq.free@gmail.com>
> >>
> >> 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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-15  7:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-14  5:16 Why does `ansi-color-names-vector' appear in my .emacs? Xue Fuqiao
2013-05-14  6:51 ` Eli Zaretskii
2013-05-14  9:46   ` Hongxu Chen
2013-05-14 22:49   ` Xue Fuqiao
2013-05-15  7:01     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.