From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Changing the no-toolkit scrollbar thumb color. (minor issue) Date: Tue, 30 Sep 2003 16:25:09 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87fzijz4th.fsf@raven.i.defaultvalue.org> <200309262123.h8QLNNi07638@raven.dms.auburn.edu> <200309272155.h8RLttv09524@raven.dms.auburn.edu> <200309281642.h8SGgxc11119@raven.dms.auburn.edu> <200309281801.h8SI1gV11332@raven.dms.auburn.edu> <200309300011.h8U0B6021222@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1064954735 13161 80.91.224.253 (30 Sep 2003 20:45:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2003 20:45:35 +0000 (UTC) Cc: bob@rattlesnake.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Sep 30 22:45:33 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4RNE-0000rC-00 for ; Tue, 30 Sep 2003 22:45:32 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A4RNE-0007g4-00 for ; Tue, 30 Sep 2003 22:45:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A4RBX-0001jF-HL for emacs-devel@quimby.gnus.org; Tue, 30 Sep 2003 16:33:27 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A4RBT-0001ik-A3 for emacs-devel@gnu.org; Tue, 30 Sep 2003 16:33:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A4RAw-0001f8-9J for emacs-devel@gnu.org; Tue, 30 Sep 2003 16:33:22 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A4R4x-0000np-BK for emacs-devel@gnu.org; Tue, 30 Sep 2003 16:26:39 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 1A4R3V-0002k6-2F; Tue, 30 Sep 2003 16:25:09 -0400 Original-To: Luc Teirlinck In-reply-to: <200309300011.h8U0B6021222@raven.dms.auburn.edu> (message from Luc Teirlinck on Mon, 29 Sep 2003 19:11:06 -0500 (CDT)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16807 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16807 This would be documenting the bug. That would be an improovement, but what we really should do if at all feasible is fix the bug. This face should have its special effect for all toolkits. The _same_ special effect? Yes, to the extent it makes sense. Native scrollbar: Has a thumb and a trough. Thumb is blue, trough is red. Wonderful. Xaw3d scrollbar: The default scroll bar. Has a thumb and a trough. Both are red. :foreground does not seem to have any effect on anything. Is this a bug or is it quite simply not possible to give both different colors? That's a bug. Motif: Has a thumb, a trough and two arrows. Thumb and arrows are red. Color of trough is still the same old grey. :foreground does not seem to have any effect on anything. That's a bug. Only one of the four I did not try out myself, but Bob tried it and found that it had no effect whatsoever. things do not seem easy, however. That's a bug. { fg[NORMAL] = "red" # The arrow color. bg[NORMAL] = "yellow" # The thumb and background around the arrow. bg[ACTIVE] = "blue" # The trough color. bg[PRELIGHT] = "white" # The thumb color when the mouse is over it. } Those are four colors to customize. If we want full customizability through Custom, we would have to allow the user to specify four colors. Maybe we want two or three faces to specify all these colors.