unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex <kensanata@gmail.com>
To: "Tassilo Horn" <thorn@fastmail.fm>
Cc: Dan Nicolaescu <dann@ics.uci.edu>, 1129@emacsbugs.donarmstrong.com
Subject: bug#1129: 23.0.60; emacs --daemon loads only one half of my ~/.emacs
Date: Fri, 10 Oct 2008 12:09:16 +0200	[thread overview]
Message-ID: <9abbd5730810100309l5895af55r5ac06772854c61a9@mail.gmail.com> (raw)
In-Reply-To: <87r66peya7.fsf@baldur.tsdh.de>

This particular piece of code can be changed. For my Pink Bliss theme,
for example, I use the code below. All we need is a generic
implementation. :)

(defvar pink-bliss-foreground-colors
  (let ((candidates)
	;; (red-limit #xe000)
	(green-limit #xed00)
	(both-limit #xa000))
    (dolist (item color-name-rgb-alist)
      (destructuring-bind (color red green blue) item
	(when (and (not (color-gray-p color))
		   ;; (< red red-limit)
		   (< green green-limit)
		   (not (and (> red both-limit)
			     (> green both-limit))))
	  (setq candidates (cons color candidates)))))
    candidates)
  "Colors to use for nicks in rcirc, for example.

To check out the list, evaluate
\(list-colors-display pink-bliss-foreground-colors).")






      reply	other threads:[~2008-10-10 10:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-09 12:43 bug#1129: 23.0.60; emacs --daemon loads only one half of my ~/.emacs Tassilo Horn
2008-10-09 17:12 ` Dan Nicolaescu
2008-10-09 19:29   ` Tassilo Horn
2008-10-09 20:06     ` Dan Nicolaescu
2008-10-10  6:53       ` Tassilo Horn
2008-10-10 10:09         ` Alex [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=9abbd5730810100309l5895af55r5ac06772854c61a9@mail.gmail.com \
    --to=kensanata@gmail.com \
    --cc=1129@emacsbugs.donarmstrong.com \
    --cc=dann@ics.uci.edu \
    --cc=thorn@fastmail.fm \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).