unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gary Mills <mills@cc.UManitoba.CA>
Subject: Colour problems with emacs-21.2 under Solaris and Motif
Date: Mon, 2 Sep 2002 17:30:08 -0500	[thread overview]
Message-ID: <20020902223007.GA13804@cc.umanitoba.ca> (raw)

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	other threads:[~2002-09-02 22:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-02 22:30 Gary Mills [this message]
2002-09-04 14:20 ` Colour problems with emacs-21.2 under Solaris and Motif Richard Stallman
2002-09-04 14:39   ` Gary Mills
2002-09-04 16:51   ` Gary Mills

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020902223007.GA13804@cc.umanitoba.ca \
    --to=mills@cc.umanitoba.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).