emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Emacs 256 color support.


From: Josh Howard
Subject: Re: Emacs 256 color support.
Date: 07 Oct 2003 13:52:56 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

"Eli Zaretskii" <address@hidden> writes:

> > From: Josh Howard <address@hidden>
> > Date: Wed, 01 Oct 2003 13:39:41 -0700
> > 
> > It was suggested I take this conversation here. Basically, I'm trying
> > to get 256 color support to work in Emacs 21.3.50.2, with little luck
> > so far.  I don't really know if this is an issue with any other
> > version of Emacs, which is why I hesitated in bringing it up as a bug.
> > At any rate, with TERM set to xterm-color and otherwise being able to 
> > view 256 colors in an xterm, Emacs doesn't seem to be able to display
> > them all.
> 
> Since no one responded, I guess no one else is having this problem.
> 
> So how about if you try to debug this?  The place to start would be to
> step with a debugger into the function term_init (defined on term.c)
> and see what value it assigns to the variable TN_max_colors, and why.

I ended up doing this. It apparently just reads the Co# out of the
termcap. I decided to set this manually in the termcap which got me
able to get 256 out of (display-color-cells)... in this case, I
now have color-17 through color-255 available in my list of colors
when I try to set faces, for instance. Changing or modifying my X
resources to assign colors to color200 for instance and setting a
face to color-200 ends up with nothing interesting happening.

-- 
Josh Howard <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]