[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vc-git] Showing ‘.git/*’ files in vc-dir
From: |
Dan Nicolaescu |
Subject: |
Re: [vc-git] Showing ‘.git/*’ files in vc-dir |
Date: |
Thu, 01 Jul 2010 11:34:30 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Glenn Morris <address@hidden> writes:
> 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
I somehow missed that.
> 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.
The change may be trivial to code, but as I said, I'd like to see a
clean design first.
What happens when you run another vc-dir, should the same type of
files be hidden again?
Should the user be able to say: I never want to see unregistered files.
(or some other type???)
> Then I just use the interactive piece from the posted code, and bind
> it to H, as suggested.
I'd like to avoid taking another key if possible.
> I use this all the time, for exactly the purpose of hiding
> unregistered files.
It would be nice to have a more generic solution, if one is needed.
Someone needs to think about it and justify one way or another.