From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: VC top of the tree diff and log Date: Tue, 1 Sep 2009 21:34:47 -0700 (PDT) Message-ID: <200909020434.n824YlGb016217@godzilla.ics.uci.edu> References: <200907071845.n67IjHUH004088@godzilla.ics.uci.edu> <200907230543.n6N5hI6p029191@godzilla.ics.uci.edu> <200907300718.n6U7I3pi027881@godzilla.ics.uci.edu> <200908291913.n7TJD9wq003979@godzilla.ics.uci.edu> <200908300616.n7U6GqLm009835@godzilla.ics.uci.edu> <87eiqq1jln.fsf@mail.jurta.org> <200909012207.n81M7m5h012672@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251866301 31929 80.91.229.12 (2 Sep 2009 04:38:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2009 04:38:21 +0000 (UTC) Cc: Juri Linkov , Stefan Monnier , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 02 06:38:13 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mihbn-00024h-1e for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2009 06:38:11 +0200 Original-Received: from localhost ([127.0.0.1]:55521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mihbm-0002S4-AX for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2009 00:38:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mihbg-0002RT-8S for emacs-devel@gnu.org; Wed, 02 Sep 2009 00:38:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mihba-0002RE-67 for emacs-devel@gnu.org; Wed, 02 Sep 2009 00:38:02 -0400 Original-Received: from [199.232.76.173] (port=51263 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mihba-0002RB-1f for emacs-devel@gnu.org; Wed, 02 Sep 2009 00:37:58 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:49085) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MihbX-00085f-3A; Wed, 02 Sep 2009 00:37:55 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n824Ylkj022110; Tue, 1 Sep 2009 21:34:47 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n824YlGb016217; Tue, 1 Sep 2009 21:34:47 -0700 (PDT) In-Reply-To: (Miles Bader's message of "Wed, 02 Sep 2009 13:13:43 +0900") Original-Lines: 28 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n824Ylkj022110 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114978 Archived-At: Miles Bader writes: > Dan Nicolaescu writes: > > > 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.