all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: 1078@emacsbugs.donarmstrong.com
Cc: Chong Yidong <cyd@stupidchicken.com>
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)	[thread overview]
Message-ID: <200901200255.n0K2tCkx012281@mothra.ics.uci.edu> (raw)


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" #<frame buildem@dannlt 0x898e680>)
  set-face-attribute(default #<frame buildem@dannlt 0x898e680> :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 #<frame buildem@dannlt 0x898e680> (: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 #<frame buildem@dannlt 0x898e680> ((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 #<frame buildem@dannlt 0x898e680>)
  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)"






             reply	other threads:[~2009-01-20  2:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-20  2:55 Dan Nicolaescu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-12-13 18:05 bug#1078: 23.0.60; font faces setting ignored by emacsclient vs --daemon, when Viper mode is loaded Dan Nicolaescu

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=200901200255.n0K2tCkx012281@mothra.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=1078@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    /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.