From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nicolas Martyanoff Newsgroups: gmane.emacs.devel Subject: Re: Sv: as for Calc and the math library Date: Wed, 14 Aug 2024 11:56:01 +0200 Message-ID: <87plqb77im.fsf@valhala.localdomain> References: <864j7qhup6.fsf@gnu.org> <87a5hi0yts.fsf@valhala.localdomain> <86y152ge0b.fsf@gnu.org> <875xs60wmc.fsf@valhala.localdomain> <86wmklho4m.fsf@gnu.org> <86bk1whb9v.fsf@gnu.org> <86ttfng066.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36083"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , "nicolas@n16f.net" , "emacs-devel@gnu.org" To: arthur miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 14 11:57:07 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1seAkc-0009Ak-C1 for ged-emacs-devel@m.gmane-mx.org; Wed, 14 Aug 2024 11:57:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1seAjk-0000a6-8h; Wed, 14 Aug 2024 05:56:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1seAjh-0000Zx-DU for emacs-devel@gnu.org; Wed, 14 Aug 2024 05:56:09 -0400 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1seAjc-0008Ui-SZ for emacs-devel@gnu.org; Wed, 14 Aug 2024 05:56:09 -0400 Original-Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-429d2d7be1eso4031725e9.1 for ; Wed, 14 Aug 2024 02:56:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=n16f-net.20230601.gappssmtp.com; s=20230601; t=1723629362; x=1724234162; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=hj01p0erEp4olT78zkfewGmG0G/kxWKMWwzWQZVL9B4=; b=okz5Y3iZRkNah5zqKgA707d318Stb69mtTZ2wdk/1+04lU8m89XE39b+lRQYO1HzHp 4A17aqM7EcKOrh8357at/buKc1bMS8kBDiyDdFT7G+XC/5c6Yxf6gLRuzvW7BXHW6W/I ukeu1dyeNR/2HerXELgr8425OHm0sggAtuIbgRxaEdIrJYz6f4VVV3kMWpiGU+lIeyL0 fAO0lrUBCmSimQ7asFjbFpDf8cqi5VB2T0XNjmu7Y99swbnxi2dHrZEEYs6z1N08+tlY VVXWjscNpcIOvy+CC9m/XJppKXIUEFma8BJ43R9m/G+NAacJvK6HVxRlB2aZt64Mj6mS IUTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723629362; x=1724234162; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=hj01p0erEp4olT78zkfewGmG0G/kxWKMWwzWQZVL9B4=; b=dNNibz2uEekMdAWLJHsAHE7vkQmrVidBp+wLP6YaGovUEYxNZjZQOETFLlLRt+cqKw E+7AyibgpSVAq+MGSfKlU//mCmRVthDjrK6+aCRb7J4zfKTlOqmqcFiHotYLwCOpKSY6 U3YlxZCMlOex69/YpeO/OIgKRyC/ZJvE6pkomRQwaiZJjiGYx3pg4zn6gERr8lF4v7DG XqGbAj7A4r0HhzTg5gEF/rxBnDQaEN1pd3NrbQ3woowQ56rueEm8veZn6JHWd3q6JRPJ 7AjP4FiSQ6Y34M6D0vzRMj7JYLtvcjzOfphzEZalfeKK3eNk4wtU8cnEip7+yzOc8zo7 n7Hg== X-Forwarded-Encrypted: i=1; AJvYcCV3O43DIkT4dTIvZStpjDHhRONPbnf0dciN0h51eV+54W5IjMaew19jkUAMu7NpwacHqmteLb63wyulsl4uRm0T3e00 X-Gm-Message-State: AOJu0YxwsJ/TmLG4bJEKUqJONToGy44PUM/cCwNeY3jVslpCQ7kHi90n vw0CejDtWY+ppX4KbJWr32KJ6veA6Y8Os1TugKpwQLvN0mxF6WbKBUsEgY+h/BVS4yKohUuqW0B 1Z+o= X-Google-Smtp-Source: AGHT+IF7PexwmpQBBkbr/ycxyDwDdZhEQc23rj6o5SrlI+tTcwDXZDWKOUzCdmD4qjWaIlGBxwl4jA== X-Received: by 2002:a05:600c:19c9:b0:424:a7f1:ba2 with SMTP id 5b1f17b1804b1-429d62fe113mr47078045e9.17.1723629362039; Wed, 14 Aug 2024 02:56:02 -0700 (PDT) Original-Received: from valhala (2a01cb040ef2780082125b1239177798.ipv6.abo.wanadoo.fr. [2a01:cb04:ef2:7800:8212:5b12:3917:7798]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-429ded1eb9dsm14654785e9.9.2024.08.14.02.56.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Aug 2024 02:56:01 -0700 (PDT) In-Reply-To: (arthur miller's message of "Wed, 14 Aug 2024 08:45:57 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=nicolas@n16f.net; helo=mail-wm1-x32c.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322738 Archived-At: arthur miller writes: > I suggest exactly that, as it sounds: a compliance token, as you have for modules. > > Something like: > > (defun load-library (library-name, gpl-compatible) > "Load a shared object with LIBRARY-NAME. The module has to be compatible with > GPL licence, for the deatils see https://www.gnu.org/licenses/gpl-3.0.txt, which > is asserted by GPL-COMPATIBLE been non-nil." > ( ... )) > >> have in the emacs-module machinery, then how is that different from >> what we already have? I would be fine with that, but I still do not see the point. IANAL but as far as I know, using dlopen/dlsym to call a function in another library does not create a new program, there is no notion of derived work of any kind, this has nothing to do with either the GPL or the license of the library. If this is a purely ideological issue, and it feels to me like it is, then why is it fine for Emacs to have functions to call external programs and read their output? What if these programs are proprietary? -- Nicolas Martyanoff https://n16f.net nicolas@n16f.net