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

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

Colour problems with emacs-21.2 under Solaris and Motif


From: Gary Mills
Subject: Colour problems with emacs-21.2 under Solaris and Motif
Date: Mon, 2 Sep 2002 17:30:08 -0500
User-agent: Mutt/1.3.25i

I just compiled emacs-21.2 on Solaris 2.6 with this configuration:

        ./configure \
                --without-gcc \
                --with-x-toolkit=motif

I'm running it under Solaris 8 and Solaris 9 with CDE.  I noticed
several peculiarities with the colours.  It seems mainly due to a
small number of missing colours.  This is not the usual problem with
some other application using up all the colours, by the way.  I checked
on that.  I'm assuming it is a Solaris or CDE problem.

Here's what I noticed:

1) Tooltips don't appear.  This error is generated:
   `Error while displaying tooltip: (error Undefined color lightyellow)'

2) The selected item in any menu is a black bar, with no text visible.

3) The error `Unable to load color "grey20"' shows up in the messages
   buffer.

4) Secondary menus have the default (bluish gray) background, not the
   gray background of the primary menu.

5) In the listing of all colours, some are missing.  This includes
   almost all colour names like COLOUR4, plus `lightyellow' and some
   of the greyNN colours.

My workaround was to add the following lines to the site-start.el file:

  (if (facep 'menu)
      (set-face-attribute 'menu nil :background "gray76" :foreground "black"))
  (if (facep 'tooltip)
      (set-face-attribute 'tooltip nil :background "LightYellow2" :foreground 
"black"))


-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-




reply via email to

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