From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Best way to get hang of an elisp file? Date: Sat, 16 Nov 2013 11:06:30 -0500 Message-ID: References: <20131018185232.2084581e@aga-netbook> <87vbztohre.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384618035 18391 80.91.229.3 (16 Nov 2013 16:07:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Nov 2013 16:07:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 16 17:07:16 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1VhiOx-00034j-NP for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Nov 2013 17:07:15 +0100 Original-Received: from localhost ([::1]:36172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhiOw-0007Ck-TC for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Nov 2013 11:07:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhiOf-0007C0-Op for help-gnu-emacs@gnu.org; Sat, 16 Nov 2013 11:07:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhiOU-0001m4-TU for help-gnu-emacs@gnu.org; Sat, 16 Nov 2013 11:06:57 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:46014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhiOU-0001lm-MQ for help-gnu-emacs@gnu.org; Sat, 16 Nov 2013 11:06:46 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VhiOT-0002n8-8l for help-gnu-emacs@gnu.org; Sat, 16 Nov 2013 17:06:45 +0100 Original-Received: from 206-248-158-88.dsl.teksavvy.com ([206.248.158.88]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Nov 2013 17:06:45 +0100 Original-Received: from monnier by 206-248-158-88.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Nov 2013 17:06:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 206-248-158-88.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:NgaTCj4+IIRAtFcsGpLo1ATH/Ko= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94509 Archived-At: > I would like to compare the two elisp libraries, BBDB 2 and BBDB 3, for > copyright purposes and would appreciate any other suggestions that'll > aid a plebe such as myself in the endeavor. > How to differentiate, for instance, Jamie's work from Roland's work? That can be fairly difficult, indeed. The way I do it, usually, is to look at all the commits by authors for whom we don't have copyright papers yet. I group them by author. For all authors whose sum of commits is small enough to be considered "trivial", we don't need paperwork, so I take them out. For all remaining authors, I look at all their commits and try to track that code's subsequent life, to see if it has been removed/overwritten and figure out where it can still be found in the latest version of the code (in case it was moved, reindented, ...). In the case of BBDB, this is rather difficult because Jamie's code is fairly large, so it's a lot of work to track his code through all of Roland's changes to see what remains. So I think we'd need to use some other approach. E.g. Roland should be able to give us some important indications like "all this file is only mine", "all that file was completely rewritten". Stefan