unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@gnu.org>
To: Bill Wohler <wohler@newt.com>
Cc: 3641@debbugs.gnu.org
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	[thread overview]
Message-ID: <yxqvcvf3025.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <6554.1309913105@olgas.newt.com> (Bill Wohler's message of "Tue,  05 Jul 2011 17:45:05 -0700")

Bill Wohler <wohler@newt.com> 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.





  reply	other threads:[~2011-07-06 15:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-21 11:36 bug#3641: no antidote to vc-dir-hide-up-to-date jidanni
2011-03-02 11:18 ` bug#3641: please more info Mario Frasca
2011-07-05 20:39 ` bug#3641: Rename vc-dir-hide-up-to-date to vc-dir-toggle-up-to-date Bill Wohler
2011-07-06  0:45 ` Bill Wohler
2011-07-06 15:23   ` Dan Nicolaescu [this message]
2019-10-13 19:54 ` bug#3641: no antidote to vc-dir-hide-up-to-date Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yxqvcvf3025.fsf@fencepost.gnu.org \
    --to=dann@gnu.org \
    --cc=3641@debbugs.gnu.org \
    --cc=wohler@newt.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).