From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: A plea for dynamically loadable extension modules Date: Wed, 30 Jul 2003 22:13:49 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200307301313.WAA06615@etlken.m17n.org> References: <87wue0i51a.fsf@lexx.delysid.org> <871xw8i3tr.fsf@tapsellferrier.co.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1059571279 16295 80.91.224.249 (30 Jul 2003 13:21:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2003 13:21:19 +0000 (UTC) Cc: mlang@delysid.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jul 30 15:21:17 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19hqoL-0003of-00 for ; Wed, 30 Jul 2003 15:16:09 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19hqqJ-0006Dg-00 for ; Wed, 30 Jul 2003 15:18:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hqnG-0001Wa-Ey for emacs-devel@quimby.gnus.org; Wed, 30 Jul 2003 09:15:02 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19hqn6-0001Rq-TI for emacs-devel@gnu.org; Wed, 30 Jul 2003 09:14:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19hqmH-0000lO-V2 for emacs-devel@gnu.org; Wed, 30 Jul 2003 09:14:02 -0400 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hqmC-0000Xq-Sp for emacs-devel@gnu.org; Wed, 30 Jul 2003 09:13:57 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/3.7W-20010518204228) with ESMTP id h6UDDnu04941; Wed, 30 Jul 2003 22:13:49 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6/3.7W-20010823150639) with ESMTP id h6UDDn903887; Wed, 30 Jul 2003 22:13:49 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id WAA06615; Wed, 30 Jul 2003 22:13:49 +0900 (JST) Original-To: nferrier@tapsellferrier.co.uk In-reply-to: <871xw8i3tr.fsf@tapsellferrier.co.uk> (message from Nic on 30 Jul 2003 13:42:08 +0100) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15736 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15736 In article <871xw8i3tr.fsf@tapsellferrier.co.uk>, Nic writes: > Mario Lang writes: >> Is there any chance that we get the dynloading extention >> for 21.4? If not, could you please explain why? > I think rms made a statement on this subject a number of months > ago. The reason dynamic loading has not been included in emacs so far > is that there would then be the potential of breaking the terms of > the licence under which emacs is distributed. > The GPL requires all code linked to emacs to also be Free. If > dynamic linking was allowed that couldn't be gauranteed. Just a note: The latest X allows dynamic loading various objects for XLC/XOM/XIM support. For instance, see this file The content is: # CATEGORY(XLC|XIM|OM) SHARED_LIBRARY_NAME FUNCTION_NAME # # XI18N objects table for euro locales # XLC common/xlcUTF-8 _XlcUnicodeLoader # XLC_open XOM common/xomLTRTTB _XomGenericOpenOM # XOM_open XIM common/xiiimp _SwitchOpenIM # XIM_open XIM common/xiiimp _XimpLocalOpenIM # XIM_open It is possible that any commercial programs come here. So, as far as Emacs is linked with X (by regarding X library as something fundamental one as libc), it's impossible to guarantee the above condition. --- Ken'ichi HANDA handa@m17n.org