From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jari Aalto Newsgroups: gmane.emacs.bugs Subject: bug#8178: [PATCH] vc-dir.el -- Use different color for state edited Date: Sat, 05 Mar 2011 13:39:30 +0200 Message-ID: <87d3m5n6dp.fsf@picasso.cante.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1299326840 7805 80.91.229.12 (5 Mar 2011 12:07:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2011 12:07:20 +0000 (UTC) To: 8178@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 05 13:07:15 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1PvqGQ-0007Ud-Bz for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Mar 2011 13:07:14 +0100 Original-Received: from localhost ([127.0.0.1]:32923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvqGP-0008Hj-M3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Mar 2011 07:07:13 -0500 Original-Received: from [140.186.70.92] (port=34487 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvqGB-0008Cq-Fr for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 07:07:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvqG5-0004Dl-9P for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 07:06:59 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvqG5-0004Dh-6h for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2011 07:06:53 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pvpq6-0001BT-Lj; Sat, 05 Mar 2011 06:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jari Aalto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Mar 2011 11:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8178 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: submit@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12993251834518 (code B ref -1); Sat, 05 Mar 2011 11:40:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Mar 2011 11:39:43 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pvppn-0001Ao-D6 for submit@debbugs.gnu.org; Sat, 05 Mar 2011 06:39:43 -0500 Original-Received: from emh04.mail.saunalahti.fi ([62.142.5.110]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pvppj-0001Ab-Eb for submit@debbugs.gnu.org; Sat, 05 Mar 2011 06:39:40 -0500 Original-Received: from saunalahti-vams (vs3-12.mail.saunalahti.fi [62.142.5.96]) by emh04-2.mail.saunalahti.fi (Postfix) with SMTP id 4D8F013BB22 for ; Sat, 5 Mar 2011 13:39:33 +0200 (EET) Original-Received: from emh03.mail.saunalahti.fi ([62.142.5.109]) by vs3-12.mail.saunalahti.fi ([62.142.5.96]) with SMTP (gateway) id A0345933435; Sat, 05 Mar 2011 13:39:33 +0200 Original-Received: from cante.net (a91-155-187-216.elisa-laajakaista.fi [91.155.187.216]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id 28BC7158A64 for ; Sat, 5 Mar 2011 13:39:31 +0200 (EET) Mail-Copies-To: poster X-Antivirus: VAMS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 05 Mar 2011 06:40:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44652 Archived-At: --=-=-= Content-Type: text/plain Package: emacs Version: Version Control as 2011-03-05 13:39 UTC of git 607177f Severity: wishlist When files marked with "edited" are shown in different color, it's easier to find those that need to be committed. 2011-03-05 Jari Aalto * vc-dir.el (vc-default-dir-printer): For state "edited", use `font-lock-constant-face'. -- System Information Debian Release: wheezy/sid APT Prefers testing APT policy: (990, testing) (500, unstable) (1, experimental) Architecture: amd64 Kernel: Linux picasso 2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux Locale: LANG=en_DK.UTF-8 -- Versions of packages `emacs depends on'. Depends: emacs23 23.2+1-7 GNU Emacs is the extensible self-documenting emacs23-lucid 23.2+1-7 GNU Emacs is the extensible self-documenting emacs23-nox 23.2+1-7 GNU Emacs is the extensible self-documenting --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-lisp-vc-dir.el-Use-font-lock-constant-face-for-state.patch >From 607177fd88616a21075d57831dfd77a296b70aa3 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Sat, 5 Mar 2011 13:35:13 +0200 Subject: [PATCH] lisp/vc-dir.el: Use font-lock-constant-face for state edited Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- lisp/vc-dir.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lisp/vc-dir.el b/lisp/vc-dir.el index 61cc857..1b2352c 100644 --- a/lisp/vc-dir.el +++ b/lisp/vc-dir.el @@ -1190,6 +1190,7 @@ These are the commands available for use in the file status buffer: (format "%-20s" state) 'face (cond ((eq state 'up-to-date) 'font-lock-builtin-face) ((memq state '(missing conflict)) 'font-lock-warning-face) + ((eq state 'edited) 'font-lock-constant-face) (t 'font-lock-variable-name-face)) 'mouse-face 'highlight) " " -- 1.7.2.3 --=-=-=--