From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading Date: Wed, 20 Aug 2008 18:57:24 +0200 Message-ID: References: <873al79akr.fsf@skyscraper.fehenstaub.lan> <48A5BAD7.8030302@emf.net> <48A740CB.4050404@emf.net> <20080816213508.GA8530@muc.de> <87hc9ka8eg.fsf@uwakimon.sk.tsukuba.ac.jp> <20080817073124.GA1294@muc.de> <87ljyv5gy5.fsf@uwakimon.sk.tsukuba.ac.jp> <20080818101802.GA2615@muc.de> <87bpzqqk7b.fsf@uwakimon.sk.tsukuba.ac.jp> <87tzdihsrq.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219251530 22437 80.91.229.12 (20 Aug 2008 16:58:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Aug 2008 16:58:50 +0000 (UTC) Cc: "Stephen J. Turnbull" , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 20 18:59:43 2008 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 1KVr16-0003sI-H6 for ged-emacs-devel@m.gmane.org; Wed, 20 Aug 2008 18:58:40 +0200 Original-Received: from localhost ([127.0.0.1]:38213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVr09-00029m-7d for ged-emacs-devel@m.gmane.org; Wed, 20 Aug 2008 12:57:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVr04-00029T-KL for emacs-devel@gnu.org; Wed, 20 Aug 2008 12:57:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVr00-000299-N4 for emacs-devel@gnu.org; Wed, 20 Aug 2008 12:57:35 -0400 Original-Received: from [199.232.76.173] (port=51706 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVr00-000296-Gr for emacs-devel@gnu.org; Wed, 20 Aug 2008 12:57:32 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:54059 helo=gate.verona.se) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KVr00-0005Fy-0I for emacs-devel@gnu.org; Wed, 20 Aug 2008 12:57:32 -0400 Original-Received: from chopper (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id m7KGvKxt014257; Wed, 20 Aug 2008 18:57:20 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 20 Aug 2008 12:15:57 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:102733 Archived-At: Stefan Monnier writes: >> module. APIs apparently don't count because they're not "expressive", >> there's only one way to do it.) > > IIUC the case for GMP was based on the fact that a user of the GMP API > wasn't just using the API but was necessarily using GMP (even if loaded > dynamically) because there was no other implementation (which forced > the offending company to write a substitute for GMP which implemented > the same API but with a more liberal license). > > So similarly, an Elisp package can currently only be run by linking it > with GPL'd code (given the lack of non-GPL'd Emacs), which (I thought) > is the reason why it has to be GPL'd as well. This is how I thought an Emacs dynamic load facility would be done as well. That is, Emacs would not load any old .so/.dll file, it would only load libraries confirming to a specific Emacs api. > > > Stefan > -- Joakim Verona