unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* develop an emacs library
@ 2013-03-14 19:01 Ivan Kanis
  2013-03-14 19:35 ` Jambunathan K
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ivan Kanis @ 2013-03-14 19:01 UTC (permalink / raw)
  To: Emacs Development List

Hello,

It would be a good thing to have emacs as a library.

It could be used for Android development. I would compile the .so with
the NDK. Prototype my program with my desktop emacs. Then I would dump
the thing in the device. The fun part would be to have a REPL to do
iterative development.

Also if there is such a library, one could write an emacs GUI with Java
so that we could run emacs proper on Android.

Am I nut?
-- 
Thieves respect property. They merely wish the property to become
their property that they may more properly respect it.
    -- G. K. Chesterton

I am listening to "Blind Faith - Sea Of Joy".



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: develop an emacs library
  2013-03-14 19:01 develop an emacs library Ivan Kanis
@ 2013-03-14 19:35 ` Jambunathan K
  2013-03-14 20:19 ` joakim
  2013-03-14 22:30 ` Richard Stallman
  2 siblings, 0 replies; 11+ messages in thread
From: Jambunathan K @ 2013-03-14 19:35 UTC (permalink / raw)
  To: Ivan Kanis; +Cc: Emacs Development List



Ivan Kanis <banana@kanis.fr> writes:

> Hello,
>
> It would be a good thing to have emacs as a library.
>
> It could be used for Android development. I would compile the .so with
> the NDK. Prototype my program with my desktop emacs. Then I would dump
> the thing in the device. The fun part would be to have a REPL to do
> iterative development.
>
> Also if there is such a library, one could write an emacs GUI with Java
> so that we could run emacs proper on Android.

> Am I nut?

(I could be off the mark with this reply.)

I remember the mono runtime (Runtime for C# code) having similar
facility.  

See
        http://www.mono-project.com/Guide:Running_Mono_Applications

I see parallels to

1. emacs --batch

2. We can make the .elc byte code files a non-native binary.  .exe files
   are but CLI byte-code files.

3. mkbundle

   This seems like bundling the required .el(c) libraries and stripping
   all other unused libraries.
-- 



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: develop an emacs library
  2013-03-14 19:01 develop an emacs library Ivan Kanis
  2013-03-14 19:35 ` Jambunathan K
@ 2013-03-14 20:19 ` joakim
  2013-03-15  4:23   ` develop an emacs library, " Ivan Kanis
  2013-03-14 22:30 ` Richard Stallman
  2 siblings, 1 reply; 11+ messages in thread
From: joakim @ 2013-03-14 20:19 UTC (permalink / raw)
  To: Ivan Kanis; +Cc: Emacs Development List

Ivan Kanis <banana@kanis.fr> writes:

> Hello,
>
> It would be a good thing to have emacs as a library.
>
> It could be used for Android development. I would compile the .so with
> the NDK. Prototype my program with my desktop emacs. Then I would dump
> the thing in the device. The fun part would be to have a REPL to do
> iterative development.
>
> Also if there is such a library, one could write an emacs GUI with Java
> so that we could run emacs proper on Android.
>
> Am I nut?

This isnt what you were asking, but did you have a look at GNU Guile?
It is indeed a library that implements Scheme, that you can link to your
application. I have done this in some projects, but not on Android.

As a more on-topic answer, there are Android ports of emacs. I think
they more or less run in a terminal on Android. 

-- 
Joakim Verona



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: develop an emacs library
  2013-03-14 19:01 develop an emacs library Ivan Kanis
  2013-03-14 19:35 ` Jambunathan K
  2013-03-14 20:19 ` joakim
@ 2013-03-14 22:30 ` Richard Stallman
  2013-03-15 20:18   ` Ivan Kanis
  2 siblings, 1 reply; 11+ messages in thread
From: Richard Stallman @ 2013-03-14 22:30 UTC (permalink / raw)
  To: Ivan Kanis; +Cc: emacs-devel

    It would be a good thing to have emacs as a library.

This might create vulnerabilities to sneaking around the GPL,
so please don't.

If you want a REPL in a program, how about using Guile,
which is intended for that?

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: develop an emacs library, Re: develop an emacs library
  2013-03-14 20:19 ` joakim
@ 2013-03-15  4:23   ` Ivan Kanis
  2013-03-15  4:31     ` Jay Belanger
  0 siblings, 1 reply; 11+ messages in thread
From: Ivan Kanis @ 2013-03-15  4:23 UTC (permalink / raw)
  To: joakim; +Cc: Richard Stallman, Emacs Development List

March, 14 at 21:19 joakim@verona.se wrote:

> This isnt what you were asking, but did you have a look at GNU Guile?

March, 14 at 18:30 Richard wrote:

> If you want a REPL in a program, how about using Guile,
> which is intended for that?

Because I prefer to program in elisp rather than learning Guile.
-- 
The recent proliferation of Nuclear Testing.
    -- BOFH excuse #40



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: develop an emacs library, Re: develop an emacs library
  2013-03-15  4:23   ` develop an emacs library, " Ivan Kanis
@ 2013-03-15  4:31     ` Jay Belanger
  2013-03-15 20:07       ` Ivan Kanis
  0 siblings, 1 reply; 11+ messages in thread
From: Jay Belanger @ 2013-03-15  4:31 UTC (permalink / raw)
  To: Emacs Development List; +Cc: jay.p.belanger


Ivan Kanis <banana@kanis.fr> writes:
...
>> If you want a REPL in a program, how about using Guile,
>> which is intended for that?
>
> Because I prefer to program in elisp rather than learning Guile.

I thought Guile had pretty good support for elisp.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: develop an emacs library, Re: develop an emacs library
  2013-03-15  4:31     ` Jay Belanger
@ 2013-03-15 20:07       ` Ivan Kanis
  0 siblings, 0 replies; 11+ messages in thread
From: Ivan Kanis @ 2013-03-15 20:07 UTC (permalink / raw)
  To: Jay Belanger; +Cc: Emacs Development List

Le 14 Mars à 23h31, Jay Belanger a écrit :

> Ivan Kanis <banana@kanis.fr> writes:
> ...
>>> If you want a REPL in a program, how about using Guile,
>>> which is intended for that?
>>
>> Because I prefer to program in elisp rather than learning Guile.
>
> I thought Guile had pretty good support for elisp.

I don't need the VM.
-- 
L'homme le plus heureux est celui qui fait le bonheur d'un plus grand
nombre d'autres.
    -- Denis Diderot



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: develop an emacs library
  2013-03-14 22:30 ` Richard Stallman
@ 2013-03-15 20:18   ` Ivan Kanis
  2013-03-17  0:02     ` Richard Stallman
  0 siblings, 1 reply; 11+ messages in thread
From: Ivan Kanis @ 2013-03-15 20:18 UTC (permalink / raw)
  To: Richard Stallman; +Cc: emacs-devel

March, 14 at 18:30 Richard wrote:

> This might create vulnerabilities to sneaking around the GPL,
> so please don't.

I understand your concern. 

However I have worked making proprietary software (I know, I know, one
has to make a living) for many years now. For the last 15 years I have
been told not to use GPL including LGPL libraries.

Why do you think a commercial company would use a elisp library? Every
commercial programmers I know write in C++, Java or C# these days. They
are too busy to try anything else.

Should we limit ourselves (here I include myself as a hobby free
developer) in fear that a company would use it?

It is easy to shoot and idea and I feel your stance is unfair.
-- 
For every person who wants to teach there are approximately thirty who
don't want to learn - much.
    -- W.C. Sellar and R.J. Yeatman



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: develop an emacs library
  2013-03-15 20:18   ` Ivan Kanis
@ 2013-03-17  0:02     ` Richard Stallman
  2013-03-17  6:39       ` Ivan Kanis
  0 siblings, 1 reply; 11+ messages in thread
From: Richard Stallman @ 2013-03-17  0:02 UTC (permalink / raw)
  To: Ivan Kanis; +Cc: emacs-devel

    However I have worked making proprietary software (I know, I know, one
    has to make a living) for many years now. For the last 15 years I have
    been told not to use GPL including LGPL libraries.

That is true in ordinary companies, but ordinary companies
are not what I'm worried about.

    Why do you think a commercial company would use a elisp library? 

To make a nonfree extended version of Emacs, perhaps.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: develop an emacs library
  2013-03-17  0:02     ` Richard Stallman
@ 2013-03-17  6:39       ` Ivan Kanis
  2013-03-17 23:17         ` Søren Pilgård
  0 siblings, 1 reply; 11+ messages in thread
From: Ivan Kanis @ 2013-03-17  6:39 UTC (permalink / raw)
  To: Richard Stallman; +Cc: emacs-devel

March, 16 at 20:02 Richard wrote:

>     Why do you think a commercial company would use a elisp library? 
>
> To make a nonfree extended version of Emacs, perhaps.

Emacs users are a minority. At my company we are less than 5%. I think
you are worrying for things that won't happen. Anyway it was just an
idea that I don't have time to implement so you needn't worry.

Take care,
-- 
Somebody ran the operating system through a spelling checker.
    -- BOFH excuse #29



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: develop an emacs library
  2013-03-17  6:39       ` Ivan Kanis
@ 2013-03-17 23:17         ` Søren Pilgård
  0 siblings, 0 replies; 11+ messages in thread
From: Søren Pilgård @ 2013-03-17 23:17 UTC (permalink / raw)
  To: Ivan Kanis; +Cc: Richard Stallman, emacs-devel

On Sun, Mar 17, 2013 at 7:39 AM, Ivan Kanis <banana@kanis.fr> wrote:
> March, 16 at 20:02 Richard wrote:
>
>>     Why do you think a commercial company would use a elisp library?
>>
>> To make a nonfree extended version of Emacs, perhaps.
>
> Emacs users are a minority. At my company we are less than 5%. I think
> you are worrying for things that won't happen. Anyway it was just an
> idea that I don't have time to implement so you needn't worry.
>

I think the fear here is for situations like this:
Some small company sees how popular new editors like lighttable and
sublimetext is. Wanting to cash in on this easily they make a shiny
interface relying on this "emacs library" for doing the base work.

GPL ensures people don't just download the source code and do this,
but it is unclear whether providing this "emacs library" could open a
way to circumvent this.



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-03-17 23:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-14 19:01 develop an emacs library Ivan Kanis
2013-03-14 19:35 ` Jambunathan K
2013-03-14 20:19 ` joakim
2013-03-15  4:23   ` develop an emacs library, " Ivan Kanis
2013-03-15  4:31     ` Jay Belanger
2013-03-15 20:07       ` Ivan Kanis
2013-03-14 22:30 ` Richard Stallman
2013-03-15 20:18   ` Ivan Kanis
2013-03-17  0:02     ` Richard Stallman
2013-03-17  6:39       ` Ivan Kanis
2013-03-17 23:17         ` Søren Pilgård

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).