From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?windows-1252?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: [vc-git] Showing =?windows-1252?q?=91=2Egit/*=92_files_in_vc-?= =?windows-1252?q?dir?= Date: Thu, 01 Jul 2010 09:36:19 +0200 Message-ID: <4C2C4573.1060203@swipnet.se> References: <4C2A5279.2080706@cybersprocket.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1277972249 1759 80.91.229.12 (1 Jul 2010 08:17:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2010 08:17:29 +0000 (UTC) Cc: Eric James Michael Ritz , Stefan Monnier , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 01 10:17:26 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 1OUExW-0007vb-DE for ged-emacs-devel@m.gmane.org; Thu, 01 Jul 2010 10:17:22 +0200 Original-Received: from localhost ([127.0.0.1]:37077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUEj9-0002lN-Tf for ged-emacs-devel@m.gmane.org; Thu, 01 Jul 2010 04:02:31 -0400 Original-Received: from [140.186.70.92] (port=60958 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUEJv-0004ZF-Q9 for emacs-devel@gnu.org; Thu, 01 Jul 2010 03:36:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUEJu-0000EG-GR for emacs-devel@gnu.org; Thu, 01 Jul 2010 03:36:27 -0400 Original-Received: from smtprelay-h21.telenor.se ([195.54.99.196]:40456) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUEJr-0000De-0I; Thu, 01 Jul 2010 03:36:23 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id 1AB6DC627; Thu, 1 Jul 2010 09:36:20 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AosyAMnhK0xV4S0jPGdsb2JhbACHb5dzDAEBAQE1Lb5UhSUE X-IronPort-AV: E=Sophos;i="4.53,518,1272837600"; d="scan'208";a="97639981" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb1.telenor.se with ESMTP; 01 Jul 2010 09:36:20 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id F1AA97FA05A; Thu, 1 Jul 2010 09:36:19 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:126595 Archived-At: Dan Nicolaescu skrev 2010-07-01 05.06: > Stefan Monnier writes: > >>> Not sure what the best solution is: make vc-git-state return >>> nil, or make vc-dir ignore files in .git, or something else ... >> >> Maybe find-file shouldn't add unregistered files to vc-dir buffers. > > Sure it should, one wants to be able to register those files. > How about a command and a defcustom to set the default that filters out unregistered files in vc-dir? I almost always have unregistered files (.emacs.desktop for one), and thus can't commit from vc-dir ("files must have the same state") as bzr on savannah does not accept a list of files in the commit. Jan D.