Closed redguardtoo closed 11 years ago
No it is not supported now. I think it is not difficult to implement. I try to implement.
Cool, thank you! make it configurable would be good. For example, I can highlight the guy to be blamed with red colour (or any other colour).
and option to copy the whole text into kill-ring, or just give me some hook.
Easy for me to copy all the information into my email and begin the blame game ;)
and some visible feedback in the mini-buffer, btw.
I have implemented it at show-detail branch.
https://github.com/syohex/emacs-git-messenger/tree/show-detail
For example, I can highlight the guy to be blamee with red color (or any other color).
This is difficult because popup.el clears string properties and sets its own property.
option to copy the whole text into kill-ring, or just give me some hook.
I added hook git-messenger:after-popup-hook
. It takes one argument, commit messeage.
Following example is copy text.
(add-hook 'git-messenger:after-popup-hook
(lambda (message)
(with-temp-buffer
(insert message)
(kill-region (point-min) (point-max)))))
You can show detail message by git-messenger:popup-message
with C-u
prefix or
set boolean variable git-messenger:show-detail
to t
.
Screenshot is like following
I will merge this to master branch if you have no problem.
Perfect! You are a genius
@redguardtoo I merge to master branch.
For me, the purpose of use this very useful plugin is literally
git blame
somebody.