From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#3641: Rename vc-dir-hide-up-to-date to vc-dir-toggle-up-to-date Date: Wed, 06 Jul 2011 11:23:30 -0400 Message-ID: References: <87bpohx1hr.fsf@jidanni.org> <6554.1309913105@olgas.newt.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1309967560 27851 80.91.229.12 (6 Jul 2011 15:52:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 15:52:40 +0000 (UTC) Cc: 3641@debbugs.gnu.org To: Bill Wohler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 06 17:52:36 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QeUOy-0007IT-2y for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jul 2011 17:52:36 +0200 Original-Received: from localhost ([::1]:49274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeUOx-0002a8-8Y for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jul 2011 11:52:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeTxM-0005Pw-Bi for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 11:24:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeTxK-0004CX-Rj for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 11:24:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeTxK-0004CQ-Jx for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 11:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QeTxK-0001aV-2s; Wed, 06 Jul 2011 11:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jul 2011 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3641 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 3641-submit@debbugs.gnu.org id=B3641.13099658186071 (code B ref 3641); Wed, 06 Jul 2011 15:24:02 +0000 Original-Received: (at 3641) by debbugs.gnu.org; 6 Jul 2011 15:23:38 +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 1QeTwv-0001Zs-FP for submit@debbugs.gnu.org; Wed, 06 Jul 2011 11:23:37 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeTwt-0001Zg-SE for 3641@debbugs.gnu.org; Wed, 06 Jul 2011 11:23:36 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QeTwo-0003Jq-D9; Wed, 06 Jul 2011 11:23:30 -0400 In-Reply-To: <6554.1309913105@olgas.newt.com> (Bill Wohler's message of "Tue, 05 Jul 2011 17:45:05 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 06 Jul 2011 11:24:02 -0400 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: , 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:48078 Archived-At: Bill Wohler writes: >> From a usability point of view, a toggle makes sense here. > > I'm thinking my initial name isn't very good. It should certainly be > vc-dir-toggle-something. > >> Just curious: Why does vc-dir-hide-up-to-date even exist if that's the >> hard-coded behavior? > > Just answered my own question. If you check in one or more files, they > will appear and be in the up-to-date state until you run x or g. Right, so hiding the up to date entries is a matter of just looking at the entry state and hiding it. If vc-dir were to display all the up to date files, it would have to ask the underlying VC system for the file list (or walk the directory tree by itself...). Some VCS don't have a way to provide that. For example it seems that "bzr status" cannot do that. Another problem is that on big trees it would take forever to get such a file list. Also after a VC operation vc-dir tries to update the state of all the displayed items, if the list is too big, the display would take a long time... These are all potential problems, but what's missing is for someone to implement the feature in at least one VC backend, play with it and tell us how it works.