[climacs-devel] Unicode support in Climacs

Troels Henriksen athas at sigkill.dk
Wed Jan 11 20:05:32 UTC 2006


Troels Henriksen <athas at sigkill.dk> writes:

> The fix involved removing parts of the gesture (for example
> "(:dead--tilde :shift)") and replacing the (placeholder?) character
> with the true Unicode character. 

I just found another way to do it. Apparently, once the special
characters have been enabled in CLX, they can be added as keystrokes
for Climacs' `com-self-insert'-command:

(loop for code in '(230 198 248 216 229 197) do ;; The charcodes fpr æøåÆØÅ.
      (esa::set-key `(climacs-gui::com-self-insert ,clim::*numeric-argument-marker*)
                    'climacs-gui::self-insert-table
                    (list (list (code-char code)))))

gui.lisp contains a loop that loops across all ASCII characters and
register them as keystrokes to `com-self-insert', but country-specific
characters are left out. 

This approach is probably cleaner than mucking around in
unicode-commands.lisp, at least until an official solution has been
developed.

-- 
\  Troels "Athas" Henriksen
/\ sigkill.dk/blog (Danish)



More information about the climacs-devel mailing list