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

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

Font-lock.el uses strange value for min-colors (Was x-display-color-cell


From: Jan D.
Subject: Font-lock.el uses strange value for min-colors (Was x-display-color-cells returns wrong number)
Date: Sun, 29 Feb 2004 18:01:09 +0100

"Jan D." <address@hidden> writes:

  (x-display-color-cells) => 64

I noticed because of the recent change in font-lock.el -- since
64 < 88 I now get really ugly font-lock colours.

This function does not look to have been changed for a very long time.
It basically just returns
DisplayCells (dpyinfo->display,
               XScreenNumberOfScreen (dpyinfo->screen))

Have you changed X server lately?

No.  `x-display-color-cells' has probably always returned 64 (it also
does that in Emacs 21.3), but I guess it just wasn't used anywhere
important before now.

Well, looking at your xdpyinfo, the only thing it can return is 64.
But this is not the problem you have.  What you are saying is that
64 works fine as a value for min-colors in font-lock.el instead of
88.  Your problem has nothing to do with x-display-color-cells.

88 is a funny value, I don't know how that value was reached, Cc:ing
emacs-devel to see if anybody can help.

        Jan D.





reply via email to

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