From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Changing the no-toolkit scrollbar thumb color. (minor issue) Date: Sat, 04 Oct 2003 20:11:34 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3F7F0D56.2020309@swipnet.se> 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> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1065291265 19453 80.91.224.253 (4 Oct 2003 18:14:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2003 18:14:25 +0000 (UTC) Cc: teirllm@dms.auburn.edu, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Oct 04 20:14:23 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 1A5qv9-0007gy-00 for ; Sat, 04 Oct 2003 20:14:23 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A5qv9-0007Fe-00 for ; Sat, 04 Oct 2003 20:14:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5qum-0002t9-Mu for emacs-devel@quimby.gnus.org; Sat, 04 Oct 2003 14:14:00 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A5quZ-0002rc-RD for emacs-devel@gnu.org; Sat, 04 Oct 2003 14:13:47 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A5qu3-0002dU-LZ for emacs-devel@gnu.org; Sat, 04 Oct 2003 14:13:46 -0400 Original-Received: from [193.201.16.94] (helo=stubby.bodenonline.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A5qtW-0002T1-G8; Sat, 04 Oct 2003 14:12:42 -0400 Original-Received: from accessno42.bodenonline.com (accessno42.bodenonline.com [193.201.16.44]) by stubby.bodenonline.com (8.12.1/8.12.1) with ESMTP id h94IuZmh025581; Sat, 4 Oct 2003 20:56:35 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030921 X-Accept-Language: en-us, en Original-To: bob@rattlesnake.com In-Reply-To: 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:16927 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16927 Robert J. Chassell wrote: > 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. As Danilo Segan pointed out, xterm is not a GTK application. I can not see thais difference you talk about in other Gnome applications. I do not have Galeon unfortunately, so I can not check that. > 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. This suggests you have a pixmap based theme. These can not be customized in any reliable way. Some themse give some effects, others are totally unchanged. You did not say what theme you use. > 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. I am more leaning towards removing all customability in the GTK version of Emacs. Mainly because the mechanisms used are not well documented in GTK, they have confusing effects depending on what theme you use, but perhaps the most important argument, GTK/Gnome has stated that the only customization they really support is by themes. One of the reasons to have GTK in the first place is to get a consistent look-and-feel with other GTK/Gnome applications (granted Emacs uses different icons). If customizations are needed, we can recommend another toolkit. Thoughts? Jan D.