all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tfb@hurricane.OCF.Berkeley.EDU (Thomas F. Burdick)
Subject: Re: Emacs as platform for the application
Date: 19 Sep 2002 11:35:52 -0700	[thread overview]
Message-ID: <xcvlm5xsu7r.fsf@hurricane.OCF.Berkeley.EDU> (raw)
In-Reply-To: de3ad953.0209190559.566dafdc@posting.google.com

googleartist@yahoo.com (Artist) writes:

> Hi,
>  I would like to deploy emacs based application.
>  We have several users and I would like to put together the basic
> application and then add the functionalities as per need base.
>  This is what I have thought:
>  To put emacs on the server and have the users running that program
> with functions written let's say in perl accessed by keybinding.
>  Now my users are not emacs aware and I would like to suppress all the
> key binding  (except of course, something like self-insert-command)
> other than what's absolutely required plus binding which can provide
> functions written by me.

I'm not positive I understand your question, but I think I do, and
I've done this before: you want to use Emacs as a programming
environment for making a somewhat-editor-like application that's not
actually an editor, and you don't want your end users to need to know
that it's Emacs underneath.

To do this, you want to build your own Emacs; the elisp manual
contains an introduction to this.  What you have temacs, load in the
ordinary parts of elisp that your application is going to use (or all
of it, to be safe), and your application code.  When dumping the full
emacs, you can ctonrol what happens at startup.  Have startup start up
your application, and then you control all the keybindings, menu
items, etc., in the initial buffer.  If you don't bind ordinary
functions like execute-extended-command, find-file, etc., then your
users can't call them.  You get the normal Emacs event loop, the mode
line, minibuffer, and menu bar, but apart from that, you can control
things to the extent that your users don't have to have any idea
they're using Emacs[*].  If you're going to distribute this
application (internal "distribution" in an organization doesn't
count), you should look into the licensing issues, as I think it would
fall under the GPL (whereas if you just used a standard Emacs as your
environment, you could distribute your application seperately under
whatever terms you wanted).

[*] Of course, you should still credit Emacs somewhere, like an About
box that says "this application is built on GNU Emacs" -- but you can
control the application to the extent that your users won't need to
realize this.

-- 
           /|_     .-----------------------.                        
         ,'  .\  / | No to Imperialist war |                        
     ,--'    _,'   | Wage class war!       |                        
    /       /      `-----------------------'                        
   (   -.  |                               
   |     ) |                               
  (`-.  '--.)                              
   `. )----'                               

  reply	other threads:[~2002-09-19 18:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19 13:59 Emacs as platform for the application Artist
2002-09-19 18:35 ` Thomas F. Burdick [this message]
2002-09-20 14:26   ` Kai Großjohann
2002-09-21 18:34     ` Thomas F. Burdick
2002-09-20 15:34   ` Artist

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xcvlm5xsu7r.fsf@hurricane.OCF.Berkeley.EDU \
    --to=tfb@hurricane.ocf.berkeley.edu \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.