From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: vc-region-history, was: Re: Is it time to drop ChangeLogs? Date: Sat, 09 Jul 2016 10:03:54 +0300 Message-ID: <83y45bgun9.fsf@gnu.org> References: <87y49vz4cg.fsf@acer.localhost.com> <87twg2g86g.fsf@lifelogs.com> <83eg76n5h5.fsf@gnu.org> <87y45eeoor.fsf@lifelogs.com> <8337nmn2pd.fsf@gnu.org> <87shvmem2c.fsf@lifelogs.com> <87oa6adz3w.fsf@lifelogs.com> <577E056B.1060705@cs.ucla.edu> <871t35egck.fsf@lifelogs.com> <577E6697.8090603@cs.ucla.edu> <87furle9tc.fsf@wanadoo.es> <8737nkdy8a.fsf@wanadoo.es> <83h9c0i4wa.fsf@gnu.org> <87lh1ccgo6.fsf@wanadoo.es> <83bn28i23s.fsf@gnu.org> <3a7fc082-8516-3da6-70e6-b6fa00631f52@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1468047892 1823 80.91.229.3 (9 Jul 2016 07:04:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2016 07:04:52 +0000 (UTC) Cc: ofv@wanadoo.es, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 09 09:04:48 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bLmJj-0004IC-E7 for ged-emacs-devel@m.gmane.org; Sat, 09 Jul 2016 09:04:47 +0200 Original-Received: from localhost ([::1]:49199 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLmJi-0000QZ-Mc for ged-emacs-devel@m.gmane.org; Sat, 09 Jul 2016 03:04:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLmJA-0000QS-T0 for emacs-devel@gnu.org; Sat, 09 Jul 2016 03:04:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLmJ7-0003V8-LU for emacs-devel@gnu.org; Sat, 09 Jul 2016 03:04:12 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLmJ7-0003Uu-Ff; Sat, 09 Jul 2016 03:04:09 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4183 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bLmJ0-00031t-8N; Sat, 09 Jul 2016 03:04:04 -0400 In-reply-to: <3a7fc082-8516-3da6-70e6-b6fa00631f52@yandex.ru> (message from Dmitry Gutov on Sat, 9 Jul 2016 02:39:01 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:205464 Archived-At: > From: Dmitry Gutov > Date: Sat, 9 Jul 2016 02:39:01 +0300 > > vc-region-history, on the other hand, gives a narrow view of each > changeset (but the full commit messages, which is understandable, but > can be confusing), and it seems basically impossible for it to correctly > follow the history of a given piece of code, as long as its complex enough. That's very far from my experience. I frequently need to investigate fragments of code which have very long histories, and "log -L" always gives me the full picture, even when the code in question changed significantly, right to the commit that first introduced the code. Perhaps the secret is in choosing the appropriate region. I normally try to submit the entire function where the code lives, and it works very well.