Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-16-2004, 08:42 PM
|
#1
|
LQ Newbie
Registered: Aug 2004
Posts: 22
Rep:
|
Editing Emacs colors?
I'm quiet stumped. I do not have a .Xdefaults file in my home directory. And when I modify the .Xdefults in /root, nothing happens.
All I want to do is modify the background and foreground colors of emacs!
I'm using Mandrake 10.0 with KDE, if it helps at all.
|
|
|
09-16-2004, 09:07 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577
Rep:
|
man emacs
|
|
|
09-16-2004, 11:05 PM
|
#3
|
LQ Newbie
Registered: Aug 2004
Posts: 22
Original Poster
Rep:
|
Thanks for the reply, but is there any way for it to automatically open with a specific background and foreground every time, with out typing -bg (color) fg(color), basically change the default colors.
|
|
|
09-17-2004, 04:48 AM
|
#4
|
LQ Newbie
Registered: Apr 2004
Location: London, UK
Distribution: Mandriva 2006
Posts: 9
Rep:
|
Quote:
Originally posted by ljr2600
Thanks for the reply, but is there any way for it to automatically open with a specific background and foreground every time, with out typing -bg (color) fg(color), basically change the default colors.
|
In XEmacs (I think GNU Emacs is similar) click on Options -> Edit faces... Edit the properties of the "default" face and then save your changes by right-clicking on the "[State]" keyword.
|
|
|
09-18-2004, 06:50 AM
|
#5
|
Senior Member
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037
Rep:
|
Quote:
Originally posted by ljr2600
Thanks for the reply, but is there any way for it to automatically open with a specific background and foreground every time, with out typing -bg (color) fg(color), basically change the default colors.
|
hi there,
you can add something like that to your .emacs file.
Code:
(set-background-color "black")
(set-foregroung-color "white)
this will make the things automatic.
regards
slackie1000
|
|
|
All times are GMT -5. The time now is 12:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|