From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: FFI in Emacs Date: Fri, 13 Jul 2012 12:21:43 +0900 Message-ID: <87ipds4a7s.fsf@uwakimon.sk.tsukuba.ac.jp> References: <871ukgy3ct.fsf@gnu.org> <87hatcs8pj.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1342149717 21332 80.91.229.3 (13 Jul 2012 03:21:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2012 03:21:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 13 05:21:57 2012 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 1SpWS3-0004KB-2g for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2012 05:21:55 +0200 Original-Received: from localhost ([::1]:56773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpWS2-0003HQ-4F for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2012 23:21:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpWS0-0003HL-G8 for emacs-devel@gnu.org; Thu, 12 Jul 2012 23:21:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SpWRz-0002Cr-HI for emacs-devel@gnu.org; Thu, 12 Jul 2012 23:21:52 -0400 Original-Received: from mgmt1.sk.tsukuba.ac.jp ([130.158.97.223]:41863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpWRz-0002CK-6v for emacs-devel@gnu.org; Thu, 12 Jul 2012 23:21:51 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id 02D4F3FA081D; Fri, 13 Jul 2012 12:21:44 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id B199311F06A; Fri, 13 Jul 2012 12:21:43 +0900 (JST) In-Reply-To: <87hatcs8pj.fsf@wanadoo.es> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta31) "ginger" b4715fcbe001 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.158.97.223 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:151581 Archived-At: =C3=93scar Fuentes writes: > Sam Steingold writes: >=20 > > I can load any elisp into my emacs. > > Why shouldn't I be able to interact with any shared library? >=20 > A more correct analogy is: "I can load any elisp *bytecode* in my > emacs." ... No, Sam S's analogy is as correct as it gets. The technical issues of obfuscation and maintainability of the DLL aren't relevant here. Sam B's point also is as correct as it gets: technologically, this is the same as a certain license enforcement device. In both cases, the answer to the question of "why can't I" is: *You* may, distributors *must not*. And *you* *can*, too. It's a simple matter of changing your Emacs -- but it would be considered a disservice to the community for you to distribute that Emacs. (I don't see how it would be a license violation, though FSF legal may have some reasoning to that effect.) Note that Linux does something similar for modules that use "internal" APIs. The motivation and so the specification is somewhat different (there's a command-line option to disable the check), but it's not like this isn't an OSS-useful, as well as FS-useful, feature.