Walt Mankowski on 11 Mar 2004 03:55:03 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] emacs colors


On Wed, Mar 10, 2004 at 08:57:07PM -0500, Jeff Abrahamson wrote:
> On my workstation, emacs comes up with certain ideas of how to color
> things.
> 
> On another machine where I have an account, it makes various "bad"
> decisions.  Some of these I can fix:
> 
>     (set-mouse-color "blue")
>     (set-cursor-color "purple")
>     ; (set-background-color "white")
>     ; (set-foreground-color "white")
> 
> But there are other colors, apparently, and I don't know what to call
> them.  For example, syntax highlighting assumes a dark background and
> so setting background to white makes a lot of text invisible.
> 
> I have no ~/.Xresources.  I tried creating an empty one to no effect.
> 
> /etc/X11/Xresources has this to say:
> 
>     emacs*Background: DarkSlateGray
>     emacs*Foreground: Wheat
>     emacs*pointerColor: Orchid
>     emacs*cursorColor: Orchid
>     emacs*bitmapIcon: on
>     emacs*font: fixed
>     emacs.geometry: 80x25
> 
> which all seems innocuous.  I found some links via google about color
> themes, but that way lies dragons, I think.
> 
> Any thoughts what must be done to fix this?

I'm not sure this is your question, but if you just want to know what
to name colors, X comes with a file called rgb.txt (Debian stores it
in /etc/X11) that contains hundreds of them.

Walt

Attachment: signature.asc
Description: Digital signature