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: limit the number of log entries displayed by C-x v l Date: Thu, 19 Nov 2009 22:59:51 -0800 (PST) Message-ID: <200911200659.nAK6xpkt020046@godzilla.ics.uci.edu> References: <200911122319.nACNJvUn006154@godzilla.ics.uci.edu> <200911130221.nAD2Lu4q007527@godzilla.ics.uci.edu> <200911130502.nAD52OVv008802@godzilla.ics.uci.edu> <200911171344.nAHDis0c026133@godzilla.ics.uci.edu> <200911181819.nAIIJIUk009684@godzilla.ics.uci.edu> <873a4bc70c.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258700528 32083 80.91.229.12 (20 Nov 2009 07:02:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 07:02:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 20 08:02:01 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 1NBNVC-0002Gl-Q5 for ged-emacs-devel@m.gmane.org; Fri, 20 Nov 2009 08:01:55 +0100 Original-Received: from localhost ([127.0.0.1]:50337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBNVC-0005HQ-9q for ged-emacs-devel@m.gmane.org; Fri, 20 Nov 2009 02:01:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBNUu-00057O-82 for emacs-devel@gnu.org; Fri, 20 Nov 2009 02:01:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBNUo-00052s-Na for emacs-devel@gnu.org; Fri, 20 Nov 2009 02:01:35 -0500 Original-Received: from [199.232.76.173] (port=33334 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBNUo-00052Q-C8 for emacs-devel@gnu.org; Fri, 20 Nov 2009 02:01:30 -0500 Original-Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]:37559) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBNUn-0003r6-Ln for emacs-devel@gnu.org; Fri, 20 Nov 2009 02:01:29 -0500 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nAK6xpka020345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Nov 2009 22:59:51 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nAK6xpkt020046; Thu, 19 Nov 2009 22:59:51 -0800 (PST) In-Reply-To: <873a4bc70c.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Thu, 19 Nov 2009 08:23:47 +0100") Original-Lines: 28 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nAK6xpka020345 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_XH 0.08) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:117328 Archived-At: Thierry Volpiatto writes: > Stefan Monnier writes: > > >>> Having tried it on Bzr I see that it's still sufficiently slow with that > >>> backend, that I might prefer to see the complete log so I can then > >>> navigate it to see the various revisions I'm interested in, rather than > >>> get a single-comment N times. > >> Then one can just do C-x v l ... > > > > Good point. > > > >> The reason I found your idea to show a single entry interesting: with > >> the limiting of C-x v l output that we do now by default, you can ask > >> for a log in vc-annotate and not get it if the log entry is old enough. > >> It's rather nice to see exactly the entry you asked for. > >> So what should we do? > > > > Change vc-annotate's code so that if the file's log is already displayed > > in the *vc-change-log* buffer, it just jumps to the appropriate entry, > > otherwise it does what your code did (i.e. ask the backend for just > > that revision's log). > > Have a look at xhg-annotate mode in DVC (screenshot). > http://tinyurl.com/ycen32l That seems to show a buffer with both the diff and the log. Why is that a good idea? What mode does it use?