Created
October 7, 2011 11:18
-
-
Save TauPan/1270089 to your computer and use it in GitHub Desktop.
mutt macro for viewing changelog mail (e.g. from git commit hook) in emacs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# em is my emacsclient wrapper, you can substitute 'em' with 'emacsclient' and it should work | |
macro index,pager l \ | |
"<enter-command>unset wait_key<enter><enter><pipe-message>tmpf=\$(mktemp commitlog-XXXXXX.diff); cat > \$tmpf; em \$tmpf; rm \$tmpf<enter><enter-command>set wait_key<enter>" \ | |
"view message in diff-mode in emacs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment