home *** CD-ROM | disk | FTP | other *** search
- Dave Gillespie wrote:
- >
- > Lucid threw out RMS's event and keymap model, for example. Maybe Lucid's
- > approach was better (not entirely clear; each system has plusses and
- > minusses).
-
- What do you think is better about RMS's event and keymap model, beyond
- the fact that it was there first (i.e., compatibility)?
-
- > One little thing I noticed recently is that the unread-command-char
- > variable is still supported, *as well as* an alternative that holds
- > events instead of chars. Lucid simply deleted the old variable,
- > and it was a giant pain for me to fix all the references to it in
- > Calc. I sure wish Lucid had put compatibility at a higher priority.
-
- The new event model in Lucid Emacs is a portability problem, to be sure.
- I did what I could to remain compatible with the old model (keeping
- last-command-char as the ASCII equivalent of last-command-event, for
- example.) But I could not think of a way to keep unread-command-char
- and still *make progress*.
-
- My goal was to make emacs a better editor than it was before. Perhaps you
- don't think that removing the restriction to the ASCII character set was
- worth the pain; I think it was.
-
- If you don't like the design decisions I made, please suggest better
- ones. Converting to ASCII and back loses information. If a package were
- to read and unread a character as ASCII, it could easily cause the wrong
- command to be executed. I could put this hack in, and it would mostly
- work most of the time, but it's the wrong thing. There are arguments in
- favor of improving software by adding kludge on top of kludge instead of
- stepping back and reevaluating the original decisions. I chose not to
- take that approach. Maybe you disagree. But I gave you an editor more
- than a year ago that I think was a vast improvement over what I started
- with.
-
- -- Jamie
-
-