Re: git-blame.el: what is format-spec?
- From
David Kågedal <davidk@lysator.liu.se>
- Date
- Dec 4, 2009, 17:36 UTC
- Message-ID
- <87fx7q4p6h.fsf@lysator.liu.se>
- In-Reply-To
- <87ljhi3cao.fsf@osv.gnss.ru>
Sergei Organov <osv@javad.com> writes:
Show 18 quoted lines
> Andreas Schwab <schwab@linux-m68k.org> writes: >> Sergei Organov <osv@javad.com> writes: >> >>> What is format-spec function in current git-blame.el? Neither my GNU >>> Emacs 22.2.1 nor Google knows anything about it. >> >> It's part of Emacs since more than 9 years, imported from Gnus. >> > > Thanks, I now see it in Gnus on my own computer, in > lisp/gnus/format-spec.el.gz. > > GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-10 > on raven, modified by Debian > > However, isn't it a bad idea to require Gnus(!) for git-blame to run? Gnus > is not installed on our server where I've encountered the problem. Was > format-spec actually moved to core emacs recently?
That was not my intention when I posted the patch. I seem to recall that I asked for testing, in particular from users with older Emacsen than 23. But I got no response, and only recently discovered that the patch hade been accepted.
format-spec is included in Emacs 23, and is a useful function. But we can rewrite git-blame.el to do the formatting manuall instead.
-- David Kågedal