From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: vc-mode-line Date: Thu, 05 Aug 2010 13:55:39 +0900 Message-ID: References: <83lj8tb2yg.fsf@gnu.org> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280984162 20540 80.91.229.12 (5 Aug 2010 04:56:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Aug 2010 04:56:02 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 05 06:56:00 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 1OgsUl-000521-WC for ged-emacs-devel@m.gmane.org; Thu, 05 Aug 2010 06:55:56 +0200 Original-Received: from localhost ([127.0.0.1]:51786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgsUl-0003yq-Jv for ged-emacs-devel@m.gmane.org; Thu, 05 Aug 2010 00:55:55 -0400 Original-Received: from [140.186.70.92] (port=37499 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgsUe-0003yk-En for emacs-devel@gnu.org; Thu, 05 Aug 2010 00:55:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgsUd-0003Mu-H9 for emacs-devel@gnu.org; Thu, 05 Aug 2010 00:55:48 -0400 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:40173) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgsUZ-0003LM-R4; Thu, 05 Aug 2010 00:55:44 -0400 Original-Received: from mailgate3.nec.co.jp ([10.7.69.195]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id o754tfCQ025082; Thu, 5 Aug 2010 13:55:41 +0900 (JST) Original-Received: (from root@localhost) by mailgate3.nec.co.jp (8.11.7/3.7W-MAILGATE-NEC) id o754tfN19621; Thu, 5 Aug 2010 13:55:41 +0900 (JST) Original-Received: from relay61.aps.necel.com ([10.29.19.64]) by vgate01.nec.co.jp (8.11.7/3.7W-MAILSV-NEC) with ESMTP id o754tfL09500; Thu, 5 Aug 2010 13:55:41 +0900 (JST) Original-Received: from relay51.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay61.aps.necel.com with ESMTP; Thu, 5 Aug 2010 13:55:41 +0900 Original-Received: from dhlpc061 ([10.114.112.39] [10.114.112.39]) by relay51.aps.necel.com with ESMTP; Thu, 5 Aug 2010 13:55:41 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id B2C6B52E1B7; Thu, 5 Aug 2010 13:55:40 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: (Dan Nicolaescu's message of "Thu, 05 Aug 2010 00:16:21 -0400") Original-Lines: 34 X-detected-operating-system: by eggs.gnu.org: Solaris 8 (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:128269 Archived-At: Of course, being in the mode-line adds other constraints -- that character it also serves as a separator, should not be too obtrusive in "common" states (both unmodified and modified are common I think), should not cause confusion with other parts of the modeline, etc. In particular, I think "*" might not be such a good choice, because using "*" for the VCS indicator would dilute the impact of the standard "buffer modified" indicator. Right now, the buffer-modified indicator stands out, as "*" is a fairly noticeable character; the more "*"s with _different_ meanings we add to the modeline, the less noticeable it becomes (and noticing whether the buffer is modified or not is important I think). I agree that "+" for "newly added file" seems better than @. If changing everything is OK, how about: ":" unmodified but already in repo "=" modified (emacs commonly associates "=" with "diff") "+" added, but not yet committed "-" deleted, but not yet committed If that's too radical a change, how about (avoids redefining old chars): "-" [existing] unmodified but already in repo "=" modified (emacs commonly associates "=" with "diff") "+" added, but not yet committed "#" deleted, but not yet committed -Miles -- Custard, n. A vile concoction produced by a malevolent conspiracy of the hen, the cow, and the cook.