Linus Torvalds [off-list ref] wrote:
On Thu, 29 Sep 2005, Linus Torvalds wrote:
quoted
I put my git repo on
kernel.org:/pub/software/editors/uemacs/uemacs.git
Gaah. You guys shamed me into actually trying to clean up the sources a
bit.
I'd been trying my hand at the original version. Need to merge my changes
with yours...
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
[ Sorry about the spam, most of you probably have never cared ]
On Fri, 30 Sep 2005, Horst von Brand wrote:
I'd been trying my hand at the original version. Need to merge my changes
with yours...
Heh, now that I got into cleaning things up, I've also been actually
fixing things that have long irritated me, but the code was just too messy
for me, and my level of care wasn't high enough to overcome.
I fixed the "outputs binary data in the 128-159 range to the terminal"
yesterday (which would quite possibly corrupt terminal state if trying to
edit binary files), and today I added a "utf-8" mode.
The utf-8 mode is purely about the _terminal_ being in UTF-8. The actual
editor is still very much byte-char based, but now it understands 8-bit
input that comes in UTF8-encoded, and can output things in UTF-8 format.
(Since UTF-8 is basically always used with Unicode, and the 8-bit subset
of Unicode is iso-8859-1 aka Latin1, this is probably _less_ international
than the non-UTF8, but hey, what can I say? If you want more, you'd need
to teach uemacs about actual UTF8 contents).
The new "emacs.rc" will enable utf-8 mode automatically if $LANG contains
the substring "UTF-8", since that _usually_ means that the terminal is in
utf-8 mode. If it's wrong, you can add or delete the mode by hand (just
like any global mode: Meta-X to add, Meta-Ctrl-X to delete).
Basically, it means that you don't have to switch the whole terminal into
latin1 just to use uemacs.
Linus