emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VC top of the tree diff and log


From: Juri Linkov
Subject: Re: VC top of the tree diff and log
Date: Fri, 04 Sep 2009 03:05:27 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

>   > >   > Have you tried to run `vc-print-root-log' on the Emacs repository?
>   > >   > I waited for several minutes and eventually abandoned the attempt.
>   > >
>   > > No, I only have the CVS one handy.
>   > > But I've tried it on other things that have lots of lines, and yes it's
>   > > slow.  See the "slow output" bugs/threads, they have been partially
>   > > motivated by this.
>   > >
>   > >   > We could provide a numeric prefix argument for vc print logs
>   > >   > to limit the number of commits to show.  I mean translating it
>   > >   > to the git command like "git-log -2".
>   > >
>   > > Yes, I have considered limiting the size of the log output, it needs to
>   > > apply not only to the root log, but also to C-x v l.   But I
>   > > don't know what the best thing to do here... :-(
>   >
>   > What's the slowdown anyway?  The underlying git command, invoked via
>   > `shell-command' (with output inserted into an emacs buffer) is almost
>   > instantaneous.
>   >
>   > Is it because it's trying to fontify and add text-props or overlays to
>   > the entire buffer?
>
> Don't know for sure, but from what I remember last time I looked at this
> the problem was not the fontification.

Yes, the problem is not the fontification.  Fontification starts only
after the git command finishes.  It is reading 500000-line output of
the complete emacs git log that takes too much time.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]