You are not logged in.

#1 2009-10-31 22:16:01

jxy
Member
Registered: 2008-12-03
Posts: 133

Cannot start emacs after upgrade.

Now that I came back to the X environment (see my other post for that problem), I can no longer start emacs.  It prints out

Undefined color: "WINDOW_FOREGROUND"

and exits with 255.

So I try to see what is going on

$ appres Emacs|grep WINDOW_FOREGROUND
Warning: Color name "WINDOW_BACKGROUND" is not defined
*Entry.foreground:      WINDOW_FOREGROUND
*Entry.activeForeground:        WINDOW_FOREGROUND
*Entry.highlightColor:  WINDOW_FOREGROUND
*XmList.foreground:     WINDOW_FOREGROUND
*List.foreground:       WINDOW_FOREGROUND
*Listbox.foreground:    WINDOW_FOREGROUND
*Listbox.activeForeground:      WINDOW_FOREGROUND
*Listbox.highlightColor:        WINDOW_FOREGROUND
*XmText.foreground:     WINDOW_FOREGROUND
*XmTextField.foreground:        WINDOW_FOREGROUND
*rvplayer*Label.BorderColor:    WINDOW_FOREGROUND
*rvplayer*MenuButton.BorderColor:       WINDOW_FOREGROUND
*rvplayer*Command.BorderColor:  WINDOW_FOREGROUND
*Text.foreground:       WINDOW_FOREGROUND
*Text.activeForeground: WINDOW_FOREGROUND
*Text.highlightColor:   WINDOW_FOREGROUND
*Canvas.foreground:     WINDOW_FOREGROUND
*Canvas.activeForeground:       WINDOW_FOREGROUND
*Canvas.highlightColor: WINDOW_FOREGROUND
Emacs.default.attributeForeground:      WINDOW_FOREGROUND
Emacs*Foreground:       WINDOW_FOREGROUND

I have no idea what is going on.  Any suggestions?  Comments?

-- I guess I should stop working, today.

Offline

#2 2009-10-31 22:20:28

jxy
Member
Registered: 2008-12-03
Posts: 133

Re: Cannot start emacs after upgrade.

It is easy to fix.  I downgraded xorg-server-utils to 7.4-7, and everything works again.  I tried to run appres Emacs, again.  But there is no more FOREGROUND/BACKGROUD strings.

Offline

#3 2009-11-01 02:51:52

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Cannot start emacs after upgrade.

Which emacs package do you use?
I have no problem with emacs-cvs 20091008-1 using the most recent xorg-server-utils 7.5-2 (running in openbox).

But so I have only:

$ appres emacs
emacs.geometry:    83x37
*customization:    -color

Did you make any extra customizations?


To know or not to know ...
... the questions remain forever.

Offline

#4 2009-11-01 03:10:16

jxy
Member
Registered: 2008-12-03
Posts: 133

Re: Cannot start emacs after upgrade.

I do have customizations.  But these FORGROUND/BACKGROUND are not added by me.  It looks to me that it is introduced by the new xorg-server-utils package, because appres does not return these strings if I use the old version.

Offline

#5 2009-11-01 03:50:28

jxy
Member
Registered: 2008-12-03
Posts: 133

Re: Cannot start emacs after upgrade.

I find out that these colors are set by kde, when I let it "apply colors to non kde applications".  After I uncheck the option and logout/login, there are not these unknown color names anymore.  So I guess the upgrade breaks kde somehow.

Offline

#6 2009-11-01 14:08:40

Holy Monkey
Member
Registered: 2009-11-01
Posts: 1

Re: Cannot start emacs after upgrade.

I have the exact same problem with emacs not loading, I'm running fully upto date Arch64 with the testing repo enabled. thankfully unchecking "apply colors to non kde applications" worked for me too.

Offline

#7 2009-11-01 15:31:38

jxy
Member
Registered: 2008-12-03
Posts: 133

Re: Cannot start emacs after upgrade.

Just tried the new xorg-server-utils 7.5-3, and everything works again.  So I guess there was a bug that got fixed in this new release.

Offline

#8 2009-11-01 18:20:06

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Cannot start emacs after upgrade.

Verified here with xorg-server-utils 7.5-3


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB