Could Emacs be rewritten in Python?

Syver Enstad syver-en+usenet at online.no
Sun Apr 6 14:43:01 EDT 2003


pobrien at orbtech.com (Patrick K. O'Brien) writes:

> No, I really want something very similar to Emacs, not just
> "comparable in power."  The reason is that there is a ton of elisp
> code out there, including most of Emacs itself, that could be
> translated to work with PyAlaMode.  My goal isn't to be able to
> convert in a completely automated fashion, but close enough to be
> attractive to both an elisp programmer and a Python programmer.
> 
> That means all the Emacs primitives need to exist and be spelled the
> same (other than using underscores instead of dashes in the names),
> and the ability to register functions and bind keystrokes needs to be
> there, including support for define-key, global-set-key,
> local-set-key, and commands bound to multiple keystrokes using
> ctl-x-map and esc-map.

Maybe you could embed an elisp interpreter in PyAlaMode, that way we
could use Emacs modules, right away. 

> And if we can remove
> some Emacs warts, that would be even better.

First on my list would be multithreading and better
extension/embedding capabilities, but that would probably be rather
automatic as Python provides this out of the box.




-- 

Vennlig hilsen 

Syver Enstad




More information about the Python-list mailing list