From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.lisp.guile.devel Subject: Re: ELisp? Date: Sat, 12 Nov 2011 16:00:11 +0100 Message-ID: References: <8384F5A2-FD71-43D0-8497-59A542D0B6A5@raeburn.org> <35C54F61-5144-4C54-808C-4A430F81D8D8@raeburn.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321173088 31427 80.91.229.12 (13 Nov 2011 08:31:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Nov 2011 08:31:28 +0000 (UTC) Cc: guile-devel@gnu.org To: Ken Raeburn Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Nov 13 09:31:24 2011 Return-path: Envelope-to: guile-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 1RPVTF-0004jF-VO for guile-devel@m.gmane.org; Sun, 13 Nov 2011 09:31:22 +0100 Original-Received: from localhost ([::1]:47306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPVTE-0001vn-Te for guile-devel@m.gmane.org; Sun, 13 Nov 2011 03:31:20 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPF4Q-0001w9-Cy for guile-devel@gnu.org; Sat, 12 Nov 2011 10:00:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPF4P-0006xT-0W for guile-devel@gnu.org; Sat, 12 Nov 2011 10:00:38 -0500 Original-Received: from mx2.bahnhof.se ([213.80.101.12]:53238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPF4O-0006u9-Po for guile-devel@gnu.org; Sat, 12 Nov 2011 10:00:36 -0500 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx2-reinject (Postfix) with ESMTP id A889CD4D1C; Sat, 12 Nov 2011 16:00:28 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF1) Original-Received: from mf1.bahnhof.se ([127.0.0.1]) by localhost (mf1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SzavLLFxFm9V; Sat, 12 Nov 2011 16:00:22 +0100 (CET) Original-Received: from exodia.localdomain (h-235-102.a149.priv.bahnhof.se [85.24.235.102]) by mf1.bahnhof.se (Postfix) with ESMTP id 64B53AEA879; Sat, 12 Nov 2011 16:00:22 +0100 (CET) Original-Received: from chopper.vpn.verona.se (unknown [192.168.201.14]) by exodia.localdomain (Postfix) with ESMTP id B744E4E00E7; Sat, 12 Nov 2011 16:00:11 +0100 (CET) In-Reply-To: <35C54F61-5144-4C54-808C-4A430F81D8D8@raeburn.org> (Ken Raeburn's message of "Fri, 11 Nov 2011 21:13:24 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-Received-From: 213.80.101.12 X-Mailman-Approved-At: Sun, 13 Nov 2011 03:31:18 -0500 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12891 Archived-At: Ken Raeburn writes: > On Nov 11, 2011, at 04:46, joakim@verona.se wrote: >> Where is your public repository? I would be interested to have a look. > > Try git://raeburn.scripts.mit.edu/guile-emacs.git. But it's about two years old. :-( > One of these days.... > >> As a concrete example, one could use guiles libffi integration to offer >> the same feature to Emacs. I could personally use it in my xwidgets >> emacs branch to call dynamically into webkit rather than having to make >> a c wrapper for each and every function. > > Hmm... this touches on a political issue I'd been avoiding thinking about. Namely, adding Guile to Emacs, with Guile's new FFI support, would make dynamically loading new executable code into Emacs easy, technically, including non-GPL code written specifically to extend Emacs. There's been a lot of resistance to that in the past. See for example http://lists.gnu.org/archive/html/emacs-devel/2003-07/msg00403.html . Yes, this seems to have been resolved if the GCC scheme for identifying GPL libraries is used. Basically GPL libraries expose a symbol declaring GPL compliance. > > On the technical side (ignoring the political/legal angles), I wonder if it would be quicker to drop FFI support into Emacs directly, using an interface based on the Guile one, and use that for now, until the Emacs+Guile work is far enough along to merge. I suspect your xwidgets code would be ready for integration much sooner than that. :-) Quicker, yes, but less interesting. I suppose I'm looking for an excuse to do this :) > Ken -- Joakim Verona