From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Changing the no-toolkit scrollbar thumb color. (minor issue) Date: Tue, 30 Sep 2003 00:27:11 +0000 (UTC) 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> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1064881812 6035 80.91.224.253 (30 Sep 2003 00:30:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2003 00:30:12 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Sep 30 02:30:09 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 1A48P3-0004u3-00 for ; Tue, 30 Sep 2003 02:30:09 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A48P3-0003j3-00 for ; Tue, 30 Sep 2003 02:30:09 +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 1A48OA-0000Xn-Iu for emacs-devel@quimby.gnus.org; Mon, 29 Sep 2003 20:29:14 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A48Nc-0000Ti-HO for emacs-devel@gnu.org; Mon, 29 Sep 2003 20:28:40 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A48N5-0000Ha-1B for emacs-devel@gnu.org; Mon, 29 Sep 2003 20:28:39 -0400 Original-Received: from [140.186.114.245] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A48MX-0008W5-ON; Mon, 29 Sep 2003 20:27:34 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Tue, 30 Sep 2003 00:27:11 +0000 (UTC) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Mon, 29 Sep 2003 15:31:57 -0400) 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:16783 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16783 That would be an improovement, but what we really should do if at all feasible is fix the bug. I agree with you. But I don't know what to do. Incidentally, the scroll bars in Emacs configured with --with-x-toolkit=gtk look different than the scroll bars on my xterms and on my instances of Galeon. It turns out the feature is not common throughout Gnome, at least not in my instance of Gnome. A very recent CVS snapshot, Mon, 2003 Sep 29 18:31 UTC GNU Emacs 21.3.50.98 (i686-pc-linux-gnu, GTK+ Version 2.2.1) started with /usr/local/bin/emacs -q --no-site-file --eval '(blink-cursor-mode 0)' configured with --with-x-toolkit=gtk "Jan D." wrote Here is the example I will put in the manual. .... style "scroll" { 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. } widget_class "*GtkVScrollbar" style "scroll" This does not have any effect. I needed widget "*verticalScrollBar*" instead of widget_class "*GtkVScrollbar" and then, when with that, the two colors that took effect most of the time were fg[NORMAL] = "red" # The arrow color. bg[NORMAL] = "yellow" # The thumb and background around the arrow. The other two, bg[ACTIVE] = "blue" # The trough color. bg[PRELIGHT] = "white" # The thumb color when the mouse is over it. did appear, but not very helpfully. The blue was *not* the trough color. It appeared on the right side of the thumb as a narrow line. The white did appear in the grey75 (or so, I estimate) top of the thumb when I put the mouse over it, but I want to see the white thumb against a dark background when I do not put the cursor over it. The yellow fails to color the thumb; it only colors the left and top sides of the thumb when the cursor is not over it. The top of the thumb and the bottom of the trough are the default grey colors when the cursor is not over the thumb. As I said, I don't know what to do. Perhaps your set up is showing different colors. If so, the Emacs documentation should explain what to do when you use normal Gnome customizations. In any event, I agree with you, this ought to be fixed. -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com