xemacs colors for C files


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers xemacs colors for C files
# 1  
Old 03-06-2006
xemacs colors for C files

xemacs uses default colors for coloring C files
how can I change those colors. I could only manage the default background and foreground colors and that too using .Xdefaults file changes.
# 2  
Old 03-07-2006
Following found at burtleburtle.net

Quote:
How to Change Colors in XEmacs

(by Justine Ehlers)
About Colors:

The default background that XEmacs comes with "out of the box" is gray. However, a gray background makes it harder to see the lighter colors. That's why I changed the backgrounds to black.

Note: If you choose "Save Options" from the "Options" pulldown, your colors are NOT saved (everything else is). XEmacs 20.3 moved "officially" changing and saving the colors to the "Customize" area. See below, #2 on "How to Change Colors".
How to Change Colors:

1. Quick, No Changes Are Saved
* Go to the "Options" pulldown (top of XEmacs), select "Browse Faces". This gives you a list of what you can change.
* Click on the foreground color you'd like to change.
* Type "Shift key"f for F.
* Notice at the bottom of your XEmacs that it'll prompt you for the new color. Backspace over the color name.
* You can either type a color name or hit the "tab key". Hitting the "tab key" gives you a five page list of colors you can choose. Choose a color. XEmacs updates the colors.
* You can change the background color. Click on the background color you'd like to change.
* Type "Shift key"b for B.
* Proceed the same as for the foreground color.
2. Slower, Changes Are Saved
* Go to the "Options" pulldown (top of XEmacs), select "Customize" then "Face..."
* Notice at the bottom of your XEmacs that it'll prompt you to choose what you want to change. "Customize face: (default all)" Hit the "Enter key" to choose all. (If you know the name, you can type the name to just change the one color.)
* You get a list of what you can change. Middle click on [Show] to see the items to change.
* Select by clicking on the [ ] at the beginning of the line. Hit "Enter key" to select it. Hit "Enter key" to deselect. (The "Enter key" is a toggle.)
* Backspace over the color.
* Choose another one. Notice it'll show you immediately what it looks like.
* If you like it, you can save one of two ways: (1) Go back to the top and click on the "Save" button. (2) Go to the "Custom" pulldown (top of XEmacs) and choose "Save".
Note: since I don't use xemacs, I don't know if this will change more than the foreground/background colors.
# 3  
Old 03-07-2006
xemacs colors for C files

thanks for your reply
BUT the problem is that THE TWO METHODS suggested by burtle2.net only allow you to change the foreground and backgroud and some other options
where as I need to change the colors for reserve words and some others as well.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Replace and increment in xemacs 21.4

I am trying to replace and increment a lot of TEST_FONC_1 entries in my file with TEST_FONC_2 then TEST_FONC_3..... I'm trying to use replace regexp but it doesn't work I have tried replace _+ with _\,(1+ \#&) but it doesn't work. it find the entries but it replace it with the text... (4 Replies)
Discussion started by: Toug
4 Replies

2. UNIX for Dummies Questions & Answers

XEmacs compilation errors not understandable

Hi all! I am new to this forum. I have recently installed Cygwin and XEmacs on my laptop running Windows Vista. I am studing at the moment and the code I am creating is mainly for that purpose. I am trying to create the algorithm of Insertion sort. When I compile my code in XEmacs i get some... (1 Reply)
Discussion started by: BlueTower
1 Replies

3. UNIX for Advanced & Expert Users

About to give up on XEmacs 21.5.29

Folks, I am hoping someone out there can help me. I have been writing code for in-excess of 10 years. Throughout all this time I have used Xemacs. I have picked up bits of customizations here and there over the years, but would not profess to be anything of an expert in Lisp (or have a heavily... (3 Replies)
Discussion started by: petermc
3 Replies

4. UNIX for Dummies Questions & Answers

xemacs bindings help

Hi all , I would like to have a new binding so that if im having the cursur on a word, one shortcut click (say f3) whould find the next occurrence of the word in the text and so one. what is the right bind for it ? I tried but its wrong. thanks ! Zvika (1 Reply)
Discussion started by: zismad
1 Replies

5. Red Hat

enable xemacs buffer tabs

I need some help configuring xemacs to enable buffer tabs. please, anybody, could walk me through on how to configure xemacs for this. Thank You. (1 Reply)
Discussion started by: etcpasswd
1 Replies

6. Shell Programming and Scripting

Need help with make file for etags to use it with xemacs

I am trying to generate tags for .cpp & .h source code. Here is the structure of the codes Root/X/src/ Root/X/include/ Root/Y/src/ Root/Y/include/ How do I generate TAGs from ROOT directory such that, when I am working on code under X/src I can access function defined in Y/src/ area? ... (0 Replies)
Discussion started by: sofiandros
0 Replies

7. UNIX for Dummies Questions & Answers

display ^M in xemacs

Sorry, this has probably been posted before, but my searches turn up nothing, and I have tried. using a cygwin distro of xemacs The default is NOT to display CR characters (I expect to see them as ^M). I want to change this so they do show up. Can you tell me please, what command to issue?... (0 Replies)
Discussion started by: scott1256ca
0 Replies

8. UNIX for Dummies Questions & Answers

Xemacs and emacs

Hi guys What is the difference between Xemacs and emacs. I assumed Xemacs runs only in X11. What about in Linux on KDE? Am I running Xemacs or emacs. Well it says emacs though. What is the advantage of one over other? What can I run on OS X ? SS (5 Replies)
Discussion started by: saurya_s
5 Replies

9. Programming

xemacs

Hi Folks, Would like to download the xemacs editor for C. I searched the xemacs site but i donno the exact place of download. Can any one pass the URL or way to go thru and download the editor? Thanks in Advance, Nisha (4 Replies)
Discussion started by: Nisha
4 Replies

10. UNIX Desktop Questions & Answers

colors

Hello, I am somewhat new to linux. I just installed Red Hat 7.2 and when I try to load gnome or KDE in colors above 8bit it will kind of lock up and display some wierd scrambled cable look. I have an ATI Radeon 7000. I check out my monitor settings they are fine. Is it the graphics card? I set my... (1 Reply)
Discussion started by: Sage3k
1 Replies
Login or Register to Ask a Question