[climacs-devel] Unicode support in Climacs

Robert Strandh strandh at labri.fr
Thu Jan 12 17:13:00 UTC 2006


Troels Henriksen writes:
 > Robert Strandh <strandh at labri.fr> writes:
 > 
 > > In fact, it would be better if Climacs would systematically test for
 > > real Unicode characters as opposed to having them entered explicitly.
 > > The problem is, I am not sure how to test that.  Perhaps everything
 > > above 127 with only a Shift modifier is such a real Unicode
 > > character?
 > 
 > How does other programs handle it? One obvious, if rather crude and
 > non-scaleable, method would be to have a long file containing calls to
 > `set-key' for each relevant Unicode character. Registering *every*
 > possible Unicode character as possible input would probably be immense
 > overkill, especially since there are so many of them. I find it most
 > important to support the range of characters defined in ISO-8859-1,
 > since they are the ones most likely to be used.

I think my suggested solution is better: any character that does not
have an explicit key binding and that has no modifier other than shift
could be inserted.  That way, we will automatically handle any code
points that might come along. 

-- 
Robert Strandh

---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------



More information about the climacs-devel mailing list