From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: [vc-git] Showing =?utf-8?b?4oCYLmdpdC8q4oCZ?= files in vc-dir Date: Thu, 01 Jul 2010 04:39:24 -0400 Message-ID: References: <4C2A5279.2080706@cybersprocket.com> <4C2C4573.1060203@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277973584 6321 80.91.229.12 (1 Jul 2010 08:39:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2010 08:39:44 +0000 (UTC) Cc: Eric James Michael Ritz , Jan =?iso-8859-1?Q?Dj=E4rv?= , 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:39:41 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 1OUFIx-0004Jz-PU for ged-emacs-devel@m.gmane.org; Thu, 01 Jul 2010 10:39:32 +0200 Original-Received: from localhost ([127.0.0.1]:45106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUFIx-0006Wf-7A for ged-emacs-devel@m.gmane.org; Thu, 01 Jul 2010 04:39:31 -0400 Original-Received: from [199.232.76.173] (port=34241 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUFIs-0006WQ-GP for emacs-devel@gnu.org; Thu, 01 Jul 2010 04:39:26 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1OUFIr-0000EJ-BT for emacs-devel@gnu.org; Thu, 01 Jul 2010 04:39:26 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:44824) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1OUFIr-0000EF-5q for emacs-devel@gnu.org; Thu, 01 Jul 2010 04:39:25 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OUFIq-000484-R0; Thu, 01 Jul 2010 04:39:24 -0400 X-Spook: anarchy MD5 mania ammunition Becker ASLET threat Albanian X-Ran: o;_dcH/vDRteK(b*d-n"!m,,X!gl)m#><-=]WM1388y2ymwdV@~2H99C_Oa\bYUo/!.dp0 X-Hue: black X-Attribution: GM In-Reply-To: (Dan Nicolaescu's message of "Thu\, 01 Jul 2010 04\:32\:50 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.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:126601 Archived-At: Dan Nicolaescu wrote: >> How about a command and a defcustom to set the default that filters >> out unregistered files in vc-dir? > > If someone first shows a clean design and UI for it, sure. > It could be bound to C-u x. http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6148 It is trivial to modify vc-dir-hide-up-to-date to accept an optional STATES argument in place of a hard-coded 'up-to-date. Then I just use the interactive piece from the posted code, and bind it to H, as suggested. I use this all the time, for exactly the purpose of hiding unregistered files.