LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-04-2015, 11:14 AM   #1
Rosella Of Daventy
LQ Newbie
 
Registered: Jul 2015
Posts: 3

Rep: Reputation: 0
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
 
Old 07-04-2015, 12:09 PM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,491

Rep: Reputation: Disabled
Welcome aboard.

(You should have some log files somewhere, that should have details.)
 
1 members found this post helpful.
Old 07-04-2015, 05:59 PM   #3
Rosella Of Daventy
LQ Newbie
 
Registered: Jul 2015
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fatmac View Post
Welcome aboard.

(You should have some log files somewhere, that should have details.)
Yeah!
That must be the key thing.
Tyvm :*
 
Old 07-04-2015, 07:29 PM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
You can also try starting emacs from a terminal session and see if any error messages appear there.
 
Old 07-05-2015, 07:26 AM   #5
Rosella Of Daventy
LQ Newbie
 
Registered: Jul 2015
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rknichols View Post
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!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Emulating The Terminal Emulators For Fun (with emacs color-theme) LXer Syndicated Linux News 0 09-24-2011 07:21 PM
How can I get emacs -nw when I call emacs from a terminal but GUI emacs elsewhere? Blackened Justice Linux - Newbie 4 09-08-2011 07:57 AM
LXer: Emacs tips: More fun with outlines LXer Syndicated Linux News 0 06-21-2006 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration