From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: vc-mode-line Date: Fri, 06 Aug 2010 06:59:12 +0200 Message-ID: <87sk2s5obj.fsf@telefonica.net> References: <83lj8tb2yg.fsf@gnu.org> <87mxt0ihtd.fsf@catnip.gol.com> <87wrs45s28.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1281070776 32094 80.91.229.12 (6 Aug 2010 04:59:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Aug 2010 04:59:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 06 06:59:35 2010 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.69) (envelope-from ) id 1OhF1q-0008L5-Ip for ged-emacs-devel@m.gmane.org; Fri, 06 Aug 2010 06:59:34 +0200 Original-Received: from localhost ([127.0.0.1]:39021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhF1q-0008GQ-1P for ged-emacs-devel@m.gmane.org; Fri, 06 Aug 2010 00:59:34 -0400 Original-Received: from [140.186.70.92] (port=53425 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhF1i-0008DG-Da for emacs-devel@gnu.org; Fri, 06 Aug 2010 00:59:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OhF1g-0005iQ-TC for emacs-devel@gnu.org; Fri, 06 Aug 2010 00:59:26 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56858) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhF1g-0005i2-NR for emacs-devel@gnu.org; Fri, 06 Aug 2010 00:59:24 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OhF1d-0008JK-IP for emacs-devel@gnu.org; Fri, 06 Aug 2010 06:59:21 +0200 Original-Received: from 83.42.13.171 ([83.42.13.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Aug 2010 06:59:21 +0200 Original-Received: from ofv by 83.42.13.171 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Aug 2010 06:59:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 83.42.13.171 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:5BxtqeJmNM5aIiZgqBV6KD60DFo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:128353 Archived-At: Óscar Fuentes writes: > Whatever you decide, please consider allowing for some colorized > clue. Associating background faces to VC states, for instance, so the > user can customize "green for unmodified, red for modified" etc. I experimented a bit assigning a face to the text inserted into the modeline by vc-default-mode-line-string. The result is great, IMHO. It's trivial to make a patch for adding a configurable face for each VC state. The question is: should they default to the current face, so the modeline looks the same way as it does now, or should I use some imagination and choose some (possibly horrible) defaults?