Could Emacs be rewritten in Python?

Ian Bicking ianb at colorstudy.com
Mon Apr 7 01:33:00 EDT 2003


On Mon, 2003-04-07 at 00:23, Carl Banks wrote:
> Third, there are a *ton* of functions in Emacs that operate on a
> certain point in a certain buffer (delete-char, kill-region, etc.).
> These kinds of functions typically get bound to keystrokes and other
> sorts of commands, which a user expects to work in the current buffer.
> If all these functions had to be passed the current buffer as an
> argument, it would just complicate things.

Maybe instead they should be methods of the buffer, and a keystroke
automatically calls a method on the current buffer.

Managing so many methods from diverse sources might be difficult.  I
want generic methods, I keep thinking of places where they'd be mighty
useful... like Mixins but better.

  Ian







More information about the Python-list mailing list