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: Tue, 10 Aug 2010 17:43:41 +0200 Message-ID: <87aaou3236.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 1281455043 30486 80.91.229.12 (10 Aug 2010 15:44:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Aug 2010 15:44:03 +0000 (UTC) Cc: David House To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 10 17:44:02 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 1Oiqzg-0007Sr-OP for ged-emacs-devel@m.gmane.org; Tue, 10 Aug 2010 17:44:01 +0200 Original-Received: from localhost ([127.0.0.1]:37293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oiqzg-000213-6B for ged-emacs-devel@m.gmane.org; Tue, 10 Aug 2010 11:44:00 -0400 Original-Received: from [140.186.70.92] (port=33836 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiqzZ-00020v-PA for emacs-devel@gnu.org; Tue, 10 Aug 2010 11:43:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OiqzY-00067Q-3W for emacs-devel@gnu.org; Tue, 10 Aug 2010 11:43:53 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:46230) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiqzX-000670-SX for emacs-devel@gnu.org; Tue, 10 Aug 2010 11:43:52 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OiqzV-0007Lr-87 for emacs-devel@gnu.org; Tue, 10 Aug 2010 17:43:49 +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 ; Tue, 10 Aug 2010 17:43:49 +0200 Original-Received: from ofv by 83.42.13.171 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Aug 2010 17:43:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 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:Menfxsa0qAEYbRcyS2POcwM9beg= 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:128548 Archived-At: David House writes: > On 5 August 2010 23:38, Óscar Fuentes wrote: >> 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 guess that asking for images would be too contentious ;-) > > For a while now, I've been using the following customization to > display a green circle for an unmodified file and an orange square for > a modified one (versus the repository, I mean): That's what psvn.el does. I prefer to colorize the VC text, as it is more easily customizable and adaptable to more states (`conflict' is one that specially interests me.) > It relies on the attached two PNG images [snip]. psvn.el doesn't need external image files. It builds the icon with a few lines of code. Look for svn-status-state-mark-modeline-dot on psvn.el The file is available from here: http://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/emacs/psvn.el