all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hongxu Chen <leftcopy.chx@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Why does `ansi-color-names-vector' appear in my .emacs?
Date: Tue, 14 May 2013 17:46:25 +0800	[thread overview]
Message-ID: <CAJPBKOHAvAnO1JcgDwazdHdt9LyAjBsAYXeEARdb6vKFxBObyw@mail.gmail.com> (raw)
In-Reply-To: <83a9ny836w.fsf@gnu.org>

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".
>
>


  reply	other threads:[~2013-05-14  9:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2013-05-14 22:49   ` Xue Fuqiao
2013-05-15  7:01     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJPBKOHAvAnO1JcgDwazdHdt9LyAjBsAYXeEARdb6vKFxBObyw@mail.gmail.com \
    --to=leftcopy.chx@gmail.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.