[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on
From: |
David Caldwell |
Subject: |
bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer |
Date: |
Thu, 27 Aug 2015 11:32:56 -0700 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hello,
Attached is a patch (in git am format) to add a new interactive function
`vc-activate`, which simply calls `vc-find-file-hook` to activate VC
mode on a buffer.
The motivation comes from the fact that I don't consistently use VC for
everything. I often pop back and forth to the command line, depending on
the situation. This ends up with a lot of "git add" commands being run
behind emacs's back. I've been using `M-x revert-buffer` or `C-x C-v`,
but both of them seem too harsh for what I really want, which is for VC
to just check again real quick. I could `M-: RET (vc-find-file-hook)`
but that doesn't roll off the tongue very well.
`vc-activate` is a nicely named interactive wrapper around
vc-find-file-hook so that I can just do `M-x vc-activate RET` and I'm in
business.
Thanks,
David
0001-Add-vc-activate-interactive-to-activate-VC-mode-on-t.patch
Description: Text Data
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer,
David Caldwell <=
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, Stefan Monnier, 2015/08/27
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, David Caldwell, 2015/08/27
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, Stefan Monnier, 2015/08/29
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, David Caldwell, 2015/08/29
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, Stefan Monnier, 2015/08/29
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, David Caldwell, 2015/08/30
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, Stefan Monnier, 2015/08/30
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, David Caldwell, 2015/08/31
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, Stefan Monnier, 2015/08/31