color in Emacs

2000-08-23 Thread Dale L . Morris
I would like to get some color in emacs, from checking the emacs ng it
looks like .Xdefaults entries are the way to go, but I don't have an
.Xdefaults file, just .xsession.
Could someone post the 'color' portion of their .emacs file or point
me in the right direction?
thanks
-- 


Make voyages, attempt them, there's nothing else.
 --Tennessee Williams



Re: color in Emacs

2000-08-23 Thread Andrei Ivanov
This is from my .Xdefaults (you can make it if you want to..it makes no
difference):

XEmacs*Background: White
XEmacs*Foreground: Black

After you make the file, usexrdb -merge .Xdefaults to put it into the X.
Then start emacs.
Andrei

First there was Explorer.
Then came Expedition.
This summer
coming to a street near you..
Ford Exterminator.
-
 Andrei S. Ivanov  
 [EMAIL PROTECTED]
 http://arshes.dyndns.org  
 UIN 12402354

 For GPG key, go to above URL/GnuPG
-



color in Emacs

2000-08-23 Thread Goeman Stefan
Hello,

Putting something like this 

emacs*background:white
emacs*foreground:black

in the .Xdefault file is nice.

But, does there exist a list of colors to choose from.
For example, as background I used grey but I find it still to dark.
Is there a way to get it brighter (without using background:white)?

Greetings,

Stefan Goeman.



Re: color in Emacs

2000-08-23 Thread Tal Danzig
Try a program like gcolorsel.
Very handy.

Also remember that if you want the resources to be read automatically when you
login Debian uses .Xresources rather then .Xdefaults.
At least this is the way /etx/X11/Xsession seems setup to behave.

Tal


On Wed, 23 Aug 2000 10:42:38 +0200, Goeman Stefan said:

: Hello,
:  
:  Putting something like this 
:  
:  emacs*background:white
:  emacs*foreground:black
:  
:  in the .Xdefault file is nice.
:  
:  But, does there exist a list of colors to choose from.
:  For example, as background I used grey but I find it still to dark.
:  Is there a way to get it brighter (without using background:white)?
:  
:  Greetings,
:  
:  Stefan Goeman.
:  
:  
:  -- 
:  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
:  
:  

-- 

|   Tal Danzig | Join #libranet on the |
|   [EMAIL PROTECTED]   | openprojects IRC network  |

|   http://www.libranet.com|   Tal Danzig  |
|   The TOP Desktop!   |   [EMAIL PROTECTED]|




Re: color in Emacs

2000-08-23 Thread Morten Liebach
On 23, aug, 2000 at 01:53:59 -0700, Tal Danzig wrote:
 Try a program like gcolorsel.
 Very handy.

Or if you doesn't want to use GNOME; 'xcolorsel', or look at
/usr/lib/X11/rgb.txt, though that's a bit harder to use.
I actually like xcolorsel better than the latest Helix-GNOME gcolorsel,
YMMV.

You can use everything from grey0 (black) through to grey100 (white) if
you want grey as background.

HTH
Morten

-- 
UNIX, reach out and grep someone!



Re: color in Emacs

2000-08-23 Thread Patrick Dahiroc
try xcolorsel

On Wed, Aug 23, 2000 at 10:42:38AM +0200, Goeman Stefan wrote:
 Hello,
 
 Putting something like this 
 
 emacs*background:white
 emacs*foreground:black
 
 in the .Xdefault file is nice.
 
 But, does there exist a list of colors to choose from.
 For example, as background I used grey but I find it still to dark.
 Is there a way to get it brighter (without using background:white)?
 
 Greetings,
 
 Stefan Goeman.
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 
As a general rule, if you have trouble 
 with the binary system, then probably it 
 is because you do not really understand 
 the decimal system ...
R.W. Hamming



Re: color in Emacs

2000-08-23 Thread Paul D. Smith
%% Goeman Stefan [EMAIL PROTECTED] writes:

  gs Putting something like this 

  gs emacs*background:white
  gs emacs*foreground:black

This is not the right way to do this.  Use class names, not instance
names:

  Emacs*background: white
  Emacs*foreground: black

-- 
---
 Paul D. Smith [EMAIL PROTECTED] Network Management Development
 Please remain calm...I may be mad, but I am a professional. --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.



Re: color in Emacs

2000-08-23 Thread USM Bish
List of colours to choose from is in a file called 
/usr/X11R6/lib/X11/rgb.txt. The combination of colours
dependes upon your personal choice, and trial and
error is the best answer. My personal choice is:

emacs*background:DarkSlateGrey
emacs*foreground:Wheat

Bish

On Wed, Aug 23, 2000 at 10:42:38AM +0200, Goeman Stefan wrote:
 Hello,
 
 Putting something like this 
 
 emacs*background:white
 emacs*foreground:black
 
 in the .Xdefault file is nice.
 
 But, does there exist a list of colors to choose from.
 For example, as background I used grey but I find it still to dark.
 Is there a way to get it brighter (without using background:white)?
 
 Greetings,
 
 Stefan Goeman.
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 



Re: color in Emacs

2000-08-23 Thread kmself
On Wed, Aug 23, 2000 at 08:24:07PM +0518, USM Bish wrote:
 List of colours to choose from is in a file called 
 /usr/X11R6/lib/X11/rgb.txt. The combination of colours
 dependes upon your personal choice, and trial and
 error is the best answer. My personal choice is:

These are named colors.  You can specify any color your wish with RGB
values, eg:

   emacs bg '#336633'

...where values are given in hex [0-9a-f].

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of Gestalt don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpNjpYbJvRtD.pgp
Description: PGP signature


Re: color in Emacs

2000-08-23 Thread s. keeling
On Tue, Aug 22, 2000 at 09:08:25PM -0700, Dale L . Morris wrote:
 I would like to get some color in emacs, from checking the emacs ng it
 looks like .Xdefaults entries are the way to go, but I don't have an
 .Xdefaults file, just .xsession.
 Could someone post the 'color' portion of their .emacs file or point
 me in the right direction?


(0) /home/keeling/_ grep -i emacs .Xresources 
emacs.foreground:   LightSlateGray
emacs.background:   black
emacs.cursorColor:  orangered
emacs.font: -*-*-medium-r-*-*-*-80-*-*-m-*-iso8859-1
emacs.geometry: 106x42+4+18
emacs.pointerColor: orangered

A note, by the way: emacs colors make sense for white on black, or
black on white.  In between is a very misundertood area.

However, assuming you mean color as in colorized program code:

~/.emacs:
(setq font-lock-maximum-decoration t)
(global-font-lock-mode t)


-- 
[EMAIL PROTECTED] (Stephen) TopQuark Software  Serv. Enquire within.
[sed 's/[EMAIL PROTECTED]/@/g']   Contract programmer, server 
bum.  
Any technology distinguishable from magic is insufficiently advanced.



Re: color in emacs terminal

1999-07-03 Thread Pierfrancesco Caci
:- Marco == Marco Melgazzi [EMAIL PROTECTED] writes:
Marco 
 Hello
 Can emacs do color when in terminal mode like mutt, ls,
 dselect, etc. can?  I've become addicted to font-lock-mode and
 I'd like to do something similar even when I have to use it
 windowless (or in an xterm, anyway).
Marco 
- I know xemacs can I don't know about gnu emacs.
Marco 
 GNU emacs can as well, I wrote the ansi colorization/directory tracking
 part for term.el many months ago. I don't think it would work in an
 xterm though.
Marco 

ok, how do I get this options always on? I have it active when in X
but not in the console. Xemacs has it active both in X and in console.
For  some reasons I don't want to use xemacs.


Pf


-- 

---
 Pierfrancesco Caci  | mailto:[EMAIL PROTECTED] - http://gusp.infogroup.it
   ik5pvx| http://www.geocities.com/SoHo/Lofts/8999
  Firenze - Italia   | Office for the Complication of Otherwise Simple Affairs 
 Linux penny 2.2.10 #1 Tue Jun 15 21:03:12 CEST 1999 i586 unknown


color in emacs terminal

1999-07-02 Thread Michael Stenner
Can emacs do color when in terminal mode like mutt, ls, dselect,
etc. can?  I've become addicted to font-lock-mode and I'd like to do
something similar even when I have to use it windowless (or in an
xterm, anyway).

-Michael
-- 
  Michael Stenner   Office Phone: 919-660-2513
  Duke University, Dept. of Physics   [EMAIL PROTECTED]
  Box 90305, Durham N.C. 27708-0305


Re: color in emacs terminal

1999-07-02 Thread Brian Servis
*- On  2 Jul, Michael Stenner wrote about color in emacs terminal
 Can emacs do color when in terminal mode like mutt, ls, dselect,
 etc. can?  I've become addicted to font-lock-mode and I'd like to do
 something similar even when I have to use it windowless (or in an
 xterm, anyway).
 
   -Michael

I know xemacs can I don't know about gnu emacs.

-- 
Brian 
-
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: color in emacs terminal

1999-07-02 Thread Marco Melgazzi
Hello

 Can emacs do color when in terminal mode like mutt, ls,
 dselect, etc. can?  I've become addicted to font-lock-mode and
 I'd like to do something similar even when I have to use it
 windowless (or in an xterm, anyway).

- I know xemacs can I don't know about gnu emacs.

GNU emacs can as well, I wrote the ansi colorization/directory tracking
part for term.el many months ago. I don't think it would work in an
xterm though.

Cheers !

Marco