GNU bug report logs - #22003
24.5; *vc-dir* show ignored files for Mercurial

Previous Next

Package: emacs;

Reported by: Oleksandr Gavenko <gavenkoa <at> gmail.com>

Date: Tue, 24 Nov 2015 09:11:02 UTC

Severity: minor

Found in version 24.5

Fixed in version 25.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Oleksandr Gavenko <gavenkoa <at> gmail.com>, 22003 <at> debbugs.gnu.org
Subject: bug#22003: 24.5; *vc-dir* show ignored files for Mercurial
Date: Wed, 25 Nov 2015 03:45:13 +0200
On 11/24/2015 11:10 AM, Oleksandr Gavenko wrote:

>  From some newer version of Emacs (I currently on 24.5.1) after some operation
> `*vc-dir*` buffer begin to show *ignored* files.

I think that's a good default behavior, at least. The user might not be 
aware, at a given time, that the file he's trying to edit is ignored. 
Maybe they forgot or new to the project, or maybe the file is matched to 
a wildcard in .hgignore that wasn't intended for it.

Displaying the file's status in vc-dir when the user edits it makes 
sense. Similarly to what we do for up-to-date files that had a different 
status previously: we keep showing them in vc-dir.

> I specially craft `.hgignore` to make list of `hg status` short. But Emacs
> `vc-mode` doesn't respect my preference.

You can press `x', and that will hide them.

> Is it possible to ignore *ignored* files? I kill *vc-dir* and reopen in order
> to hide *ignored* files.

Nothing is impossible, of course. I'd review a patch introducing a 
custom variable. It will have to change vc-dir-resynch-file.




This bug report was last modified 5 years and 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.