From: David Hansen <david.hansen@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: A plea for dynamically loadable extension modules
Date: Sun, 19 Aug 2007 15:06:34 +0200 [thread overview]
Message-ID: <87mywn8yhx.fsf@localhorst.mine.nu> (raw)
In-Reply-To: e3f230850708182022l45d3b24p4627523ddaeddc1@mail.gmail.com
On Sun, 19 Aug 2007 08:52:29 +0530 dhruva wrote:
> On 8/19/07, Leo <sdl.web@gmail.com> wrote:
>> But is it OK to include this patch¹ in Emacs? It allows C DEFUN
>> functions to be placed in external libraries and dynamically loaded when
>> they were needed.
>
> I personally feel it would be an extremely nice feature to have the
> above functionality in Emacs. If the concern is to make sure such
> libraries are released under GPL, I propose the following method:
>
> 1. All dynamic libraries loaded dynamically (through explicit call to
> LoadLibrary/dlopen) must expose a function 'IsGPLed'
> 2. In main Emacs, we load it and look for that function
> (GetProcAdderess/dlsym) and execute if found. It could return a
> 'bool'.
> 3. The absence of the function or a false return can prevent loading
> that extension library
> 4. We could cover the meaning and legal bindings of having 'IsGPLed'
> somewhere in the license and it is the responsibility of the
> library/owner to make sure it is completely covered under GPL if the
> function is implemented to return 'true' and Emacs does not take any
> responsibility beyond checking for the function and it's return value
> and no more.
>
> Would this be a feasible approach?
Isn't that similar to what Linux does with kernel modules? I think what
the FSF wants to avoid is exactly the current situation with Linux and
some non free kernel modules.
David
next prev parent reply other threads:[~2007-08-19 13:06 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-30 12:16 A plea for dynamically loadable extension modules Mario Lang
2003-07-30 12:42 ` Nic
2003-07-30 13:13 ` Kenichi Handa
2003-08-01 2:20 ` Richard Stallman
2003-07-30 13:43 ` Mario Lang
2003-07-30 14:24 ` Jason Rumney
2003-07-30 14:40 ` Mario Lang
2003-07-30 15:25 ` Paul Jarc
2003-08-01 2:20 ` Richard Stallman
2003-08-01 15:44 ` Paul Jarc
2003-08-04 0:08 ` Richard Stallman
2003-07-30 19:02 ` Kevin Rodgers
2007-08-17 21:30 ` Leo
2007-08-19 0:45 ` Richard Stallman
2007-08-19 1:33 ` Leo
2007-08-19 3:22 ` dhruva
2007-08-19 7:59 ` Stephen J. Turnbull
2007-08-19 12:51 ` Thien-Thi Nguyen
2007-08-19 13:06 ` David Hansen [this message]
2007-08-19 22:30 ` Richard Stallman
2007-08-19 22:31 ` Richard Stallman
2003-07-31 4:10 ` Stephen J. Turnbull
2003-07-31 7:56 ` David Kastrup
2003-07-31 9:59 ` Stephen J. Turnbull
2003-07-31 18:57 ` Alex Schroeder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mywn8yhx.fsf@localhorst.mine.nu \
--to=david.hansen@gmx.net \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).