From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#12159: 24.1.50; vc-dir: Need a way to hide unregistered files Date: Sun, 12 Aug 2012 15:28:23 +0530 Message-ID: <87pq6we8jk.fsf@gmail.com> References: <87pq71i7fy.fsf@gmail.com> <87d3312p4f.fsf@gmail.com> <871ujdpbqp.fsf@gmail.com> <87boigj2ti.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344765526 6118 80.91.229.3 (12 Aug 2012 09:58:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Aug 2012 09:58:46 +0000 (UTC) Cc: 12159@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 12 11:58:43 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T0UwT-0006Br-RZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Aug 2012 11:58:41 +0200 Original-Received: from localhost ([::1]:50906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0UwT-0002jp-2r for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Aug 2012 05:58:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0UwQ-0002jV-0q for bug-gnu-emacs@gnu.org; Sun, 12 Aug 2012 05:58:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0UwP-0005q6-1B for bug-gnu-emacs@gnu.org; Sun, 12 Aug 2012 05:58:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0UwO-0005q1-SN for bug-gnu-emacs@gnu.org; Sun, 12 Aug 2012 05:58:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T0V4Y-0005Jx-5j for bug-gnu-emacs@gnu.org; Sun, 12 Aug 2012 06:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Aug 2012 10:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12159 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12159-submit@debbugs.gnu.org id=B12159.134476601020435 (code B ref 12159); Sun, 12 Aug 2012 10:07:02 +0000 Original-Received: (at 12159) by debbugs.gnu.org; 12 Aug 2012 10:06:50 +0000 Original-Received: from localhost ([127.0.0.1]:50614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T0V4L-0005JX-2B for submit@debbugs.gnu.org; Sun, 12 Aug 2012 06:06:49 -0400 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:35411) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T0V4I-0005JN-Pb for 12159@debbugs.gnu.org; Sun, 12 Aug 2012 06:06:47 -0400 Original-Received: by pbbrr4 with SMTP id rr4so7081773pbb.3 for <12159@debbugs.gnu.org>; Sun, 12 Aug 2012 02:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=kuY/WjGvgv3+WlEcobtiT8kBBufRZgiaD6d+vsPybxs=; b=aHQUJ5MklrP71rwS4QtbMlEQgDZTn6D5gyUz+7DCLrxeaa9eF2+gS1f5elWFtNynfy UEqtKw0eNtRj90nY52YLqrS7zpPcGIV2WXQ8khe36BB+jCZw9TWXVnKLS08be7YmWwZE 24vMu/OsMPSNHUq/Qfnp04PH3xaC+D9PpuJ0o4C2lDJDujyPtCFnC+cCw0PzIaWHFYT8 zhCQUolOy4wXVxJzxUD0HUIJLcZV9TmgUgc6YLIQEcU3o86n58M/rwOtBpx3xQxm3Zve OSnFbLt6eJqURkfFv9E8sfDZ5WD3E6GCwj9zeEEoR4FJIiGv61TmtLhx6S5+iXcQkDPJ xPwg== Original-Received: by 10.66.74.3 with SMTP id p3mr11213039pav.49.1344765499091; Sun, 12 Aug 2012 02:58:19 -0700 (PDT) Original-Received: from debian-6.05 ([115.184.4.123]) by mx.google.com with ESMTPS id gf7sm3057714pbc.65.2012.08.12.02.58.15 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 12 Aug 2012 02:58:18 -0700 (PDT) In-Reply-To: (Andreas Schwab's message of "Sun, 12 Aug 2012 09:37:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63063 Archived-At: Andreas Schwab writes: > Jambunathan K writes: > >> +(defcustom vc-dir-hide-these-states '("up-to-date") >> + "States hidden by `vc-dir-hide-some-states'." >> + :type '(choice >> + (const :tag "None") >> + (set :tag "Choices" >> + (string :tag "VC State" "added") > > Why a string? Using the symbol would be more natural. There is a note up in the thread, which reads: ,---- | 2. Magnus' changes assumes that states are just elisp symbols. This | may not be true. In case of locked states - designated as USER in | `vc-state' - the state could actually be a string. `---- I have gone by what I could make out from the dav backend. Btw, does it make a big difference? > Andreas.