GNU bug report logs - #12492
24.2.50; Open vc-dir buffer easier and faster

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Sat, 22 Sep 2012 23:06:01 UTC

Severity: wishlist

Tags: patch

Found in version 24.2.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dmitry Gutov <dgutov <at> yandex.ru>
Subject: bug#12492: closed (Re: bug#12492: Acknowledgement (24.2.50; Open
 vc-dir buffer easier and faster))
Date: Mon, 30 Mar 2020 02:36:50 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#12492: 24.2.50; Open vc-dir buffer easier and faster

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 12492 <at> debbugs.gnu.org.

-- 
12492: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12492
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Juri Linkov <juri <at> linkov.net>
Cc: 12492-done <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: Re: bug#12492: Acknowledgement (24.2.50; Open vc-dir buffer easier
 and faster)
Date: Sun, 29 Mar 2020 14:09:46 +0300
On 29.03.2020 02:08, Juri Linkov wrote:
> vc-dir-root is now pushed to master without keybinding as discussed
> in bug#34949.

Yes, it's all good. Thanks Juri!

> Please close this report if you think everything is done here.

I remembered why I called it vc-dir-quick, though: aside from using the 
root, it avoids refreshing pre-existing vc-dir buffer, which was an 
important improvement for me at the time (these days--less so). But this 
can be introduced as an option in a separate discussion.

[Message part 3 (message/rfc822, inline)]
From: Dmitry Gutov <dgutov <at> yandex.ru>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.2.50; Open vc-dir buffer easier and faster
Date: Sun, 23 Sep 2012 03:04:01 +0400
[Message part 4 (text/plain, inline)]
Tags: patch

Two changes:
1) All version controlled buffers have after-save-hook set up to call 
vc-dir-resynch-file. So if we're just bringing up a buried vc-dir 
buffer, we (almost?) never need to refresh it. This cuts about 1 second 
or more on my machine, depending on the backend.
2) For almost all backends we can easily deduce the repository root 
directory (exceptions: cvs, rcs, sccs), and I believe that in almost all 
cases the user wants to see the status of this directory, not of some 
subdirectory or any directory unrelated to the current buffer.
Hence the function vc-root-dir, which I think should be bound to 'C-x v 
d' and the respective menu item.
In the rare case when the user need to do something unusual, they can do 
M-x vc-dir.
When the backend doesn't have the function vc-xx-root, vc-root-dir 
interactively delegates to vc-dir, so for CVS, for example, the behavior 
will not change.
[vc-dir.diff (text/plain, attachment)]

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

Previous Next


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