From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samuel Bronson Newsgroups: gmane.emacs.devel Subject: Re: May your change "Factor out lists of operators specially treated by 'make-autoload'." be added to Emacs? Date: Fri, 18 Nov 2011 15:38:32 -0500 Message-ID: References: <87ty63j2n8.fsf@uwakimon.sk.tsukuba.ac.jp> <87r517iet0.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1321648723 25764 80.91.229.12 (18 Nov 2011 20:38:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Nov 2011 20:38:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 18 21:38:39 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RRVCp-0005Sp-5w for ged-emacs-devel@m.gmane.org; Fri, 18 Nov 2011 21:38:39 +0100 Original-Received: from localhost ([::1]:34192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRVCo-0006Uj-BR for ged-emacs-devel@m.gmane.org; Fri, 18 Nov 2011 15:38:38 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRVCl-0006Ue-BM for emacs-devel@gnu.org; Fri, 18 Nov 2011 15:38:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RRVCk-00025S-2J for emacs-devel@gnu.org; Fri, 18 Nov 2011 15:38:35 -0500 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:56840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RRVCj-00025M-QS for emacs-devel@gnu.org; Fri, 18 Nov 2011 15:38:34 -0500 Original-Received: by eye4 with SMTP id 4so4433856eye.0 for ; Fri, 18 Nov 2011 12:38:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=42pyXUw3DPYq66z5Q0hpetKUCyyvCyq0w3WI1SzUPzE=; b=LRg4096nkSyebGfuFjRN6HvyobZgbZ7Y+KybwIgsr4WzFOnQKWYGKgZJ4lDa/9QiW1 BX+DQL30v4EC1r7MopiqfLkCgPnkfR9S400nzu11yZcvlTfTJm0K9OCTKqneSwrbX/Mo v89841RzAddTToXKadxXjy+M1uUnyubqDKk9s= Original-Received: by 10.180.109.106 with SMTP id hr10mr6254685wib.9.1321648712298; Fri, 18 Nov 2011 12:38:32 -0800 (PST) Original-Received: by 10.180.87.104 with HTTP; Fri, 18 Nov 2011 12:38:32 -0800 (PST) In-Reply-To: <87r517iet0.fsf@uwakimon.sk.tsukuba.ac.jp> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146092 Archived-At: On Wed, Nov 16, 2011 at 10:54 PM, Stephen J. Turnbull wrote: > Samuel Bronson writes: > =C2=A0> While it's true that the patch won't quite apply cleanly, the > =C2=A0> `make-autoload' functions appear to actually have the same struct= ure > =C2=A0> (including comments). A human could easily apply it it, making th= e > =C2=A0> necessary adjustments for differences in the actual contents of t= he > =C2=A0> lists. (I guess Ben already assigned copyright to the FSF?) > > No! =C2=A0Ben hasn't assigned copyright as far as I know; you'd have to > check with the FSF copyright clerk or him, but although he's expressed > willingness to assign *all* of his code, he attached conditions that > never were satisfied. =C2=A0I suspect he would assign small parts if he > were asked. While this leaves me rather puzzled as to how the code to which I wish to apply your refactoring came to be in GNU Emacs, the important thing is that it *is* here and the refactoring *is* applicable. > My code is entirely original (as far as replacing hard-coded data with > a variable reference can be considered "original" :-), and you're more > than welcome to the docstrings (although the GNU Emacs Docstring > Police will probably have something to say about style). > > You'd have to ask a lawyer to be sure, but ISTM that there should be > no copyright problems if you insert my defvars (as permitted by GPL > and conforms to GNU Emacs policy by my assignment). =C2=A0Then adjust the > contents to GNU Emacs reality and then go figure out where to use them > for yourself (your original contribution). =C2=A0You only need an > assignment from Ben if you also copy surrounding code from XEmacs for > some reason. Again, `make-autoload' is already here, structurally the same as in XEmacs prior to the patch, so it looks like I'm good to start on this. I suppose I will have to bring my own copyright assignment papers up to date at some point, though, now that I've graduated from college. It would be nice if somebody could tell me how to do that. This all started because I kept whining in #emacs about package.el/autoload.el not supporting autoload generation for custom defun-like macros properly, after I tried to install Icicles from Marmalade. (It turns out that I already had a Debian package installed for it anyway, but that's not really the point of this: the point is that it should be possible to install such packages using package.el.) Tom Tromey had said this to say: Nov 16 12:19:37 if you fix autoload.el, the rest will follow ... and so I decided to see what I could do.