From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#1129: 23.0.60; emacs --daemon loads only one half of my ~/.emacs Date: Thu, 9 Oct 2008 10:12:26 -0700 (PDT) Message-ID: <200810091712.m99HCQTk017333@mothra.ics.uci.edu> References: <87y70yos64.fsf@baldur.tsdh.de> Reply-To: Dan Nicolaescu , 1129@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223573429 17412 80.91.229.12 (9 Oct 2008 17:30:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 17:30:29 +0000 (UTC) Cc: 1129@emacsbugs.donarmstrong.com To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 19:31:27 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KnzM2-0005ej-FR for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 19:31:14 +0200 Original-Received: from localhost ([127.0.0.1]:52191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnzKy-0006c1-EE for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 13:30:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnzKt-0006bc-S5 for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 13:30:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnzKr-0006Zs-Bz for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 13:30:02 -0400 Original-Received: from [199.232.76.173] (port=36338 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnzKr-0006Zd-6p for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 13:30:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36648) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnzKq-0006hH-BX for bug-gnu-emacs@gnu.org; Thu, 09 Oct 2008 13:30:00 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m99HTwoL003337; Thu, 9 Oct 2008 10:29:58 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m99HK3U1000960; Thu, 9 Oct 2008 10:20:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 09 Oct 2008 17:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1129 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1129-submit@emacsbugs.donarmstrong.com id=B1129.122357238232187 (code B ref 1129); Thu, 09 Oct 2008 17:20:03 +0000 Original-Received: (at 1129) by emacsbugs.donarmstrong.com; 9 Oct 2008 17:13:02 +0000 Original-Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m99HCvsd032178 for <1129@emacsbugs.donarmstrong.com>; Thu, 9 Oct 2008 10:12:58 -0700 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m99HCSI0006034; Thu, 9 Oct 2008 10:12:28 -0700 (PDT) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m99HCQTk017333; Thu, 9 Oct 2008 10:12:26 -0700 (PDT) In-Reply-To: <87y70yos64.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Thu, 09 Oct 2008 14:43:15 +0200") Original-Lines: 37 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m99HCSI0006034 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.34, required 5, autolearn=disabled, ALL_TRUSTED -1.44, FM_MULTI_ODD2 1.10) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 09 Oct 2008 13:30:02 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21347 Archived-At: Tassilo Horn writes: > ;;; Code: > > (require 'rcirc) > > (defvar rcirc-colors > (if (fboundp 'color-distance) > (let ((min-distance (* 0.23 (color-distance "black" "white"))) > (bg (face-background 'default)) > (fg (face-foreground 'rcirc-my-nick)) > candidates) > (dolist (item color-name-rgb-alist) > (let ((color (car item))) > (when (and (not (color-gray-p color)) > (> (color-distance color bg) min-distance) > (> (color-distance color fg) min-distance)) > (setq candidates (cons color candidates))))) > candidates) > (delete (face-background 'default) (defined-colors))) > "Colors to use for nicks in rcirc. > By default, all the non-grey colors that are very different from > the default background are candidates. The minimum > color-distance is half the distance between black and red as > computed by `color-distance'. > > To check out the list, evaluate (list-colors-display rcirc-colors).") > > This first `defvar' is not evaluated. The variable is unknown to my > emacs started with --daemon... > > In my .emacs I required rcirc before requiring rcirc-color. Can it be > that this double require breaks emacs --daemon? Doubtful. Please look at the *Messages* buffer, it should have a warning that loading .emacs failed. Maybe that warning can help you pin point what the problem is.