Thread (20 messages) flat view 20 messages, 9 authors, 2016-06-15

Re: More precise tag following

From: David Kågedal <hidden>
Date: 2016-06-15 22:42:51

Possibly related (same subject, not in this thread)

Peter Eriksen [off-list ref] writes:
David Kågedal [off-list ref] writes:
quoted
Peter Eriksen [off-list ref] writes:
quoted
David Kågedal [off-list ref] writes:
quoted
Usage instructions:  Open a file and type M-x git-blame-mode

;;; git-blame.el
I saved the elisp code in a file .emacs.d/git-blame.el, and loaded it
with M-x load-file.  Then I visited git/cache.h, and typed M-x
git-blame-mode, but the background colours did not change.  What did I
forget to do?
Probably you forgot to use the latest version :-)

See my mail with the subject line "git-blame.el".
I saw that mail just after I responded.  The newest version does not
work either, that is, it does not work in the same way, as the old
version.  Closing Emacs I can see, that Emacs did fork of "git blame"
processes.  So it is just the colours, I cannot see.
I think it requires GNU Emacs 21.  If you'are using Emacs 20, try
changing this:

            (overlay-put ovl 'face (list :background
                                         (cdr (assq 'color (cddddr info)))))

to

            (overlay-put ovl 'face (cons 'background-color
                                         (cdr (assq 'color (cddddr info)))))


-- 
David Kågedal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help