unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon
@ 2009-10-21 17:05 ` Joshua Redstone
  2009-10-21 17:14   ` bug#4777: " Joshua Redstone
                     ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Joshua Redstone @ 2009-10-21 17:05 UTC (permalink / raw)
  To: bug-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 4167 bytes --]

Hi,I downloaded emacs 23.1 and built it with './configure ; make' without
incident on my linux box 2.6.20.
In my .emacs I have the following specifying the default face:
(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 "black" :foreground "white"
:inverse-video nil :box nil :strike-through nil :overline nil :underline nil
:slant normal :weight normal :height 140 :width normal))))
When I start emacs without --daemon, it starts without errors, works fine,
and the default face has reasonable values:
-----------

        Family: Luxi Mono
       Foundry: b&h
         Width: normal
        Height: 141
        Weight: normal
         Slant: normal
    Foreground: white
    Background: black
     Underline: nil
      Overline: nil
Strike-through: nil
           Box: nil
       Inverse: nil
       Stipple: nil
          Font: #<font-object -b&h-Luxi
Mono-normal-normal-normal-*-19-*-*-*-m-0-iso10646-1>
       Fontset: -b&h-Luxi
Mono-normal-normal-normal-*-19-*-*-*-m-0-fontset-auto1
       Inherit: unspecified

------------------
However, when I start emacs by first doing 'emacs --daemon', and then
'emacsclient -c', I get errors:
Unable to load color "unspecified-bg"
And the colors are not set correctly.  Poking around, I found that the
default face in this instance has:
---------------------------
        Family: Luxi Mono
       Foundry: b&h
         Width: normal
        Height: 119
        Weight: normal
         Slant: normal
    Foreground: black
    Background: unspecified-bg
     Underline: nil
      Overline: nil
Strike-through: nil
           Box: nil
       Inverse: nil
       Stipple: nil
          Font: #<font-object -b&h-Luxi
Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1>
       Fontset: -b&h-Luxi
Mono-normal-normal-normal-*-16-*-*-*-m-0-fontset-startup
       Inherit: unspecified
--------------------------
Further, when I use C-x,C-e to manually evaluate the custom-set-faces line
in my .emacs I get the following stack trace:
Debugger entered--Lisp error: (error "Undefined color" "unspecified-fg")
  internal-set-lisp-face-attribute(default :foreground "unspecified-fg"
#<frame emacs@devrs005.snc1.facebook.com 0x135f180>)
  set-face-attribute(default #<frame
emacs@devrs005.snc1.facebook.com0x135f180> :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
emacs@devrs005.snc1.facebook.com0x135f180> (: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
emacs@devrs005.snc1.facebook.com0x135f180> ((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 emacs@devrs005.snc1.facebook.com0x135f180>)
  face-spec-set(default ((t (:stipple nil :background "black" :foreground
"white" :inverse-video nil :box nil :strike-through nil :overline nil
:underline nil :slant normal :weight normal :height 140 :width normal))) 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)

One more detail:  I'm (ssh -X)'ing into the linux box from a Snow Leopard
Mac running X11 (XQuartz 2.3.4 (xorg-server 1.4.2-apple45))

Anyone else seeing this behavior or know what to do about it?
Thanks,
Josh

[-- Attachment #2: Type: text/html, Size: 5353 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4777: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon
  2009-10-21 17:05 ` bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon Joshua Redstone
@ 2009-10-21 17:14   ` Joshua Redstone
       [not found]     ` <handler.4777.B.125614529525755.ack@emacsbugs.donarmstrong.com>
  2009-11-04  1:55     ` bug#4777: marked as done " Emacs bug Tracking System
       [not found]   ` <handler.4776.B.125614478725012.ack@emacsbugs.donarmstrong.com>
                     ` (2 subsequent siblings)
  3 siblings, 2 replies; 8+ messages in thread
From: Joshua Redstone @ 2009-10-21 17:14 UTC (permalink / raw)
  To: bug-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 4619 bytes --]

One other note I forgot to mention.  After I manually eval the
custom-set-faces function and get the lisp error, if I try to evaluate it
again,
it succeeds without error.
Josh

On Wed, Oct 21, 2009 at 10:05 AM, Joshua Redstone <redstone@gmail.com>wrote:

> Hi,I downloaded emacs 23.1 and built it with './configure ; make' without
> incident on my linux box 2.6.20.
> In my .emacs I have the following specifying the default face:
> (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 "black" :foreground "white"
> :inverse-video nil :box nil :strike-through nil :overline nil :underline nil
> :slant normal :weight normal :height 140 :width normal))))
> When I start emacs without --daemon, it starts without errors, works fine,
> and the default face has reasonable values:
> -----------
>
>         Family: Luxi Mono
>        Foundry: b&h
>          Width: normal
>         Height: 141
>         Weight: normal
>          Slant: normal
>     Foreground: white
>     Background: black
>      Underline: nil
>       Overline: nil
> Strike-through: nil
>            Box: nil
>        Inverse: nil
>        Stipple: nil
>           Font: #<font-object -b&h-Luxi
> Mono-normal-normal-normal-*-19-*-*-*-m-0-iso10646-1>
>        Fontset: -b&h-Luxi
> Mono-normal-normal-normal-*-19-*-*-*-m-0-fontset-auto1
>        Inherit: unspecified
>
> ------------------
> However, when I start emacs by first doing 'emacs --daemon', and then
> 'emacsclient -c', I get errors:
> Unable to load color "unspecified-bg"
> And the colors are not set correctly.  Poking around, I found that the
> default face in this instance has:
> ---------------------------
>         Family: Luxi Mono
>        Foundry: b&h
>          Width: normal
>         Height: 119
>         Weight: normal
>          Slant: normal
>     Foreground: black
>     Background: unspecified-bg
>      Underline: nil
>       Overline: nil
> Strike-through: nil
>            Box: nil
>        Inverse: nil
>        Stipple: nil
>           Font: #<font-object -b&h-Luxi
> Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1>
>        Fontset: -b&h-Luxi
> Mono-normal-normal-normal-*-16-*-*-*-m-0-fontset-startup
>        Inherit: unspecified
> --------------------------
> Further, when I use C-x,C-e to manually evaluate the custom-set-faces line
> in my .emacs I get the following stack trace:
> Debugger entered--Lisp error: (error "Undefined color" "unspecified-fg")
>   internal-set-lisp-face-attribute(default :foreground "unspecified-fg"
> #<frame emacs@devrs005.snc1.facebook.com 0x135f180>)
>   set-face-attribute(default #<frame emacs@devrs005.snc1.facebook.com0x135f180> :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
> emacs@devrs005.snc1.facebook.com 0x135f180> (: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 emacs@devrs005.snc1.facebook.com0x135f180> ((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 emacs@devrs005.snc1.facebook.com0x135f180>)
>   face-spec-set(default ((t (:stipple nil :background "black" :foreground
> "white" :inverse-video nil :box nil :strike-through nil :overline nil
> :underline nil :slant normal :weight normal :height 140 :width normal))) 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)
>
> One more detail:  I'm (ssh -X)'ing into the linux box from a Snow Leopard
> Mac running X11 (XQuartz 2.3.4 (xorg-server 1.4.2-apple45))
>
> Anyone else seeing this behavior or know what to do about it?
> Thanks,
> Josh
>
>

[-- Attachment #2: Type: text/html, Size: 5989 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4776: Acknowledgement (Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon)
       [not found]   ` <handler.4776.B.125614478725012.ack@emacsbugs.donarmstrong.com>
@ 2009-10-21 17:43     ` Joshua Redstone
  0 siblings, 0 replies; 8+ messages in thread
From: Joshua Redstone @ 2009-10-21 17:43 UTC (permalink / raw)
  To: 4776

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

One other note I forgot to mention. After I manually eval the
custom-set-faces function and get the lisp error, if I try to evaluate it
again,
it succeeds without error.
Josh


On Wed, Oct 21, 2009 at 10:15 AM, Emacs bug Tracking System <
owner@emacsbugs.donarmstrong.com> wrote:

> Thank you for filing a new bug report with Emacs.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  Emacs Bugs <bug-gnu-emacs@gnu.org>
>
> If you wish to submit further information on this problem, please
> send it to 4776@emacsbugs.donarmstrong.com.
>
> Please do not send mail to owner@emacsbugs.donarmstrong.com unless you
> wish
> to report a problem with the Bug-tracking system.
>
> --
> 4776: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4776
> Emacs Bug Tracking System
> Contact owner@emacsbugs.donarmstrong.com with problems
>

[-- Attachment #2: Type: text/html, Size: 1772 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4777: Acknowledgement (Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon)
       [not found]     ` <handler.4777.B.125614529525755.ack@emacsbugs.donarmstrong.com>
@ 2009-10-21 17:43       ` Joshua Redstone
  0 siblings, 0 replies; 8+ messages in thread
From: Joshua Redstone @ 2009-10-21 17:43 UTC (permalink / raw)
  To: 4777

[-- Attachment #1: Type: text/plain, Size: 1042 bytes --]

Please kill this bug - I accidentally opened a new bug rather than appending
to bug 4776, which was my original intention.
Josh

On Wed, Oct 21, 2009 at 10:20 AM, Emacs bug Tracking System <
owner@emacsbugs.donarmstrong.com> wrote:

> Thank you for filing a new bug report with Emacs.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  Emacs Bugs <bug-gnu-emacs@gnu.org>
>
> If you wish to submit further information on this problem, please
> send it to 4777@emacsbugs.donarmstrong.com.
>
> Please do not send mail to owner@emacsbugs.donarmstrong.com unless you
> wish
> to report a problem with the Bug-tracking system.
>
> --
> 4777: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4777
> Emacs Bug Tracking System
> Contact owner@emacsbugs.donarmstrong.com with problems
>

[-- Attachment #2: Type: text/html, Size: 1717 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon
  2009-10-21 17:05 ` bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon Joshua Redstone
  2009-10-21 17:14   ` bug#4777: " Joshua Redstone
       [not found]   ` <handler.4776.B.125614478725012.ack@emacsbugs.donarmstrong.com>
@ 2009-10-22  7:28   ` Dan Nicolaescu
  2009-11-03 19:31     ` Joshua Redstone
  2009-11-04  1:55   ` bug#4776: marked as done (Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon) Emacs bug Tracking System
  3 siblings, 1 reply; 8+ messages in thread
From: Dan Nicolaescu @ 2009-10-22  7:28 UTC (permalink / raw)
  To: Joshua Redstone; +Cc: 4776

Joshua Redstone <redstone@gmail.com> writes:

  > Hi,
  > I downloaded emacs 23.1 and built it with './configure ; make' without incident
  > on my linux box 2.6.20.
  > In my .emacs I have the following specifying the default face:
  > (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 "black" :foreground "white"
  > :inverse-video nil :box nil :strike-through nil :overline nil :underline nil
  > :slant normal :weight normal :height 140 :width normal))))
  > When I start emacs without --daemon, it starts without errors, works fine, and
  > the default face has reasonable values:
  > -----------

This sounds a lot like bug#1078
could you try with emacs from CVS and see if you get the problem there too?





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon
  2009-10-22  7:28   ` bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon Dan Nicolaescu
@ 2009-11-03 19:31     ` Joshua Redstone
  0 siblings, 0 replies; 8+ messages in thread
From: Joshua Redstone @ 2009-11-03 19:31 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: 4776

[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]

I just checked out the current repository, compiled, and this problem
doesn't exist for me anymore.
Looks like it was fixed.
Thanks,
Josh

On Wed, Oct 21, 2009 at 11:28 PM, Dan Nicolaescu <dann@ics.uci.edu> wrote:

> Joshua Redstone <redstone@gmail.com> writes:
>
>  > Hi,
>  > I downloaded emacs 23.1 and built it with './configure ; make' without
> incident
>  > on my linux box 2.6.20.
>  > In my .emacs I have the following specifying the default face:
>  > (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 "black" :foreground "white"
>  > :inverse-video nil :box nil :strike-through nil :overline nil :underline
> nil
>  > :slant normal :weight normal :height 140 :width normal))))
>  > When I start emacs without --daemon, it starts without errors, works
> fine, and
>  > the default face has reasonable values:
>  > -----------
>
> This sounds a lot like bug#1078
> could you try with emacs from CVS and see if you get the problem there too?
>

[-- Attachment #2: Type: text/html, Size: 1680 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4777: marked as done (Error setting default face and unspecified-bg in default face  when starting emacs 23.1 with --daemon)
  2009-10-21 17:14   ` bug#4777: " Joshua Redstone
       [not found]     ` <handler.4777.B.125614529525755.ack@emacsbugs.donarmstrong.com>
@ 2009-11-04  1:55     ` Emacs bug Tracking System
  1 sibling, 0 replies; 8+ messages in thread
From: Emacs bug Tracking System @ 2009-11-04  1:55 UTC (permalink / raw)
  To: Dan Nicolaescu

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

Your message dated Tue, 3 Nov 2009 17:46:37 -0800 (PST)
with message-id <200911040146.nA41kbnT027147@godzilla.ics.uci.edu>
and subject line Re: bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon
has caused the Emacs bug report #4776,
regarding Error setting default face and unspecified-bg in default face  when starting emacs 23.1 with --daemon
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4776: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4776
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 14504 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 4619 bytes --]

One other note I forgot to mention.  After I manually eval the
custom-set-faces function and get the lisp error, if I try to evaluate it
again,
it succeeds without error.
Josh

On Wed, Oct 21, 2009 at 10:05 AM, Joshua Redstone <redstone@gmail.com>wrote:

> Hi,I downloaded emacs 23.1 and built it with './configure ; make' without
> incident on my linux box 2.6.20.
> In my .emacs I have the following specifying the default face:
> (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 "black" :foreground "white"
> :inverse-video nil :box nil :strike-through nil :overline nil :underline nil
> :slant normal :weight normal :height 140 :width normal))))
> When I start emacs without --daemon, it starts without errors, works fine,
> and the default face has reasonable values:
> -----------
>
>         Family: Luxi Mono
>        Foundry: b&h
>          Width: normal
>         Height: 141
>         Weight: normal
>          Slant: normal
>     Foreground: white
>     Background: black
>      Underline: nil
>       Overline: nil
> Strike-through: nil
>            Box: nil
>        Inverse: nil
>        Stipple: nil
>           Font: #<font-object -b&h-Luxi
> Mono-normal-normal-normal-*-19-*-*-*-m-0-iso10646-1>
>        Fontset: -b&h-Luxi
> Mono-normal-normal-normal-*-19-*-*-*-m-0-fontset-auto1
>        Inherit: unspecified
>
> ------------------
> However, when I start emacs by first doing 'emacs --daemon', and then
> 'emacsclient -c', I get errors:
> Unable to load color "unspecified-bg"
> And the colors are not set correctly.  Poking around, I found that the
> default face in this instance has:
> ---------------------------
>         Family: Luxi Mono
>        Foundry: b&h
>          Width: normal
>         Height: 119
>         Weight: normal
>          Slant: normal
>     Foreground: black
>     Background: unspecified-bg
>      Underline: nil
>       Overline: nil
> Strike-through: nil
>            Box: nil
>        Inverse: nil
>        Stipple: nil
>           Font: #<font-object -b&h-Luxi
> Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1>
>        Fontset: -b&h-Luxi
> Mono-normal-normal-normal-*-16-*-*-*-m-0-fontset-startup
>        Inherit: unspecified
> --------------------------
> Further, when I use C-x,C-e to manually evaluate the custom-set-faces line
> in my .emacs I get the following stack trace:
> Debugger entered--Lisp error: (error "Undefined color" "unspecified-fg")
>   internal-set-lisp-face-attribute(default :foreground "unspecified-fg"
> #<frame emacs@devrs005.snc1.facebook.com 0x135f180>)
>   set-face-attribute(default #<frame emacs@devrs005.snc1.facebook.com0x135f180> :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
> emacs@devrs005.snc1.facebook.com 0x135f180> (: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 emacs@devrs005.snc1.facebook.com0x135f180> ((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 emacs@devrs005.snc1.facebook.com0x135f180>)
>   face-spec-set(default ((t (:stipple nil :background "black" :foreground
> "white" :inverse-video nil :box nil :strike-through nil :overline nil
> :underline nil :slant normal :weight normal :height 140 :width normal))) 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)
>
> One more detail:  I'm (ssh -X)'ing into the linux box from a Snow Leopard
> Mac running X11 (XQuartz 2.3.4 (xorg-server 1.4.2-apple45))
>
> Anyone else seeing this behavior or know what to do about it?
> Thanks,
> Josh
>
>

[-- Attachment #2.1.2: Type: text/html, Size: 5989 bytes --]

[-- Attachment #3: Type: message/rfc822, Size: 3824 bytes --]

From: Dan Nicolaescu <dann@ics.uci.edu>
To: Joshua Redstone <redstone@gmail.com>
Cc: 4776-done@emacsbugs.donarmstrong.com
Subject: Re: bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon
Date: Tue, 3 Nov 2009 17:46:37 -0800 (PST)
Message-ID: <200911040146.nA41kbnT027147@godzilla.ics.uci.edu>

Joshua Redstone <redstone@gmail.com> writes:

  > I just checked out the current repository, compiled, and this problem doesn't
  > exist for me anymore.
  > Looks like it was fixed.

Thanks, closing them bug then.

  > Thanks,
  > Josh
  > 
  > On Wed, Oct 21, 2009 at 11:28 PM, Dan Nicolaescu <dann@ics.uci.edu> wrote:
  > 
  >     Joshua Redstone <redstone@gmail.com> writes:
  > 
  >      > Hi,
  >      > I downloaded emacs 23.1 and built it with './configure ; make' without
  >     incident
  >      > on my linux box 2.6.20.
  >      > In my .emacs I have the following specifying the default face:
  >      > (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 "black" :foreground "white"
  >      > :inverse-video nil :box nil :strike-through nil :overline nil :underline
  >     nil
  >      > :slant normal :weight normal :height 140 :width normal))))
  >      > When I start emacs without --daemon, it starts without errors, works
  >     fine, and
  >      > the default face has reasonable values:
  >      > -----------
  > 
  >     This sounds a lot like bug#1078
  >     could you try with emacs from CVS and see if you get the problem there too?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#4776: marked as done (Error setting default face and unspecified-bg in default face when  starting emacs 23.1 with --daemon)
  2009-10-21 17:05 ` bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon Joshua Redstone
                     ` (2 preceding siblings ...)
  2009-10-22  7:28   ` bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon Dan Nicolaescu
@ 2009-11-04  1:55   ` Emacs bug Tracking System
  3 siblings, 0 replies; 8+ messages in thread
From: Emacs bug Tracking System @ 2009-11-04  1:55 UTC (permalink / raw)
  To: Dan Nicolaescu

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

Your message dated Tue, 3 Nov 2009 17:46:37 -0800 (PST)
with message-id <200911040146.nA41kbnT027147@godzilla.ics.uci.edu>
and subject line Re: bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon
has caused the Emacs bug report #4776,
regarding Error setting default face and unspecified-bg in default face when  starting emacs 23.1 with --daemon
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4776: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4776
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 13182 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 4167 bytes --]

Hi,I downloaded emacs 23.1 and built it with './configure ; make' without
incident on my linux box 2.6.20.
In my .emacs I have the following specifying the default face:
(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 "black" :foreground "white"
:inverse-video nil :box nil :strike-through nil :overline nil :underline nil
:slant normal :weight normal :height 140 :width normal))))
When I start emacs without --daemon, it starts without errors, works fine,
and the default face has reasonable values:
-----------

        Family: Luxi Mono
       Foundry: b&h
         Width: normal
        Height: 141
        Weight: normal
         Slant: normal
    Foreground: white
    Background: black
     Underline: nil
      Overline: nil
Strike-through: nil
           Box: nil
       Inverse: nil
       Stipple: nil
          Font: #<font-object -b&h-Luxi
Mono-normal-normal-normal-*-19-*-*-*-m-0-iso10646-1>
       Fontset: -b&h-Luxi
Mono-normal-normal-normal-*-19-*-*-*-m-0-fontset-auto1
       Inherit: unspecified

------------------
However, when I start emacs by first doing 'emacs --daemon', and then
'emacsclient -c', I get errors:
Unable to load color "unspecified-bg"
And the colors are not set correctly.  Poking around, I found that the
default face in this instance has:
---------------------------
        Family: Luxi Mono
       Foundry: b&h
         Width: normal
        Height: 119
        Weight: normal
         Slant: normal
    Foreground: black
    Background: unspecified-bg
     Underline: nil
      Overline: nil
Strike-through: nil
           Box: nil
       Inverse: nil
       Stipple: nil
          Font: #<font-object -b&h-Luxi
Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1>
       Fontset: -b&h-Luxi
Mono-normal-normal-normal-*-16-*-*-*-m-0-fontset-startup
       Inherit: unspecified
--------------------------
Further, when I use C-x,C-e to manually evaluate the custom-set-faces line
in my .emacs I get the following stack trace:
Debugger entered--Lisp error: (error "Undefined color" "unspecified-fg")
  internal-set-lisp-face-attribute(default :foreground "unspecified-fg"
#<frame emacs@devrs005.snc1.facebook.com 0x135f180>)
  set-face-attribute(default #<frame
emacs@devrs005.snc1.facebook.com0x135f180> :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
emacs@devrs005.snc1.facebook.com0x135f180> (: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
emacs@devrs005.snc1.facebook.com0x135f180> ((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 emacs@devrs005.snc1.facebook.com0x135f180>)
  face-spec-set(default ((t (:stipple nil :background "black" :foreground
"white" :inverse-video nil :box nil :strike-through nil :overline nil
:underline nil :slant normal :weight normal :height 140 :width normal))) 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)

One more detail:  I'm (ssh -X)'ing into the linux box from a Snow Leopard
Mac running X11 (XQuartz 2.3.4 (xorg-server 1.4.2-apple45))

Anyone else seeing this behavior or know what to do about it?
Thanks,
Josh

[-- Attachment #2.1.2: Type: text/html, Size: 5353 bytes --]

[-- Attachment #3: Type: message/rfc822, Size: 3824 bytes --]

From: Dan Nicolaescu <dann@ics.uci.edu>
To: Joshua Redstone <redstone@gmail.com>
Cc: 4776-done@emacsbugs.donarmstrong.com
Subject: Re: bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon
Date: Tue, 3 Nov 2009 17:46:37 -0800 (PST)
Message-ID: <200911040146.nA41kbnT027147@godzilla.ics.uci.edu>

Joshua Redstone <redstone@gmail.com> writes:

  > I just checked out the current repository, compiled, and this problem doesn't
  > exist for me anymore.
  > Looks like it was fixed.

Thanks, closing them bug then.

  > Thanks,
  > Josh
  > 
  > On Wed, Oct 21, 2009 at 11:28 PM, Dan Nicolaescu <dann@ics.uci.edu> wrote:
  > 
  >     Joshua Redstone <redstone@gmail.com> writes:
  > 
  >      > Hi,
  >      > I downloaded emacs 23.1 and built it with './configure ; make' without
  >     incident
  >      > on my linux box 2.6.20.
  >      > In my .emacs I have the following specifying the default face:
  >      > (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 "black" :foreground "white"
  >      > :inverse-video nil :box nil :strike-through nil :overline nil :underline
  >     nil
  >      > :slant normal :weight normal :height 140 :width normal))))
  >      > When I start emacs without --daemon, it starts without errors, works
  >     fine, and
  >      > the default face has reasonable values:
  >      > -----------
  > 
  >     This sounds a lot like bug#1078
  >     could you try with emacs from CVS and see if you get the problem there too?

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-04  1:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200911040146.nA41kbnT027147@godzilla.ics.uci.edu>
2009-10-21 17:05 ` bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon Joshua Redstone
2009-10-21 17:14   ` bug#4777: " Joshua Redstone
     [not found]     ` <handler.4777.B.125614529525755.ack@emacsbugs.donarmstrong.com>
2009-10-21 17:43       ` bug#4777: Acknowledgement (Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon) Joshua Redstone
2009-11-04  1:55     ` bug#4777: marked as done " Emacs bug Tracking System
     [not found]   ` <handler.4776.B.125614478725012.ack@emacsbugs.donarmstrong.com>
2009-10-21 17:43     ` bug#4776: Acknowledgement " Joshua Redstone
2009-10-22  7:28   ` bug#4776: Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon Dan Nicolaescu
2009-11-03 19:31     ` Joshua Redstone
2009-11-04  1:55   ` bug#4776: marked as done (Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).