[Top][All Lists]

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

Re: "Invalid face slant: roman"

From: mike
Subject: Re: "Invalid face slant: roman"
Date: Sat, 1 Mar 2008 09:42:37 -0800 (PST)
User-agent: G2/1.0

On Feb 24, 12:54 am, Zoran Rilak <zoran.ri...@gmail.com> wrote:
>   - If I save this customization and restart Emacs, I get a message
> "Invalid face slant: roman".  The face does not get applied.
>   - Also: sometimes my mode-line face will have its foreground reset
> to #000000 after applying the new default face.

I have the same issue here.  Here is the debugger output and the
custom-set-faces section of my ~/.emacs file:

Debugger entered--Lisp error: (error "Invalid face slant" roman)
  internal-set-lisp-face-attribute(default :slant roman #<frame
emacs@sage 0x8bdfaf8>)
  set-face-attribute(default #<frame emacs@sage 0x8bdfaf8> :slant
  face-spec-set-2(default #<frame emacs@sage 0x8bdfaf8> ((t :stipple
nil :background "white" :foreground "black" :inverse-video nil :box
nil :strike-through nil :overline nil :underline nil :slant
roman :weight normal :height 83 :width normal :family "unknown-dejavu
sans mono")))
  face-spec-recalc(default #<frame emacs@sage 0x8bdfaf8>)
  face-spec-set(default ((t (:stipple nil :background
"#000000" :foreground "#ffffff" :inverse-video nil :box nil :strike-
through nil :overline nil :underline nil :slant normal :weight
normal :height 90 :width normal :family "Monospace"))) t)
  custom-theme-set-faces(user (default ((t ...))) (font-lock-comment-
face ((t ...))) (font-lock-keyword-face ((... ...))) (font-lock-type-
face ((... ...))) (highlight ((... ...))) (minibuffer-prompt
((... ...))) (mode-line ((... ...))) (variable-pitch ((t ...))))
  apply(custom-theme-set-faces user ((default (...)) (font-lock-
comment-face (...)) (font-lock-keyword-face (...)) (font-lock-type-
face (...)) (highlight (...)) (minibuffer-prompt (...)) (mode-line
(...)) (variable-pitch (...))))
  custom-set-faces((default ((t ...))) (font-lock-comment-face
((t ...))) (font-lock-keyword-face ((... ...))) (font-lock-type-face
((... ...))) (highlight ((... ...))) (minibuffer-prompt ((... ...)))
(mode-line ((... ...))) (variable-pitch ((t ...))))
  eval-buffer(#<buffer  *load*> nil "/home/mbt/.emacs" nil t)  ;
Reading at buffer position 5999
  load-with-code-conversion("/home/mbt/.emacs" "/home/mbt/.emacs" t t)
  load("~/.emacs" t t)
  #[nil [Lots of binary output]] [init-file-user system-type user-init-
file-1 user-init-file otherfile source ms-dos "~" "/_emacs" windows-nt
directory-files nil "^\\.emacs\\(\\.elc?\\)?$" "~/.emacs" "^_emacs\\(\
\.elc?\\)?$" "~/_emacs" vax-vms "sys$login:.emacs" "/.emacs" t load
expand-file-name "init" file-name-as-directory "/.emacs.d" file-name-
extension "elc" file-name-sans-extension ".el" file-exists-p file-
newer-than-file-p message "Warning: %s is newer than %s" sit-for 1
"default" alt inhibit-default-init inhibit-startup-screen] 7]()

  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(default ((t (:stipple nil :background "#000000" :foreground
"#ffffff" :inverse-video nil :box nil :strike-through nil :overline
nil :underline nil :slant normal :weight normal :height 90 :width
normal :family "Monospace"))))
 '(font-lock-comment-face ((t (:foreground "DeepSkyBlue1" :weight
 '(font-lock-keyword-face ((((class color) (min-colors 88) (background
dark)) (:foreground "Cyan1" :weight bold))))
 '(font-lock-type-face ((((class color) (min-colors 88) (background
dark)) (:foreground "PaleGreen" :slant italic))))
 '(highlight ((((class color) (min-colors 88) (background dark))
(:background "blue"))))
 '(minibuffer-prompt ((((background dark)) (:foreground "cyan" :height
100 :family "FreeSans"))))
 '(mode-line ((((class color) (min-colors 88)) (:background
"blue" :foreground "white" :box (:line-width -1 :style released-
button) :height 100 :width normal :family "FreeSans"))))
 '(variable-pitch ((t (:family "FreeSans")))))

reply via email to

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