git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-blame.el

From
David Kågedal <davidk@lysator.liu.se>
Date
Jan 31, 2007, 20:53 UTC
Message-ID
<87ejpazzn8.fsf@morpheus.local>
In-Reply-To
<864pq7839g.fsf@blue.stonehenge.com>
merlyn@stonehenge.com (Randal L. Schwartz) writes:
Show 7 quoted lines
>>>>>> "David" == David Kågedal <davidk@lysator.liu.se> writes:
>
> David> Here's another version of git-blame.el that automatically tries to
> David> create a sensible list of colors to use for both light and dark
> David> backgrounds.  Plus a few minor fixes.
>
> If this gets traction, this should be what vc-annotate uses on a git file.

I only had a very quick glance, but one "problem" is that vc-annotate assumes that what you want to do is to run an annotate/blame command and show the output in another buffer. My solution is a minor-mode that shows the blame directly in the edit buffer, and I'm not sure how easy it would be to convince vc that this is what I want. And I need a way to turn it off again, and maybe some local key bindings when it is active. This all points to the fact that a minor mode is really the thing to use. So maybe I should simply rebind C-x v g to git-blame-mode instead of vc-annotate...

-- 
David Kågedal
Previous: Randal L. SchwartzNext: Junio C Hamano
Message 3 of 9 in “git-blame.el”
  1. David KågedalJan 31, 2007
  2. Randal L. SchwartzJan 31, 2007
  3. David KågedalJan 31, 2007
  4. Junio C HamanoJan 31, 2007
  5. David KågedalJan 31, 2007
  6. Karl HasselströmFeb 1, 2007
  7. David KågedalFeb 1, 2007
  8. Karl HasselströmFeb 1, 2007
  9. git-blame.el --- Minor mode for incremental blame for GitJakub Narebski, Feb 4, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.