Subject: bug#12042: closed (Re: bug#12042: emacs -nw error)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 25 Jul 2012 10:56:02 +0000

Your bug report

#12042: emacs -nw error

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
12042: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12042
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#12042: emacs -nw error
From: Andreas Schwab <[email-masked]>
To: "Aneesh Kumar K.V" <[email-masked]>
Cc: [email-masked]
Date: Wed, 25 Jul 2012 12:49:01 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Fixed.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Subject: emacs -nw error
From: "Aneesh Kumar K.V" <[email-masked]>
To: [email-masked]
Date: Tue, 24 Jul 2012 21:56:58 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

emacs -nw -q doesn't give any error

But with the below .emacs emacs -nw gives the error

Debugger entered--Lisp error: (wrong-type-argument stringp (if (frame-parameter nil (quote reverse)) "unspecified-bg" "unspecified-fg"))
  internal-set-lisp-face-attribute(default :foreground (if (frame-parameter nil (quote reverse)) "unspecified-bg" "unspecified-fg") #<frame F1 0xb75a70>)
  set-face-attribute(default #<frame F1 0xb75a70> :underline nil :overline nil :strike-through nil :box nil :inverse-video nil :stipple nil :inherit nil :family "default" :foundr$
  apply(set-face-attribute default #<frame F1 0xb75a70> (:underline nil :overline nil :strike-through nil :box nil :inverse-video nil :stipple nil :inherit nil :family "default" $
  face-spec-reset-face(default #<frame F1 0xb75a70>)
  face-spec-recalc(default #<frame F1 0xb75a70>)
  face-spec-set(default ((t (:stipple nil :background "#252A2B" :foreground "#eeeeec" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :$
  custom-theme-set-faces(user (default ((t (:stipple nil :background "#252A2B" :foreground "#eeeeec" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil $
  apply(custom-theme-set-faces user (default ((t (:stipple nil :background "#252A2B" :foreground "#eeeeec" :inverse-video nil :box nil :strike-through nil :overline nil :underlin$
  custom-set-faces((default ((t (:stipple nil :background "#252A2B" :foreground "#eeeeec" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant norm$
  eval-buffer(#<buffer  *load*> nil "/home/kvaneesh/.emacs" nil t)  ; Reading at buffer position 489
  load-with-code-conversion("/home/kvaneesh/.emacs" "/home/kvaneesh/.emacs" t t)
  load("~/.emacs" t t)
  #[0 "^H\205\262^@     \306=\203^Q^@\307^H\310Q\202;^@ \311=\204^^^@\307^H\312Q\202;^@\313\307\314\315#\203*^@\316\202;^@\313\307\314\317#\203:^@\320\nB^R\321\202;^@\316\322^S\3$
  command-line()
  normal-top-level()

---- .emacs contents -----
(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 "#252A2B" :foreground "#eeeeec" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "unknown" :family "Inconsolata")))))