> As a thought experiment, I would like to ask, suppose we waved a magic
> wand and produced a complete (whatever that means) Python (swig?)
> wrapper for Emacs: the *real* Emacs.

One part of this idea would be to create an Emacs module in the
standard python library.  Something like:

import emacs
editor = emacs.editor()
editor.run()

All details hazy.  Presumably, there would be ways to augment or
override the emacs startup code.  And we would probably want the
following:

editor.executeElispFunction(name-of-elisp-function)

and

editor.executePythonScript(aPythonScript)

BTW, pymacs allows something like this.  It's not clear to me whether
anything 'better' than pymacs is even conceivable.

Edward

Reply via email to