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#1078: 23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded Date: Mon, 19 Jan 2009 18:55:12 -0800 (PST) Message-ID: <200901200255.n0K2tCkx012281@mothra.ics.uci.edu> Reply-To: Dan Nicolaescu , 1078@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 1232420624 19496 80.91.229.12 (20 Jan 2009 03:03:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2009 03:03:44 +0000 (UTC) Cc: Chong Yidong To: 1078@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 20 04:04:55 2009 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 1LP6v9-0003lH-Bs for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Jan 2009 04:04:55 +0100 Original-Received: from localhost ([127.0.0.1]:39077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LP6ts-0007xr-2g for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Jan 2009 22:03:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LP6tn-0007xV-Cl for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 22:03:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LP6tm-0007xJ-4r for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 22:03:30 -0500 Original-Received: from [199.232.76.173] (port=48846 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LP6tm-0007xG-17 for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 22:03:30 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59935) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LP6tl-0003NI-BC for bug-gnu-emacs@gnu.org; Mon, 19 Jan 2009 22:03:29 -0500 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 n0K33Rxo011595; Mon, 19 Jan 2009 19:03:27 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0K303ru010534; Mon, 19 Jan 2009 19:00:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 20 Jan 2009 03:00:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 1078 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1078-submit@emacsbugs.donarmstrong.com id=B1078.123242012710245 (code B ref 1078); Tue, 20 Jan 2009 03:00:03 +0000 Original-Received: (at 1078) by emacsbugs.donarmstrong.com; 20 Jan 2009 02:55:27 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. 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 n0K2tOoq009976 for <1078@emacsbugs.donarmstrong.com>; Mon, 19 Jan 2009 18:55:25 -0800 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 n0K2tDao018529; Mon, 19 Jan 2009 18:55:13 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n0K2tCkx012281; Mon, 19 Jan 2009 18:55:12 -0800 (PST) Original-Lines: 46 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n0K2tDao018529 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) 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: Mon, 19 Jan 2009 22:03:30 -0500 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:24298 Archived-At: The problem seems to related to face setting. Using the .emacs and .viper given in a previous message: .emacs: (setq viper-mode t) (require 'viper) (custom-set-faces '(default ((t (:inherit nil :stipple nil :background "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 90 :width normal :foundry "monospace" :family "monospace"))))) .viper: (setq viper-inhibit-startup-message t viper-expert-level 5) And then run emacs --daemon --eval '(setq debug-on-error t)' emacsclient -c ~/emacs then use C-x C-e on the `custom-set-faces' form. It gets this error: Debugger entered--Lisp error: (error "Undefined color" "unspecified-fg") internal-set-lisp-face-attribute(default :foreground "unspecified-fg" #) set-face-attribute(default # :stipple nil :background "unspecified-bg" :foreground "unspecified-fg" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 1 :width normal :foundry "default" :family "default") apply(set-face-attribute default # (:stipple nil :background "unspecified-bg" :foreground "unspecified-fg" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 1 :width normal :foundry "default" :family "default")) face-spec-set-2(default # ((t :stipple nil :background "unspecified-bg" :foreground "unspecified-fg" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 1 :width normal :foundry "default" :family "default"))) face-spec-recalc(default #) face-spec-set(default ((t (:inherit nil :stipple nil :background "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 90 :width normal :foundry "monospace" :family "monospace"))) t) custom-theme-set-faces(user (default ((t ...)))) apply(custom-theme-set-faces user (default ((t ...)))) custom-set-faces((default ((t ...)))) eval((custom-set-faces (quote (default ...)))) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp nil nil) This does not happen if not using "(setq viper-mode t) (require 'viper)"