GNU bug report logs - #21364
[PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer

Previous Next

Package: emacs;

Reported by: David Caldwell <david <at> porkrind.org>

Date: Thu, 27 Aug 2015 18:34:02 UTC

Severity: wishlist

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 21364 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: David Caldwell <david <at> porkrind.org>
Cc: 21364 <at> debbugs.gnu.org
Subject: Re: bug#21364: [PATCH] Add vc-activate (interactive) to activate VC
 mode on the current buffer
Date: Sat, 29 Aug 2015 22:11:48 -0400
> How about vc-buffer-refresh?

Hm... I think that makes it sound like it'll revert the buffer's content
or something.

How 'bout `vc-refresh-state'?

> Also, I was thinking maybe it would make more sense to rename
> vc-find-file-hook to vc-buffer-refresh (making it interactive along the
> way) and then doing:

> (add-hook 'find-file-hook 'vc-buffer-refresh)

If the two are really identical, then yes, it makes sense to just rename
the existing function and make it interactive.


        Stefan




This bug report was last modified 9 years and 267 days ago.

Previous Next


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