GNU bug report logs -
#4776
Error setting default face and unspecified-bg in default face when starting emacs 23.1 with --daemon
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4776 in the body.
You can then email your comments to 4776 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4776
; Package
emacs
.
(Wed, 21 Oct 2009 17:15:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Joshua Redstone <redstone <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 21 Oct 2009 17:15:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <at> devrs005.snc1.facebook.com 0x135f180>)
set-face-attribute(default #<frame
emacs <at> 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 <at> 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 <at> 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 <at> 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
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4776
; Package
emacs
.
(Wed, 21 Oct 2009 17:50:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Joshua Redstone <redstone <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 21 Oct 2009 17:50:05 GMT)
Full text and
rfc822 format available.
Message #10 received at 4776 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> gnu.org>
>
> If you wish to submit further information on this problem, please
> send it to 4776 <at> emacsbugs.donarmstrong.com.
>
> Please do not send mail to help-debbugs <at> gnu.org unless you
> wish
> to report a problem with the Bug-tracking system.
>
> --
> 4776: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4776
> Emacs Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems
>
[Message part 2 (text/html, inline)]
Merged 4776 4777.
Request was from
Juanma Barranquero <lekktu <at> gmail.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 21 Oct 2009 22:25:26 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4776
; Package
emacs
.
(Thu, 22 Oct 2009 07:35:04 GMT)
Full text and
rfc822 format available.
Message #15 received at 4776 <at> emacsbugs.donarmstrong.com (full text, mbox):
Joshua Redstone <redstone <at> 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?
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4776
; Package
emacs
.
(Tue, 03 Nov 2009 19:40:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Joshua Redstone <redstone <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Tue, 03 Nov 2009 19:40:04 GMT)
Full text and
rfc822 format available.
Message #20 received at 4776 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
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 <at> ics.uci.edu> wrote:
> Joshua Redstone <redstone <at> 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?
>
[Message part 2 (text/html, inline)]
Reply sent
to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
You have taken responsibility.
(Wed, 04 Nov 2009 01:55:08 GMT)
Full text and
rfc822 format available.
Notification sent
to
Joshua Redstone <redstone <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 04 Nov 2009 01:55:08 GMT)
Full text and
rfc822 format available.
Message #25 received at 4776-done <at> emacsbugs.donarmstrong.com (full text, mbox):
Joshua Redstone <redstone <at> 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 <at> ics.uci.edu> wrote:
>
> Joshua Redstone <redstone <at> 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?
Reply sent
to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
You have taken responsibility.
(Wed, 04 Nov 2009 01:55:08 GMT)
Full text and
rfc822 format available.
Notification sent
to
Joshua Redstone <redstone <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 04 Nov 2009 01:55:09 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Wed, 02 Dec 2009 15:24:14 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 27 Jan 2010 22:45:02 GMT)
Full text and
rfc822 format available.
Disconnected #4777 from all other report(s).
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 27 Jan 2010 22:45:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <bug-gnu-emacs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 25 Feb 2010 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 176 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.