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: vc-set-mode-line-busy-indicator Date: Sun, 02 Mar 2008 18:12:43 +0200 Organization: JURTA Message-ID: <87k5kljhik.fsf@jurta.org> References: <18370.47294.641890.556694@kahikatea.snap.net.nz> <18371.9275.720477.806834@kahikatea.snap.net.nz> <2vzltos6g1.fsf@fencepost.gnu.org> <18371.49683.356527.589505@kahikatea.snap.net.nz> <18377.55334.203888.524043@kahikatea.snap.net.nz> <434pbqcaz5.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204474934 7399 80.91.229.12 (2 Mar 2008 16:22:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Mar 2008 16:22:14 +0000 (UTC) Cc: Nick Roberts , emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 02 17:22:39 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JVqxL-0007Vk-Ns for ged-emacs-devel@m.gmane.org; Sun, 02 Mar 2008 17:22:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVqwo-00075Z-Uu for ged-emacs-devel@m.gmane.org; Sun, 02 Mar 2008 11:21:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVqvz-00066C-Jc for emacs-devel@gnu.org; Sun, 02 Mar 2008 11:21:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVqvu-0005z1-KA for emacs-devel@gnu.org; Sun, 02 Mar 2008 11:21:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVqvu-0005yx-Cf for emacs-devel@gnu.org; Sun, 02 Mar 2008 11:21:02 -0500 Original-Received: from relay03.kiev.sovam.com ([62.64.120.201]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JVqvp-0001bt-VM; Sun, 02 Mar 2008 11:20:58 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay03.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1JVqvf-000DWv-Qh; Sun, 02 Mar 2008 18:20:54 +0200 In-Reply-To: <434pbqcaz5.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sat, 01 Mar 2008 17:53:34 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-unknown-linux-gnu) X-Scanner-Signature: 5bcd58edb95cdacf596e852bfe0375ec X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2347 [Mar 2 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 11 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) 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:91069 Archived-At: > If people feel the need to emphasize certain mode-line features (and > if you did a similar thing for gud, there probably is such a need), > then I would say it needs a new face; because the mode-line palette is > different to the buffer palette. > > I suggest a new `mode-line-emphasis' face. The existing > `mode-line-highlight' doesn't look right because it is designed for > buttons. I made up some defaults; I'm not sure about them. > [...] > + (defface mode-line-emphasis > + '((((class color) (min-colors 88)) > + :background "grey40") > + (t > + :inherit highlight)) > + "Face used to emphasize certain mode line features. > + Use the face `mode-line-highlight' for features that can be selected." > + :version "23.1" > + :group 'mode-line-faces > + :group 'basic-faces) Text with black foreground is not very readable on dark background grey40. On the mode line there are already places where text is emphasized: buffer names are displayed in bold (bold is also often used to make *emphasis* in printed materials). Isn't bold strong enough to emphasize the "[waiting...]" string? Then we could add a new general bold face `mode-line-emphasis' and change `mode-line-buffer-id' to inherit from it. -- Juri Linkov http://www.jurta.org/emacs/