all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: mike@trausch.us
To: bug-gnu-emacs@gnu.org
Subject: Re: "Invalid face slant: roman"
Date: Sat, 1 Mar 2008 09:42:37 -0800 (PST)	[thread overview]
Message-ID: <ff54b12a-feff-4998-b727-59855506a6dc@s37g2000prg.googlegroups.com> (raw)
In-Reply-To: c26ecd7c-70c5-41f8-8a93-319b87962869@p73g2000hsd.googlegroups.com

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
roman)
  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]()
  command-line()
  normal-top-level()

(custom-set-faces
  ;; 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
bold))))
 '(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	other threads:[~2008-03-01 17:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-24  5:54 "Invalid face slant: roman" Zoran Rilak
2008-03-01 17:42 ` mike [this message]
2008-03-02  0:37   ` mike
2008-04-17 20:02     ` Suno Ano
2008-04-18 11:30       ` Bruce Stephens

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=ff54b12a-feff-4998-b727-59855506a6dc@s37g2000prg.googlegroups.com \
    --to=mike@trausch.us \
    --cc=bug-gnu-emacs@gnu.org \
    /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.