Stephen J. Turnbull
stephen at xemacs.org
Sun Dec 20 22:32:22 EST 2009
Julian Bradfield writes:
> (Just FYI, what I'm putting in is word-wrapped display of long lines,
> as done by every piece of software less than two decades old. Only a
> few lines in the C, compared with hundreds of lines of lisp in the
> various lisp modes that try to do it. Why wasn't it done a decade ago?
> Possibly because to write the few lines, I spent about three evenings
> understanding where to put them!)
Well, actually Emacsen are *text* editors, not word processors. Long
lines are in fact a pain in the ass for almost everything I do, except
word processing (and even a lot of word processing -- ie, in multi-
backend structured text modes). How does your "few lines in C" handle
reStructuredText, for example? (It's those applications that make
long-lines modes so complex, you know.) N.B. Emacs just got a real
long-lines mode with version 23, and they're still arguing about the
right defaults for it.
Please consider factoring the code so that it's easy to use the
Unicode UAX#14 line breaking algorithms in the future!
More information about the XEmacs-Beta