>> @@ These are the chosen packages:
>> # (1/1) [sabayon-weekly] app-editors/emacs-24.2 [128.3MB]
>> @@ These are the packages that would be removed:
I tried uninstalling emacs24 and then installing emacs23. I received the following output when uninstalling v24. I noted the line in bold. I'm not sure if that's the clue I'm looking for but it sure looks suspicious.
>> ## [sabayon-weekly] app-editors/emacs-24.2 [128.3MB]
>> @@ Packages that would be removed: 1
>> @@ Freed disk space: 128.3MB
>> @@ Total bandwidth wasted: 32.2MB
>> --- >>> (1/1) app-editors/emacs-24.2
>> ## Removing data: app-editors/emacs-24.2
>> ## Removing from Entropy: app-editors/emacs-24.2
>>> Regenerating /etc/ld.so.cache...
>> ## SPM: post-remove phase
* Regenerating site-gentoo.el for GNU Emacs (postrm) ... [ ok ]
* ... Huh? No site initialisation files found.
>> @@ All done.
>> @@ No configuration files to update.
After installing v23 I received the same error message when attempting to run the program from the terminal.
Undefined color: "WINDOW_FOREGROUND"
I hope this information will be useful. I'm an org.mode junkie so Emacs is a critical application for me.