From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: mouse-face on mode-line and header-line Date: Fri, 27 May 2005 18:59:09 +0300 Organization: JURTA Message-ID: <87u0koirxq.fsf@jurta.org> References: <20050513.230546.243438712.jet@gyve.org> <20050522.113905.183047209.jet@gyve.org> <20050523.202614.220553728.jet@gyve.org> <87zmugn3c6.fsf@jurta.org> <200505271454.j4REsvP06325@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117210285 32007 80.91.229.2 (27 May 2005 16:11:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 May 2005 16:11:25 +0000 (UTC) Cc: jet@gyve.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 27 18:11:20 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbhNx-0007Mn-Og for ged-emacs-devel@m.gmane.org; Fri, 27 May 2005 18:08:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbhSG-0006vO-BZ for ged-emacs-devel@m.gmane.org; Fri, 27 May 2005 12:13:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DbhRt-0006r1-Rc for emacs-devel@gnu.org; Fri, 27 May 2005 12:12:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DbhRr-0006oT-Av for emacs-devel@gnu.org; Fri, 27 May 2005 12:12:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbhRr-0006o1-6x for emacs-devel@gnu.org; Fri, 27 May 2005 12:12:35 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DbhQ9-0002M9-J4 for emacs-devel@gnu.org; Fri, 27 May 2005 12:10:49 -0400 Original-Received: from mail.neti.ee (80-235-33-24-dsl.mus.estpak.ee [80.235.33.24]) by Relayhost2.neti.ee (Postfix) with ESMTP id BA17152D7; Fri, 27 May 2005 19:09:39 +0300 (EEST) Original-To: Luc Teirlinck In-Reply-To: <200505271454.j4REsvP06325@raven.dms.auburn.edu> (Luc Teirlinck's message of "Fri, 27 May 2005 09:54:57 -0500 (CDT)") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:37787 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37787 > Good improvement, but there is no reason to have two different faces > with different colors for the same purpose - highlighting text areas > under the mouse pointer. > > I believe there is, because the mode line has a different background face. > I believe that the regular highlight face might be hard to see against > the mode line background. It is foreground/background color combination that can make text hard to read. Since both foreground and background colors are displayed with `highlight' face on the mode line, there should be no problem to see text highlighted under the mouse pointer on the mode line. Using completely different color for the same action is too confusing. If there is not enough contrast between adjacent highlighted and active/inactive mode line areas, then the color of mode-line-highlight could be adjusted to a darker color. For example, replacing "DarkSeaGreen2" used in `highlight' face with "DarkSeaGreen3" for `mode-line-highlight' face on light backgrounds looks very good and makes highlighting of the mode line very easy to notice, and at the same time preserves its visual association with usual highlighting under the mouse pointer. -- Juri Linkov http://www.jurta.org/emacs/