bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1129: 23.0.60; emacs --daemon loads only one half of my ~/.emacs


From: Alex
Subject: bug#1129: 23.0.60; emacs --daemon loads only one half of my ~/.emacs
Date: Fri, 10 Oct 2008 12:09:16 +0200

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 via email to

[Prev in Thread] Current Thread [Next in Thread]