LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Emacs fun (https://www.linuxquestions.org/questions/linux-software-2/emacs-fun-4175547219/)

Rosella Of Daventy 07-04-2015 11:14 AM

Emacs fun
 
Hi there,
I'm using Sabayon 15.07 and I found something really interesting using emacs 24...
It closes...
At first I thought it was not important, I'm new with sabayon and gentoo and though it was because of somekind of "lack of release levels according its proven stability" causing an error...

I've been looking for similar errors to find out what's wrong... And still havent found anything.

I'm actually, more interested in knowing what is happening than in fixing the problem.
It's a curious mistake.
I'll continue studying it, if someone knows anything that could help me I would appreciate your help.

Thank you :D

fatmac 07-04-2015 12:09 PM

Welcome aboard.

(You should have some log files somewhere, that should have details.)

Rosella Of Daventy 07-04-2015 05:59 PM

Quote:

Originally Posted by fatmac (Post 5387140)
Welcome aboard.

(You should have some log files somewhere, that should have details.)

Yeah!
That must be the key thing.
Tyvm :*

rknichols 07-04-2015 07:29 PM

You can also try starting emacs from a terminal session and see if any error messages appear there.

Rosella Of Daventy 07-05-2015 07:26 AM

Quote:

Originally Posted by rknichols (Post 5387266)
You can also try starting emacs from a terminal session and see if any error messages appear there.

Yeah, nice idea, shows this error message:
"Undefined color: "WINDOW_FOREGROUND""

I've searching and I think i've got it.
Seems to be a bug of KDE setup not related with emacs.

In fact when do the same with vi shows:
"Warning: Color name "BACKGROUND" is not defined"

So, maybe is what I was thinking, it's not because an unstable package, isn't it?

About the solution:
https://bugzilla.redhat.com/show_bug.cgi?id=1053891

There says to do this;

Petr Hracek 2014-01-17 03:57:36 EST
Hi George,

finally I've got an answer from upstream
====
This is outside of Emacs control. There are some files that expects to be run through the preprocessor, but isn't. It is usually Emacs.ad, located somewhere in /etc/X11 or /usr/lib/X11 or /usr/share/X11, or with xorg instead of X11. This error comes up now and then.
If you find the Emacs.ad file, try removing it. You may have to restart X after that.

Also do

% xrdb -query

and you will see if the WINDOW_FOREGROUND is set just for Emacs or globally. If it is globally, removing Emacs.ad wont help, some other file isn't preprocessed properly.

The point is, this is not an Emacs bug, closing.
====

Please try the steps mentioned above and let me know whether it helps.


Gonna try it, thank you very much for your help!! :)


All times are GMT -5. The time now is 12:01 AM.