git-timemachine is good to use, but how to show author (committer) along side with the commit message?This information sometime is important for me

  • 2
    I think you should rather direct this question to author of git-timemachine. They'll be able to really answer this question.
    – user227
    Jan 13, 2016 at 9:13

1 Answer 1


Here is a dirty way to display commit author (not committer, if you want that, replace %an with %cn) by advising git-timemachine--show-minibuffer-details. Usually, you should ask the package author for the feature request.

(defun git-timemachine--show-minibuffer-details-add-anthor (orig-fun &rest args)
  (let* ((old-details (let (message-log-max)
                       (apply orig-fun args)))
        (commit (caar args))
        (default-directory git-timemachine-directory)
        (author (substring
                   (concat "git show --format=%an --no-patch "
                 0 -1)))
    (message (concat old-details " " author))))

(advice-add 'git-timemachine--show-minibuffer-details
             :around #'git-timemachine--show-minibuffer-details-add-anthor)
  • 1
    It has now been implemented in a more integrated fashion, no need for this advice.
    – user10834
    Jan 20, 2016 at 12:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.