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: Wed, 8 Jul 2009 23:48:53 -0700 (PDT) Message-ID: <200907090648.n696mrou001146@godzilla.ics.uci.edu> References: <200907071845.n67IjHUH004088@godzilla.ics.uci.edu> <200907082110.n68LA647023185@godzilla.ics.uci.edu> <87k52i93ug.fsf@catnip.gol.com> <200907090029.n690Twlr026037@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 1247122465 19417 80.91.229.12 (9 Jul 2009 06:54:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jul 2009 06:54:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 09 08:54:18 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 1MOnWM-00067K-9S for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 08:54:18 +0200 Original-Received: from localhost ([127.0.0.1]:53548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOnWL-0004oE-Ks for ged-emacs-devel@m.gmane.org; Thu, 09 Jul 2009 02:54:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOnWG-0004nw-0s for emacs-devel@gnu.org; Thu, 09 Jul 2009 02:54:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOnWA-0004iZ-V0 for emacs-devel@gnu.org; Thu, 09 Jul 2009 02:54:11 -0400 Original-Received: from [199.232.76.173] (port=53427 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOnWA-0004iW-Ql for emacs-devel@gnu.org; Thu, 09 Jul 2009 02:54:06 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:59318) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MOnW6-0007ch-IB; Thu, 09 Jul 2009 02:54:02 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOnTB-00015Z-Oj; Thu, 09 Jul 2009 02:51:02 -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 n696mr2G026276; Wed, 8 Jul 2009 23:48:53 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n696mrou001146; Wed, 8 Jul 2009 23:48:53 -0700 (PDT) In-Reply-To: (Miles Bader's message of "Thu, 09 Jul 2009 12:05:29 +0900") Original-Lines: 49 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n696mr2G026276 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 mx20.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:112230 Archived-At: Miles Bader writes: > Dan Nicolaescu writes: > > > Would be useful, though I dunno what you'd bind it too... at some point > > > having too many bindings for essentially-similar-commands becomes kind > > > of annoying/confusing. > > > > I am thinking that we could have 2 modes for the log: > > - a short one that would be used by default for directory logs > > - the current long one that would be used for file logs > > (I haven't completely thought this through)... > > I normally am interested in exactly the same thing from either file or > project logs: detailed info about the last few changesets. I use short > logs too (when I'm trying to discover longer-term trends instead of > detailed info), but there seems no connection with whether I restrict > the scope to a file or not. > > What sounds nice to me would be a quick "toggle log mode" binding in the > log display buffer (with caching so it's fast, and smart preservation of > point position in the log, etc), or maybe even better, a "toggle > detailed info for this entry" binding, but maybe those aren't so easy to > implement in emacs... [Hmm... "*" comes to mind for some reason, though > I have no idea why...] Toggling between long and short logs for the whole log is not hard. I can implement this, the we can decide on the UI I am not convinced that "toggle detailed info for this entry" is very useful. If the detailed info is displayed in a different window, it should not be too hard either (if the underlying VCS has some easy way to retrieve such info). > As far as global vs. file logs, I think maybe I'd prefer to _always_ get > global logs in git/svn/... but with some slight hint about the file when > invoked from a file buffer -- e.g., maybe display entries not related to > the file in a "dim" face, and initially position the cursor on the first > modification to the file, etc. My reasoning is that I don't think I > really mean "show me the history of this file", when I use "C-x v l", > but rather "show me recent history of the project, given that I happen > to be in a file in that project". [Real file logs would be nice too, > when there's too much chaff, but they seem secondary, rather than > primary.] I don't want to see global history when looking at a file , the VCS does not matter. After working with source trees that are > 1GB and tens of thousands of files...